Okay
  Public Ticket #2784498
Can I enable vc_tour?
Closed

Comments

  • iamcanadian1973 started the conversation

    I've used this for a few shortcodes, but "vc_tour" doesn't seem to work. I'm currently migrating a site from an older theme to Salient. 


    function salient_child_add_core_wpbakery_els($els) { return ['vc_btn', 'vc_single_image', 'vc_separator', 'vc_message', 'vc_empty_space', 'vc_tour'];
    }
    add_filter('salient_register_core_wpbakery_els','salient_child_add_core_wpbakery_els');


  •  8,847
    Tahir replied

    Hey iamcanadian1973 ,

    Escalating this to the Developer for further response.

    Thanks


    ThemeNectar Support Team 

  • iamcanadian1973 replied

    Thanks. 


    Can you also add "vc_tta_tabs"

  •  1,071
    ThemeNectar replied

    Hey iamcanadian1973,

    Unfortunately, there's currently no logic in place to enable that element via a child theme filter. However, here's a snippet I've written that you can add into your child theme which will map the vc_tour element to the Salient "tabs" element on the front-end for rendering: https://pastebin.com/7Cn8y0Ei

    Kind regards,