Jump to content

Archived

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

dario

PowerLoop Confusion

Recommended Posts

dario

I'm wondering what PowerLoop is meant to display. Is it supposed to work like a configurable WP Content/Loop section?

 

Here's what I'm doing:

I've created a CPT and can display its posts either singly or grouped in an archive set of pages. This works as expected.

 

Using the WP Content/Loop section, on an archive page, I can display a specific number of the CPT posts (as controlled by the Setting > Reading > Blog pages show at most . . .).

 

That CPT has 20 posts.

 

Adding a Post/Page Pagination section then allows me to click through to the next page(s) of archived posts.

 

And so on.

Again, this works as expected.

 

However, when I try to do this with the PowerLoop section, all is not well.

Pagination, via the Post/Page Pagination section, seems broken.

The displayed number of posts is controlled by the Total Posts Loaded setting in the PowerLoop editor. The default is 5, so I leave it at that.

When I click the Post/Page Pagination Previous Entries button, the URL goes to proper archive (page/2/) and the title shows Archive page 2 of 3. But the posts displayed are the exact same ones that show on page 1. Page 2 of 3 also shows me the Next Entries button which, when clicked, brings me back to page 1 (with the same 5 posts I see on all PowerLoop archive pages).

 

If I change the Total Posts Loaded to 20, I get the 20 posts to show, all on one page.

So, how does one control the number of posts displayed AND have the ability to see actual archives?

 

FWIW, this also happens on normal blog posts.

 

This is local dev so I cannot provide access.

Share this post


Link to post
Share on other sites
Danny

Hi Dario,

 

When using PowerLoop on an archive page i.e. archive, category, tag etc... you will need to enable the Use Default Queried Object option. This should resolves your issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
dario

That's just too simple!

Thanks Danny. It worked great.

 

I owe you many beers.

When I'm next in the UK . . .

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • stijnxo
      By stijnxo+
      I am using the Powerloop plug-in on my DMS website and can sort my elements by Postdate, but I want to sort the pages in Alphabetic order.
      Actually the same question for sorting Flipper content in Alphabetic order instead of Ascending / Descending / Random options.
    • frakture
      By frakture
      Hi there, 
      I'm looking to use the Powerloop option to display my blog posts on our homepage – however, I only want the title (in a smaller font size) and the Read More button to display. Is there a way to do this? We had achieved it on a previous version, but I'm not figuring it out now (and don't know if standard settings have changed since then). Our homepage is www.frakture.com . Forgive me if there is a super simple solution! ;-) 
      Thanks in advance!
      Dawn
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      Is it possible, and if so, how, to change the layout of the archive pages? For example, I would like to use a smaller and more compact image size for featured images and shorten the amount of text that's displayed for each post without also changing how featured images are displayed on single post pages.
      I am talking about https://michaelkummer.com/apple/ vs How to extend the storage of your iPhone or iPad.
      Thanks
      Michael
       
    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
×