Timeline for Displaying Multiple Post types in Taxonomy
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 17, 2013 at 6:58 | comment | added | Richard Ascough | Can you please explain where to enter the code above? | |
Feb 17, 2013 at 5:13 | comment | added | Richard Ascough | thanks that is now working, I forgot to add "guides" as a post type above. Seems to be displaying in order now. Now just need to change headers, or even templates based on post type | |
Feb 17, 2013 at 5:03 | history | edited | chrisguitarguy | CC BY-SA 3.0 |
added 410 characters in body
|
Feb 17, 2013 at 5:01 | comment | added | chrisguitarguy |
If the "post types" you posted above are not the post type keys (eg. the first argument of register_post_type then it will not work as expected. Replace "Deals" with "whatever_you_register_the_deals_post_type_as". Same for the rest. I'll add an edit with check for header changes.
|
|
Feb 17, 2013 at 4:38 | comment | added | Richard Ascough | I have used the bottom example in my functions.php file and it seemed to change the order, not sure what order though. It seems to be attraction then article, then attraction again. Also how would i "check when the post type changes, and display whatever header you like" | |
Feb 17, 2013 at 3:37 | history | edited | chrisguitarguy | CC BY-SA 3.0 |
Address the group by requirement.
|
Feb 17, 2013 at 3:03 | history | answered | chrisguitarguy | CC BY-SA 3.0 |