Tell us what you are trying to do?
I have many posts that do not need a header, but a few that do. I think the simplest solution would be to add a custom class, like '.add-head' but I don't see anywhere I can do that for a particular post. Is that possible?
The next best thing would be to create a second content template, but from what I can tell each post type can only have one template assigned. Am I missing something?
What is the link to your site?
hidden link
Hello,
You can assign different content template to each post of same post type.
For example, edit the specific post, in the post setting panel, choose different content template, see my screenshot ct2.JPG
I think I now see what the problem is... When displaying a single view, only ONE Content Template can be assigned at a time.
What I need is to have some posts show the post title, and others to not show it.
I think the simplest solution is to add a custom CSS classes to the posts. Is this possible?
You can use [wpv-conditional] shortcode to check the post ID shortcode [wpv-post-id] value, and display different results, for example:
[wpv-conditional if="( '[wpv-post-id]' eq 12345)"]
The post ID is 12345
[/wpv-conditional]
see our documents:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-conditional
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-id