Timeline for Redirect to first child on Custom Post Type (without template)
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 18, 2013 at 4:58 | comment | added | Jacob | Ok, that was me being silly. Of course it will use a template as per Template Hierarchy. I have installed the redirect code inside the single-{custom-post-type}.php file and it works a treat. Thanks for your patience :-) | |
Feb 18, 2013 at 3:44 | answer | added | Milo | timeline score: 2 | |
Feb 18, 2013 at 0:46 | comment | added | s_ha_dum |
It is not clear what you want. A template will be used no matter what. I think maybe you want the template_redirect hook but I have no idea what conditions you need to match.
|
|
Feb 18, 2013 at 0:38 | history | asked | Jacob | CC BY-SA 3.0 |