Custom Hook for Single post

Community Forums Forums Design Tips and Tricks Custom Hook for Single post

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Sridhar Katakam 2 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #22140


    I have content that I want to insert within each single post under the title. Before I had the Genesis framework I would have edited the single post.php file. I do not want this content to show on the main index page under each title, only when you are viewing a single post. I am using the luscious theme if that helps at all. Thanks.


    Sridhar Katakam

    1) Install and activate Genesis Simple Hooks plugin.

    2) Paste the following in “genesis_after_post_title” Hook:

    <?php if(is_single()) { ?>
    Put your HTML here
    <?php } ?>

    Tick “Execute PHP on this hook?”

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.