Jump to content


Photo
* * * * * 1 votes

Standard WP not working in Pagelines

custom post types post loop wp filters

  • Please log in to reply
3 replies to this topic

#1 signpost

signpost

    Newbie

  • Members
  • 3 posts
  • LocationBrisbane, Australia
  • Country: Country Flag

Posted 03 March 2013 - 11:07 AM

I need to add a custom post type to all post queries (blog, tags, category, search, etc).  In wordpress it is achieved by:

Please Login or Register to see this Hidden Content

 

 

For some reason pagelines ignores this change (which is currently working in existing theme), so I implemented a new section like the example above but the pagination does not work.

 

How can I get pagelines not to ignore the above code or use a pagelines hook to fix the problem?  Help needed.

 

Thank you,

 

Simon



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 15680 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 03 March 2013 - 12:06 PM

Hi Simon,

 

PHP isn't really my forte at this moment in time, so I will speak to one of our developers who I'm sure knows the answer. As it is the weekend, the reply may not be until tomorrow, I apologise for any inconvenience this may cause.



#3 signpost

signpost

    Newbie

  • Members
  • 3 posts
  • LocationBrisbane, Australia
  • Country: Country Flag

Posted 03 March 2013 - 01:05 PM

It loads the correct posts for category and tag pages, but on the blog with a static home page it does not load them.  The pagination does not work on any of these pages.

 

Thanks

 

Simon



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 15680 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 03 March 2013 - 01:16 PM

This may resolve your issue.

 

Please Login or Register to see this Hidden Content







Also tagged with one or more of these keywords: custom post types, post loop, wp filters