Hey,
With the free theme it’s not possible to add a shortcode to the page title unless you edit the template. the output is ran through a strip html escape for security (a requirement based on the ww.wp.xz.cn reviews teams input).
You would have to use a child theme and override the templates/page-title.php file.
Just fyi. The premium theme has a built in shortcode option for page titles.
Kadence Themes
Hi,
I was unable to find page-title.php in templates folder. Were you referring to page-header.php?
Hey,
Sorry to bother you again and again but i wanted to confirm if I am doing it right. In order to override the page-header.php file should it be placed directly inside the child theme folder or should I create a template sub-folder inside the child theme and place the modified php file there.
You need to create the templates folder in your child theme and add it there.
Kadence Themes
Hi,
Thanks a ton for your prompt support. I created copies of both page-header.php and page-title-home.php to my child theme and placed them into corresponding folders to match the parent theme. I could see how the html escape is setup in page-title-home.php file. However, any changes that I make are not being reflected on the website. Is there any code overriding it or any setting that I seem to have missed. Any help on this matter would be greatly appreciated.
Hey,
Silly question but the child theme is activated right?
Your working on a page right not a post?
If your using caching your clearing it in the plugin settings?
Kadence Themes
Hey,
You are right, the changes seem to work perfectly on our test environment. It must be one of the reasons that you’ve mentioned. I’ve double checked the child-theme and it seems to be configured correct. The page is set as a page not post. Also, I tested be disabling the cache plugin. But i am still unable to figure what’s holding the changes to get reflected.
I know this issues is no longer related to the theme but is there anything else which you can think of which might be holding the changes. I really appreciate your help with this.
hmm… I can’t think of anything else…. It’s not like a woocommerce page your trying to change is it?
Kadence Themes
Hey,
The issue was with our hosting provider. They have resolved it on their end. Thanks for being so patient with me 🙂