Okay
  Public Ticket #707090
Using shortcodes in Page Header Subtitle
Closed

Comments

  • Mathias started the conversation

    Hi,

    I was just wondering if there is any way to get shortcodes to work in the page header subtitle section. 

    On the homepage, we would like to include two buttons below the Title text. At the moment the shortcode text is just displaying, but we would like something similar to the attached screenshot.

    Is there a KES hook that can be turned off?


    Thanks,

    Mathias

  •  8,992
    Tahir replied

    Hey ,

    Sorry for the Weekend Delay.  You will have to edit the functions.php and parse the subtitle through the do_shortcode function as can be seen here : http://prntscr.com/ai0ei6

    Also you will have to use Single Quotes in the Shortcode when entering it to the Subtitle Field as Double Quotes Symbol cant be parsed by WP . 

    Best. 


    ThemeNectar Support Team