[Resolved] Author box after content and before YARPP

Home Forums Support [Resolved] Author box after content and before YARPP

Home Forums Support Author box after content and before YARPP

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1543902
    Nacho

    Hello,

    I want to show the author after the content just like in the website you can see in the Private info but I´ve related posts and I want to show it before the related posts plugin YARPP.

    Thanks a lot for the help.

    #1544031
    David
    Staff
    Customer Support

    Hi there,

    YARPP provides the option to display its content using a shortcode.
    In it its options you can disable the Automatically Display.

    Then create a new Hook Element:

    https://docs.generatepress.com/article/hooks-element-overview/

    Add their Shortcode to the hook content:

    [yarpp]

    select the Hook: generate_after_entry_content
    set the Priority to: 9
    Check the Execute Shortcodes
    Set Display Rules to Posts > All Posts ( or wherever it is you need it displayed ).

    This will move the YARPP content before the posts footer meta.

    #1544485
    Nacho

    Hello David,

    Cool :), that worked.

    Now how can I move the author box to below the post?

    Thanks a lot.

    #1544587
    David
    Staff
    Customer Support

    To put after YARRPP use the same hook and increase the Priority – eg. 15

    #1550094
    Nacho

    Hello David,

    Thanks a lot for your help man.

    Have a nice day.

    #1550121
    David
    Staff
    Customer Support

    You’re welcome

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