Timeline for How can I get this request to use the Custom Post Type page template instead?
Current License: CC BY-SA 3.0
10 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/
|
|
Aug 3, 2011 at 16:38 | history | edited | marfarma | CC BY-SA 3.0 |
added 8 characters in body
|
Aug 3, 2011 at 16:37 | comment | added | marfarma | and changed include() call to get_template_part, per @robertwbradford recommend | |
Aug 3, 2011 at 16:32 | comment | added | marfarma | fixed cars to car | |
Aug 3, 2011 at 16:32 | history | edited | marfarma | CC BY-SA 3.0 |
also changed code to use get_template_part rather than include
|
Aug 3, 2011 at 15:50 | vote | accept | robertwbradford | ||
Aug 3, 2011 at 15:50 | comment | added | robertwbradford | Also, the 'cars' should be 'car' in your example above :) | |
Aug 3, 2011 at 15:48 | comment | added | robertwbradford | This looks like it will work for my situation. I would also recommend using get_template_part('archive-car'); instead of the include() call. Thank you! | |
Aug 2, 2011 at 21:43 | history | edited | marfarma | CC BY-SA 3.0 |
corrected code, clarified alternative
|
Aug 2, 2011 at 21:32 | history | answered | marfarma | CC BY-SA 3.0 |