Jump to content


Photo
- - - - -

List posts custom section


This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 annabelr

annabelr

    Advanced Member

  • Members
  • 68 posts

Posted 11 January 2011 - 02:26 PM

I'm no code specialist, the following might well be an heresy based on misunderstanding platform pro logic... I'm wondering if the template.postloop could be turned into a custom section with the ability to pass parameters such as the query_post() function parameters. And if yes, how (within "support" scope)? An another way i'm thinking of is to somehow shortcode the whole thing. Realistic? What i'm looking for is a way to include in a page a custom list of posts with thumbnails and a magazine layout (columns) as an alternative to category pages template and i can't find any plugin (supporting shortcodes) to do the job (the tricky part is styling)... Have a good day! PS : Platform Base with Platform Pro 1.2.1 on WP 3.04

#2 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts

Posted 11 January 2011 - 06:44 PM

You could query the posts using a hook and use the template setup to get everything you want around that, but my explanation must be too simple because I'm missing something? Do you need this in Addition to your main posts page thus basically having two "more-or-less" pages with posts? If so what's different between the two?

#3 annabelr

annabelr

    Advanced Member

  • Members
  • 68 posts

Posted 14 January 2011 - 10:23 AM

Hi again Adam, I think you answered me on another question (jquery, SD Lite for wordpress) which relates to this one (same page in mind : http://cohabitat.fr/v2/accueil-bis) I guess that yes it would more or less be a variation of main page, or to be more specific of the category archive page. I just want to be able to insert "things" above the post list (a SD slider, some text, an image) and generally have more control over the way category pages are displayed. I'm affraid i don't get your hook + template set up answer... Sorry ; - )

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 14 January 2011 - 06:42 PM

I think this article on the basics of hooks might be helpful to you: http://www.pagelines...d-customization. (Hooks offer a way to add/change content easily.)