get_the_ID()12
get_post() ->ID12
get_post( get_the_ID() ) ->ID12
global $post ->ID12
global $wpdb WHERE ID=get_the_ID()12
WP_Query 'p'=>get_the_ID()12
is_home()false
is_front_page()false
is_page()false
is_single()true
is_archive()false
is_category()false
is_singular()true
is_admin()false
is_preview()false
is_user_logged_in()false

add_filter「the_title($post_id)」投稿ID=12
add_filter「the_title($post_title)」前
サブドメインにワードプレスをインストールしてみました。
add_filter「the_title($post_title)」後

add_filter「the_content($content)」前

pulogu.net のサブドメインにワードプレスをインストールしてみました。ワードプレスのカスタマイズテストに使用しています。

サブドメインにインストールしたワードプレスの画面です。
ワードプレスの add_filter 関数で投稿タイトルと本文にフィルターを適用しています。

add_filter「the_content($content)」後

投稿日

カテゴリー:

投稿者:

タグ: