• 0
Sign in to follow this  
Followers 0

PostLoop not working for me

Question

Posted · Report post

Hello, I wanted to create an archives page so I created a blank Wordpress page and applied the Custom Page template from Pagelines. In Pagelines, I added the Postloop to the Custom Template and I made sure that Content was also added to the master Custom Template. The result is no posts. I have researched similar problems that folks have had and discussed in the forum, however, nobody has come with a concrete solution. I have cleared my browser's cache, I do not have a cache plugin. I have viewed the site in other browsers. Still nothing. Any help would be appreciated. Thanks, Mark

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

Hi Mark, The PostLoop section displays the content of the current page (meaning any text and media you added to your new page). The exceptions to this rule are the special pages for Blog, Category, Archive, Search, etc (the ones listed in Pagelines>Meta), which are programmed to pull articles for their specific purpose. To be clearer (I bet you figured these out already, but it might give some perspective as to how the PostLoop section works) in the Blog template, the PostLoop will display [b] all your posts[/b]; in the Category template, the PostLoop will display posts from the specific category you clicked on (for ex. Local News). in the Archive template, the PostLoop will pull posts published in a specific time period, for instance when you click a link like "June 2012"; in the Author template, the PostLoop it will display posts by a specific author; These templates are applied automatically, and can not be selected for pages you create. The PostLoop is acting in a specific way for each of them. So, in order to display anything else than the content you write in your page editor, you will need to create [b]a new custom loop[/b] for that page using conditionals. See more info here: http://codex.wordpress.org/Function_Reference/is_page http://codex.wordpress.org/The_Loop http://codex.wordpress.org/Conditional_Tags I apologize if I misunderstood your needs here. Could you explain in more detail what you want this Archive page to display? Do you by any chance want a Sitemap type of page like http://www.lenegammelgaard.com/sitemap/ ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Mark, I am accepting @anthalis answer, if you require further assistance, reply here and the question will re-open.

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
Sign in to follow this  
Followers 0