• Resolved maybenot

    (@maybenot)


    Hi,

    Is it possible to create custom fields above the Featured Image on blog posts? I want to create ads space between the excerpt and the featured image.

    I tried to insert ads “After Excerpt” but then it appears on Related Posts and Category/Archive Pages too.

    Is there a way to add just one ads space between the excerpt and the featured image on blog posts?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @maybenot,

    You can use the chaplin_entry_header_end action hook in content.php to add output beneath the article header (with the excerpt). You’ll need to hook a function to that action hook in a child theme, and use a conditional to only output your custom content in the right context. if ( is_singular( 'post' ) ) {} should do the trick if you only want it output when a single post is shown.

    — Anders

    Thread Starter maybenot

    (@maybenot)

    Awesome – thank you very much! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Custom Fields’ is closed to new replies.