[Support request] Before title Hook

Home Forums Support [Support request] Before title Hook

Home Forums Support Before title Hook

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #279617
    Farhan

    Is there any possibility for adding hook for before title?

    #279686
    Leo
    Staff
    Customer Support

    Hi Farhan,

    What are you trying to add before title?

    This user is requesting slightly different things but you might be able to use the same method in Before Header Content hook:
    https://generatepress.com/forums/topic/using-2-fonts-in-the-header-text/#post-276185

    Let me know.

    #279747
    Tom
    Lead Developer
    Lead Developer

    The site title or content title?

    #279769
    Farhan

    Before Entry Title like After Entry Title

    I’ve done it via another way but having this hook would make it easier.

    #279772
    Leo
    Staff
    Customer Support

    What about the Before Content hook? That’s not what you wanted?
    http://demo.generatepress.com/hook-locations/

    Let us know.

    #279777
    Farhan

    That works but would have preferred to have the content within the post header 🙂

    Thanks for that link! Makes it easier to understand!!

    #279942
    Tom
    Lead Developer
    Lead Developer

    The reason the before title hook doesn’t exist is because of the before content hook – it would be in the same area.

    Are you needing hooks inside the .entry-header element?

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