Title: Shortcode on page title
Last modified: August 24, 2016

---

# Shortcode on page title

 *  Resolved [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/)
 * Hi,
 * I want to add a shortcode to my page title. However when I do so it displaces
   the code. Can you please guide me on what would be the best way to integrate 
   it.
 * Here’s the URL to my website [http://activitydeck.com/](http://activitydeck.com/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161337)
 * 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 wordpress.org 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
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161383)
 * Hi,
 * I was unable to find page-title.php in templates folder. Were you referring to
   page-header.php?
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161411)
 * sorry, yes 🙂
 * Kadence Themes
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161424)
 * 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.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161425)
 * You need to create the templates folder in your child theme and add it there.
 * Kadence Themes
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161429)
 * 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.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161459)
 * 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
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161469)
 * 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.
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161475)
 * hmm… I can’t think of anything else…. It’s not like a woocommerce page your trying
   to change is it?
 * Kadence Themes
 *  Thread Starter [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * (@ankitseth)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161491)
 * Hey,
 * The issue was with our hosting provider. They have resolved it on their end. 
   Thanks for being so patient with me 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Shortcode on page title’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/pinnacle/1.8.10/screenshot.png)
 * Pinnacle
 * [Support Threads](https://wordpress.org/support/theme/pinnacle/)
 * [Active Topics](https://wordpress.org/support/theme/pinnacle/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/pinnacle/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/pinnacle/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 10 replies
 * 2 participants
 * Last reply from: [ankitseth](https://wordpress.org/support/users/ankitseth/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/shortcode-on-page-title/#post-6161491)
 * Status: resolved