カスタムポストタイプは「is_xxxxx」がないので、
if ('books' == get_post_type()) { ・ ・ }
にする。
参考:conditional content – If is custom post type – WordPress Answers
参考:Conditional Tags « WordPress Codex
カスタムポストタイプは「is_xxxxx」がないので、
if ('books' == get_post_type()) { ・ ・ }
にする。
参考:conditional content – If is custom post type – WordPress Answers
参考:Conditional Tags « WordPress Codex
日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)
助かりました。ありがとう。