detect custom post type page
-
I have a custom post type of ‘brand’, and I’m using the ‘Post name’ permalink structure.
In a template, how would I check what the current brand being displayed is?
So for example, the URL is https://www.mydomain.com/brand/apple/ – how can I can I add content to the template which only relates to apple?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘detect custom post type page’ is closed to new replies.