Check if the_subtitle is empty
-
We are using your very handy plugin to enable us to use more detailed titles in place of the_title() – so I’m hoping you can help me out.
It’s probably a stupid question, but nothing I’ve tried has worked.
How can I tell my template to use the_subtitle if there is one, and default to the_title if the_subtitle is empty?
So far everything I’ve tried has just displayed the_subtitle and the_title together (when both are present) instead of hiding the_title.
Hope you can help!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Check if the_subtitle is empty’ is closed to new replies.