[Resolved] How do I add featured post on marketer theme?

Home Forums Support [Resolved] How do I add featured post on marketer theme?

Home Forums Support How do I add featured post on marketer theme?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1271076
    Ümit Yaşar

    Hello,
    I want to add featured posts on marketer theme just like on dispatch theme. How do I do that?
    Thanks

    #1271159
    Leo
    Staff
    Customer Support
    #1271912
    Ümit Yaşar

    Hi,
    Thanks for the respond however I don’t want to show hero image, I just want to add 4 featured image as on dispatch theme.

    #1272433
    Leo
    Staff
    Customer Support

    You don’t have to use a hero image with a header element.

    Dispatch is just using the header element to insert the WPSP shortcode:
    https://gpsites.co/dispatch/page-and-post-heroes/

    #1272879
    Ümit Yaşar

    Thanks again, ok i could do it to some extent but when I add css, there is a problem. Could you have a look at please? I get css code from dispatch

    #1273465
    David
    Staff
    Customer Support

    Hi there,

    can you disable any cache plugins you’re using so i can take a look ?

    #1273471
    Ümit Yaşar

    Hi,
    Thanks again. I disabled the cache plugin.

    #1273927
    David
    Staff
    Customer Support

    OK – so Dispatch requires more then CSS to work. You will need to create 2 x new Hook Elements:

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

    1. Hook#1 add this content:

    <div class="wpsp-content-wrap">
    <!-- Openeing wrapper -->

    Hook: Custom Hook
    Custom Hook Name: wpsp_before_header
    Priority: 15
    Display Rules: Entire Site

    NOTE When you add the above content the editor may automatically add a closing </div> – if it does you must delete that.

    2. Hook# 2 add this content:

    <!-- Close WPSP Wrapper -->
    </div>

    Hook: Custom Hook
    Custom Hook Name: wpsp_after_content
    Priority: 15
    Display Rules: Entire Site

    #1274141
    Ümit Yaşar

    Thank you man, it s ok now.

    #1274977
    David
    Staff
    Customer Support

    Glad to hear that

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