[Resolved] Is there a hook after page's featured image?

Home Forums Support [Resolved] Is there a hook after page's featured image?

Home Forums Support Is there a hook after page's featured image?

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #525571
    Henrik

    Aah, ok. My featured images is below the headline and I tried to show it up below the featured image.

    #525653
    Paul

    Ok try opening content-single.php in your generatepress theme folder.

    There you’ll find the hook names such as the above ‘generate_before_entry_title’ that I used.

    You can then replace the hook name in my code above, and try the hooks one by one until you find the right one that inserts the content in the position you want. That’s how I did it.

    #526415
    Henrik

    Hi Paul,

    Thanks for the hint. ‘generate_after_entry_header’ did it 🙂

    #1527401
    impro1

    You can add a new “element” called Disclaimer as a hook and set the hook as “generate_after_entry_header” and set priority as 11.
    Now in the Display rules, set Location to Post.
    See SS below:

    View post on imgur.com

    below featured image the Disclaimer text will show. You can use CSS to style it.

Viewing 4 posts - 16 through 19 (of 19 total)
  • The topic ‘Is there a hook after page's featured image?’ is closed to new replies.