Custom Post Loop Content using the default template
Posted 19 October 2012 - 05:39 AM
What I have done so far is to make a plugin that inserts the list in any post based on a shortcode [myspecialposts]. And then I do a sql query to fetch the posts. But how do I display each post using the default themplate?
This is my code:
Basically I want to use the get_article() function in the PageLinesPosts class. Is that possible?
Posted 19 October 2012 - 08:53 AM
I think the best course of action would be to create a custom loop section based on the Postloop section and add your criteria to the code.
Posted 21 October 2012 - 06:27 AM
Would it be possible to insert that code after my code? Like this:
Or exactly what are you suggesting?
Posted 21 October 2012 - 09:51 AM