Home › Forums › Support › Add Page Title in Page Header › Reply To: Add Page Title in Page Header
November 17, 2016 at 1:04 pm
#245321
Tom
Lead Developer
Lead Developer
You could create a shortcode which will output the page title:
add_shortcode( 'page_title','tu_page_title_shortcode' );
function tu_page_title_shortcode()
{
return get_the_title();
}
Then you could use it as:
[page_title]