I am wondering if there is a way to add a shortcode to the page or post title?
I know that:
add_filter( 'the_title', myShortcode);
in my theme’s functions will replace the title, but I don’t want to replace it. I simply want to add a shortcode to it, something like this:
This Is My Page Title
- The topic ‘Add Shortcode to The Title’ is closed to new replies.