Timeline for Custom Post Type Pagination & duplicate posts
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 28, 2014 at 0:16 | comment | added | mrwweb |
Make sure that front-page.php isn't the more appropriate template for this case. It seems like you're using a "Static Front Page" model rather than a News-y page. If that's the case, front-page.php is the right template to use in conjunction with Front Page settings in Settings > Reading.
|
|
Oct 20, 2012 at 6:06 | history | tweeted | twitter.com/#!/StackWordPress/status/259536145325641729 | ||
Oct 20, 2012 at 1:12 | comment | added | Fabien Quatravaux | your $do_not_duplicate variable is not global so it cannot be shared through different php files. You create it in feature.php and then use it in home.php. The issue is the same for pagination : you are using the global $wp_query instead of the one you create in home.php | |
Oct 19, 2012 at 20:31 | comment | added | kaiser | Pleas don't use pastebins. They can get lost. Always reduce it to the necessary part of your question and add this code directly in it. | |
Oct 19, 2012 at 20:30 | history | edited | kaiser | CC BY-SA 3.0 |
added 1559 characters in body
|
Oct 19, 2012 at 20:08 | answer | added | Mridul Aggarwal | timeline score: 1 | |
Oct 19, 2012 at 18:47 | review | First posts | |||
Oct 19, 2012 at 19:03 | |||||
Oct 19, 2012 at 18:43 | comment | added | Eamon | - featured.php: pastebin.com/2X8xTPTY | |
Oct 19, 2012 at 18:43 | history | asked | Eamon | CC BY-SA 3.0 |