[Resolved] Hook locations for the not so mainstream hooks

Home Forums Support [Resolved] Hook locations for the not so mainstream hooks

Home Forums Support Hook locations for the not so mainstream hooks

  • This topic has 7 replies, 2 voices, and was last updated 6 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #553223
    Anna

    I found the hooks location demo at http://demo.generatepress.com/hook-locations/

    And in the text it links to another page with additional hooks not in the demo (as well as those in the demo).

    Where can I find a similar demo of the not so mainstream hook locations?

    By the titles, it looks like some might suit my purposes better, but I’m not sure as I’m new and don’t really know where they’re located beyond a guess.

    #553292
    Leo
    Staff
    Customer Support

    Hi there,

    The hooks demo page definitely need a bit of love.

    Some of them are hard to show visually though.

    Can you describe where you are trying to add the content so I can try to point you to the right direction?

    Let me know 🙂

    #553305
    Anna

    I’d like to hook in an affiliate disclaimer (conditional on the post being tagged with “affiliate”). I don’t want it to insert between the title and content or the excerpt will include that text, which I don’t want.
    Ideally, I’d like it further in.

    In going through the GP documentation I’ve learned I can create a custom excerpt, so it doesn’t matter as much, I guess, to not have it at the beginning.

    #553862
    Leo
    Staff
    Customer Support

    Your site is under coming soon so unfortunately I can’t see it.

    Can you unlock it and guide me to a post and specify the location?

    #555232
    Anna

    In the coming soon page, it would be like inserting after the paragraph that starts”I’m so glad you found your way here.”

    Though I’m still interested to know the answer, I’ve come up with a workaround by inserting the text as a graphic, which then won’t be included in the excerpt.

    #555327
    Leo
    Staff
    Customer Support

    Like inserting content after the first paragraph of your content?

    There isn’t a hook for that unfortunately.

    Let me know if I’m misunderstanding something.

    #555931
    Anna

    That exactly what I was hoping for. Thank you for you assistance.

    #556100
    Leo
    Staff
    Customer Support

    No problem!

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