• Resolved turbodb

    (@turbodb)


    Hi Ben,

    Period Pro user (though, I must admit, my subscription has lapsed). I’d like to add some content just below the post title.

    Before I start looking through the theme templates, I was wondering if there is a hook for that section that I can use in my own site plugin to add a bit of content?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Good question.

    I just looked through the template files and there isn’t a hook available in that exact location. Instead, you can copy the content.php file into a child theme, and that will make it easy to include your custom content below the title.

    If you want this content to show below the title on the main posts page and category archives too, you can make the same edit in a copy of the content-archive.php file.

    Thread Starter turbodb

    (@turbodb)

    Yep, thanks! That’s exactly what I’ve done. Actually, I copied both content.php and then used the same method it uses for content-byline.php to add my content, just to keep everything clean.

    Still loving the theme, looks fantastic and has been great as I’ve modified it for my uses, thanks again!

    Theme Author Ben Sibley

    (@bensibley)

    Awesome, glad to hear that!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hook for post title’ is closed to new replies.