• Resolved gpuser23

    (@gpuser23)


    Using GeneratePress theme for the first time. Love the speed of the website

    I am able to create most of things that I want to create but I am struggling with how Queryloop behaves.

    In the Home tab, I have used Queryloop but for some reason the title appeared on the top of the image (This is what I wanted) but in substitute tab it goes below the image.

    In the HOME tab I used the Queryloop with the first option of just text and blog excerpts but it started showing featured image ( That is what I wanted anyway) so I continued working with it. I added Excerpts in the blog post and it came in correct format. Only challenge with HOME tab is that It doesn’t apply the setting of pagination that come with Queryloop , those buttons don’t appear and also the big challenge is I restricted the category of blog but still it shows all the blogs.

    On the “Substitute” tab I used the queryloop with the image and blog option but this has totally different problem that I already address. Blog title comes below the image and excerpts come as unformatted. I want to show Excerpts exactly like first few line of actual blog, nicely formatted. Now suddenly I am able to use the pagination buttons and also able to restrict the category of the blog post, but I lost all the look of HOME tab.

    Basically I want the look of the HOME tab in Substitute on to make HOME tab choose the blog post by Category ( By the way in the settings I already selected category but on HOME tab it doesn’t reflect)

    Hopefully my problem is clear and folks in the forum point out the basic thing I might be missing

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gpuser23

    (@gpuser23)

    I realized that I didn’t choose static page in the wordpress settings -> Reading . I then discovered the plugin ( WP SHOW POST) That puts the home page in the same excerpt format as a snippet of the actual blog. But I would still like to understand how to enforce that in Query Loop. I like the query loop pagination buttons but it messes up the excerpt format

    Hello @gpuser23,

    To clarify, are you looking to use the Query Loop on Blog and Archive pages?

    If so, you would need GeneratePress Premium’s Loop Template: https://docs.generatepress.com/article/block-element-loop-template/

    Thread Starter gpuser23

    (@gpuser23)

    Thanks Fernando

    i used the queryloop that comes with the free version of generateblocks

    on the ‘Substitute’ tab you can see the blogs listed. I just wanted to format the excerpt so that it looks like what I got the HOME tab.

    do i need premium version for this formatting?

    That’s the default behavior of WordPress. It strips the HTML for excerpts. Thus, resulting in no line breaks.

    In your Query Loop, can try adding a core Post Excerpt block and see if that works?

    An alternative would be to replace the Home Tab loop with a GB Query Loop Block as well to make them look the same.

    The Premium version doesn’t offer this level of formatting.

    Thread Starter gpuser23

    (@gpuser23)

    Hi Fernando,

    You suggestion of -> In your Query Loop, can try adding a core Post Excerpt block and see if that works? -> Might work but I don’t know how do that. If you have any suggestion, great.

    Alternatively, I almost made the Home post look the way I want, only thing pending is hiding the page number in pagination on home screen.

    I just wanted to make it look like two buttons (Previous ) and (Next) , just the page number shows up in between. If that is done then also it will be fine.

    Thanks for your help.

    Thread Starter gpuser23

    (@gpuser23)

    No worries, I got it addressed with this Css

    .wpsp-load-more .page-numbers:not(:is(.next,.prev)) {
    display: none;
    }

    I see. Glad you resolved it!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘QueryLoop Display Issues with 2 different results’ is closed to new replies.