Jump to content


Photo
- - - - -

What does the postloop do?


  • Please log in to reply
3 replies to this topic

#1 sgendry

sgendry

    Advanced Member

  • Members
  • 79 posts
  • Country: Country Flag

Posted 04 January 2012 - 06:20 AM

Newby question: what exactly does the postloop do in pagelines framework 2.0? Where can I read more about that? Thanks!
  • lingbaer51 likes this

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 04 January 2012 - 11:24 AM

The loop or postloop displays your posts. Read more about it here: http://codex.wordpress.org/The_Loop

#3 tfreitas

tfreitas

    Newbie

  • Validating

  • 1 posts
  • Country: Country Flag

Posted 27 September 2013 - 04:10 PM

Is there a quick way to only show posts from a certain category or with a certain tag?



#4 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 27 September 2013 - 09:44 PM

Hi there, to show posts from a certain category you'll be best of creating a category page or using a plugin.

 

To create a category page go to your wp-admin area and navigate to appearance>menus. In the create new menu options you'll see the option to add a category in one of the left hand menus. This link which is added will create a dynamically created page of posts relating to that category.

 

Otherwise, if you want to insert a set group of posts relating to a category in an already existing page, use something like special recent posts- http://wordpress.org...l-recent-posts/ or anyloop http://nickhaskins.co/product/anyloop/ which will allow you to add the posts in an specific area via a shortcode within the post/page.