Timeline for How to select a template for a custom post type?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2012 at 11:22 | comment | added | Stephen Harris |
If you create single-members.php it will use that, if not it will use single.php . In the unlikely case that doesn't exist either it will use index.php .
|
|
Apr 4, 2012 at 11:16 | vote | accept | Rob | ||
Apr 4, 2012 at 11:16 | comment | added | Rob | Thanks, flushing the permalinks (I always forget to do that!!) worked. So if I create a template called single-members.php that should work? It's now showing a template just not sure what one! | |
Apr 4, 2012 at 10:27 | history | answered | Stephen Harris | CC BY-SA 3.0 |