Okay
  Public Ticket #3121557
Tabbed data ( inside Text blocks) nested inside Toggle panels no longer functioning post update
Closed

Comments

  •  16
    Jen started the conversation

    Our site has many ages whereby we have set up toggles and inside have text blocks with tabbed content.

    Since the major update these tabbed contents are no longer showing  ie

    https://soilsforlife.org.au/media-kit/


  •  16
    Jen replied

    I am talking about the ability to nest nectar shortcodes for toggles/tabs inside salient Toggles. We have been using this approach for some time but now the tabs/toggles are no longer displayingg


  •  8,839
    Tahir replied

    Hey Again,

    Be sure to install/activate the Salient Shortcodes Plugin and check.

    Thanks


    ThemeNectar Support Team 

  •  16
    Jen replied

    It IS installed.


    I uninstalled it and reinstalled it.. but its not working

    https://soilsforlife.org.au/media-kit/



  •  8,839
    Tahir replied

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.

    Thanks 


    ThemeNectar Support Team 

  •   Jen replied privately
  •  8,839
    Tahir replied

    Thanks for the login credentials. The Developer will be responding shortly.

    Best 


    ThemeNectar Support Team 

  •  1,070
    ThemeNectar replied

    Hey Jen,

    The Tabbed Section element regular expression was updated a little while ago to expect that each tab title should have the "style" attribute declared on it. I've corrected the page https://soilsforlife.org.au/media-kit/ to include that so that the element can render:

    8029197410.png

    Kind regards,

  •  16
    Jen replied

    Thankyou.. We have a lot of these in the site... and I will now need to track them all down. Do you ahve a way I can globally fix this?


  •  1,070
    ThemeNectar replied

    Hey Jen, 

    Globally altering this would require overriding the "tabbed_section" page builder template via a child theme to alter the regular expression. You can use the method described in the docs here to override the template https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/

    Once you have the tabbed_section file in your child, the following line:

    // Extract tab titles
    preg_match_all( '/tab [^]]+title="([^\"]+)"(\sid\=\"([^\"]+)\"){0,1}/i', $content, $matches, PREG_OFFSET_CAPTURE );
    

    Would need to be changed to:

    // Extract tab titles
    preg_match_all( '/tab[^]]+title="([^\"]+)"(\sid\=\"([^\"]+)\"){0,1}/i', $content, $matches, PREG_OFFSET_CAPTURE );
    

    Kind regards

  •  16
    Jen replied

    the issue wasn't with the tabbed section in the bakery page builder but with the nectar shortcode tabs within a text panel nested inside a tabbed section


  •  1,070
    ThemeNectar replied

    Hey Jen,

    When you have the page builder active, that template file is still used to render the tabbed_section shortcode.