Okay
  Public Ticket #1046971
Shortcode in off canvas nav
Closed

Comments

  •  2
    Sebastian started the conversation

    Hi There,

    I'm trying to use third party plugin's shortcodes in either bottom text box or the description box of a menu item. Is there any reason why this wouldn't work? Is there a way to enable it to work?

    I have tried in the Theme's functions file:

    add_filter( 'nav_desc', 'do_shortcode' ); 

    add_filter( 'sidewidgetarea', 'do_shortcode' );

    add_filter( 'bottom-text', 'do_shortcode' );

    but still nothing. Any ideas?

    Also is it possible to add a widget to the off canvas menu?

    Basically what I'm trying to do is add a shortcode which displays whether users are logged in or not. The short code is from the plugin Font End only users. Any help would be great.

    Thanks,

    Seb

  •  2
    Sebastian replied

    Ignore the part about widgets.... seems i was a total retard.

    I would still like to know about shortcodes though :)

  •  8,459
    Tahir replied

    Hey Again,

    For the Shortcodes to work you will likely have to edit the php template files like header.php . We dont have an such hooks available for the Filters to work in the Theme . 

    Be.st 


    ThemeNectar Support Team