Jump to content
BlueSkyCreative

Loops section Pagination not working

Recommended Posts

BlueSkyCreative

Hi there, 

I am working on switching a clients site into PL5 and have added the Loops section to the home page, I have added some demo posts and the pagination doesn't seem to work. It just keeps coming back to the home page...

any ideas? site is at https://homedecoart.com any setting Im missing? 

cheers

Paul

Share this post


Link to post
Share on other sites
Simon

Must be the way you have the page setup.

With the limited info given I was not able to create the issue.

I added 20 new posts..

Added loops to blog roll page. it shows pagination, page 2 goes to page 2.

Added loops to a standard page, same result.

Share this post


Link to post
Share on other sites
Audun MB

How I use it:

On my frontpage I want to show a subset of posts from a category. (Masonic would be better for this, but currently it doesn't support filtering.) 

If I limit the number of posts, loops add pagination, but this acts crazy. Current behaviour:

- goes to page/2/ which doesn't show anything except a "0". 

- does work, but pagination is replaced by "New posts ->" (only).

- reloads page without working. 

Yup, I had all three. The first was only when PL5s Page editor was active. 

Share this post


Link to post
Share on other sites
Simon

The issue is that you are on an archive page and the query is already set... 

We cant overide the query on an archive page.

Ive made a fix that uses the default posts per page setting in WP main settings and loops will use that setting if it is added to an archive page.

There may be a way round it but this works for now.

Share this post


Link to post
Share on other sites
Audun MB
5 hours ago, Simon said:

The issue is that you are on an archive page and the query is already set... 

We cant overide the query on an archive page.

Ive made a fix that uses the default posts per page setting in WP main settings and loops will use that setting if it is added to an archive page.

There may be a way round it but this works for now.

No, front page is static.

Share this post


Link to post
Share on other sites
Simon

if the front page is a static page, theres no reason for it not to work, ive just tried it myself.

If you have a wierd setup, open a ticket, provide a login so i can see what you are doing.

Share this post


Link to post
Share on other sites
BlueSkyCreative

Hi Simon

On www.homedecoart.com on the front page which is static I have the loops set see screenshot

I have not messed with any of the settings appart from the setup...it shows pagination links but they go back to main page not the second page with the other posts on...

These are new posts so not archived that I know of? they are new to this design/site

If you need a login I can send one...?

cheers

Paul

 

screen1.jpg

Edited by BlueSkyCreative
forgot screen shot (see edit history)

Share this post


Link to post
Share on other sites
JudithKlinger

Pagination not working correctly for me either. Is there a way to just remove the pagination? 

Share this post


Link to post
Share on other sites
Andrew

@JudithKlingerthats easy with simple css, i'll have a look at improving this 

Share this post


Link to post
Share on other sites
JudithKlinger

Great...thanks! 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • 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
×