Timeline for Custom post type, permalinks & pagination, going wrong
Current License: CC BY-SA 2.5
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:37 | history | edited | CommunityBot | replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/ | |
| Jan 3, 2011 at 12:26 | comment | added | kevin | Yeah i learned that by reading lots of things about it. | |
| Jan 3, 2011 at 12:26 | vote | accept | kevin | ||
| Dec 30, 2010 at 20:39 | comment | added | John P Bloch | Big time flag here: NEVER run flush_rewrite_rules() like you say you are. flush_rewrite_rules() is an extremely expensive process that shouldn't be done any more than is necessary. If you need to flush the rules just visit WP-Admin -> Settings -> Permalinks. It'll flush the rewrite rules for you. Doing this once is all that's necessary until you do something that changes the rules again (e.g. registering more taxonomies or CPTs). | |
| Dec 30, 2010 at 20:28 | answer | added | eileencodes | timeline score: 3 | |
| Dec 30, 2010 at 20:28 | comment | added | eileencodes | Glad I could help, I'm moving my comment to answers so you can mark the question as answered :) | |
| Dec 30, 2010 at 19:41 | comment | added | kevin | Dude you're the man! Yeah i had a cpt 'fotolog' and a page named 'fotolog'! Big thanks. | |
| Dec 30, 2010 at 18:19 | comment | added | eileencodes | What's your query for getting the posts? It could be that you don't have paged set in your query like so: query_posts('post_type=fotolog' . '&paged=' . get_query_var('paged')); ...Also, make sure you don't have a page and a post type with the same permalink like /fotolog and /fotolog/your-post-name-here | |
| Dec 30, 2010 at 17:15 | history | asked | kevin | CC BY-SA 2.5 |