Jump to content

Archived

This topic is now archived and is closed to further replies.

Barnaby Skinner

Loops not displaying correct filter after page refresh

Recommended Posts

Barnaby Skinner

Hey all,

So I setup loops inside a container to display all posts, reload the page and it 'defaults' back to showing a single box with the name of the page!?

Interestingly, as I set it up and select POSTS, it does pull in all posts, it's only when I refresh the page that it defaults back.

Must say I really need this for a client site, I've recorded the issue and dropped a video on my Vimeo account, just FYI...

 

Share this post


Link to post
Share on other sites
Barnaby Skinner

UPDATE - I found one page where Loops works almost as expected! On the blog page...

So I went into WP settings > Reading, set Home and Blog pages to static (as I usually do), then navigated to the blog page, loaded a Loops section, and it works even after refreshing the page!

http://www.abigailnicol.graphics/about-abby/

Maybe this might shed some light on what's going on in the background?

My plan is to use Loops on all parent pages to display a filtered selection of Posts...

Edit - actually it doesn't work exactly, whilst it does show the correct filtered content, clicking on a link in the Loops section will not display the post content, it just 'Loops' and shows a small box with 'read more', and continues to loop every time you press the link. I think this might be the way I've set it up, so I dropped a Magazine section above Loops (in the same container), and now when I click on a Loops link it reloads the page and displays the correct info in the Magazine section if that makes sense?

Share this post


Link to post
Share on other sites
Barnaby Skinner

Ooooookay.

So I ticked the 'Use default query object? ' in Loops, saved the page, then unticked it and saved, and now it appears to be working!!

Bug?

Share this post


Link to post
Share on other sites
MrFent

confirmed. I had the exact same issue, came across this post, tried the "Use default query object" fix (thank you!) and it started working correctly.

Share this post


Link to post
Share on other sites
Simon

Yea, posted an update, there was an issue with that checkbox logic

Share this post


Link to post
Share on other sites

  • Similar Content

    • petere21
      By petere21
      After activate new web site
      I had several licences for use but system show me that I have no licence 
    • petere21
      By petere21
      When i see wp content,i have no margin from left and right side means bordee on tablet view
      mobile margin around wpcontent is fine dtp also ok it looks like spread enough  on tablet - ipad - there is no margin and text from left side and widgets from tight side content sticking border of monitor how could i fix margin for example 5px for tablet view? But without changing the mobile margin 
      Sample https://www.restartnisa.sk/poloniny-po-zemplinsky/
      thanks 
      petere
    • petere21
      By petere21
      Does pagelines support AMP technology for mobiles?
       
    • petere21
      By petere21
      How to control spaces between images ?
      I can control section  padding from left and right side but not between  images.
      Could someone help me?
    • petere21
      By petere21
      After changing protocol http to https I have lost all count information next to the icon in the Sharebar extension. All counts is set to zero. Is there any chance to give number of sharing take back? 
      thanks
×