[Support request] Hook after content

Home Forums Support [Support request] Hook after content

Home Forums Support Hook after content

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #758940
    Paul

    Hi,

    Trying to insert a hook just after my post content but am unable to get it above the bottom nav, social share and author box.

    I know I can add the social icons as a shortcode and set priorities but how do I move it above the perevious and next navigation?

    Have added URL if you scroll to bottom you will see a light blue call out box, this is currently inserted using a plugin, I would like to replace this with a hook.

    Thanks

    #759202
    David
    Staff
    Customer Support

    Hi there,

    in the Hook, try reducing the priority to 1 this should move it above the post nav.

    #759838
    Paul

    Hi David – I changed the priority to 1 and it is still below the nav. Just to add I am using the after_content hook

    #759892
    Paul

    OK I had a dig around and found that I needed to create a custom hook generate_after_entry_content in order to target the right area. Not sure why this one is not listed in the defaults?

    Anyway it all works now. Thanks for the help.

    #759973
    David
    Staff
    Customer Support

    Glad to hear you got that resolved.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.