the loop in pagelines framework
#1
Posted 12 December 2011 - 10:42 AM
#2
Posted 12 December 2011 - 11:18 AM
Change the code like this:
#3
Posted 12 December 2011 - 12:12 PM
#4
Posted 12 December 2011 - 12:12 PM
#5
Posted 12 December 2011 - 12:19 PM
@sanderpinkse Yes you could! You would need to duplicate the folder several times, and make sure to rename each one, to kkep track of them, and make sure you change each classname, then they will all load, i didnt have to change the classname in my example as we just wanted to overide the main loop section, but if you rename the class you could have as many as you want!
You have to change the clss name in both places, and dont forget to give it a new name at the top of the file.
#6
Posted 12 December 2011 - 12:51 PM
#7
Posted 12 December 2011 - 02:21 PM
The postloop folder in the child theme replaces the default postloop section, even if I rename the section. If I duplicate the postloop folder and rename it, Pagelines loses track of the copy. Or am I missing something?
#8
Posted 12 December 2011 - 02:41 PM
#9
Posted 12 December 2011 - 03:29 PM
I made two new post loops. The Pagelines Template Setup now shows three loops:

The only problem is that the third loop shows exactly the same content as the second loop, even though they are different. If I change the order of the second and third loop, the content changes to that of the loop that comes first, but still gets repeated.
The main thing is that it is working. I doubt I even need more than two loops. Thanks for the help!
#10
Posted 12 December 2011 - 03:40 PM
#11
Posted 12 December 2011 - 03:48 PM
#12
Posted 12 December 2011 - 05:06 PM
#13
Posted 13 December 2011 - 03:14 AM
#14
Posted 13 December 2011 - 10:26 AM
#15
Posted 15 December 2011 - 03:33 AM
#16
Posted 15 December 2011 - 02:12 PM
#17
Posted 15 December 2011 - 07:37 PM
#18
Posted 02 March 2013 - 11:50 PM
I need to add a custom post type to all post queries (blog, tags, category, search, etc). In wordpress it is achieved by:
For some reason pagelines ignores this change, 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
#19
Posted 03 March 2013 - 08:53 AM
Hi Simon,
Can you please create a new topic.












