Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #322380

    Hello guys,

    This is a language school website. When you click on “curso de inglês”, the url that shows is http://www.step1.com.br/ingles/. This is perfect.

    But then, I inserted your tabs module on this page, to represent all types of English courses we offer.

    My problem is, when I click on, say “TOEFL”, the URL that shows is http://www.step1.com.br/ingles/#tab-id-6

    Instead, I’d like it to be something like http://www.step1.com.br/ingles/TOEFL.

    How can I make this change to URL?

    Many thanks!

    Miguel Kieling

    #322547

    Hey Miguel!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_theme_support('avia_template_builder_custom_tab_toogle_id');
    

    Then you’d be able to set custom identifiers for the toggles.

    Cheers!
    Josue

    #323209

    Hello Josué.

    Are you talking about functions-enfold.php

    Or

    Theme functions
    (functions.php)

    ????

    Thanks,

    Miguel Kieling

    #323210

    Hey!

    Please add the code to functions.php file, not functions-enfold.php

    Regards,
    Yigit

    #323241

    Ok, thanks.

    I inserted the code to funcions.php

    But where can I edit the URL, when using tabs?

    I’ll copy and paste the text from my original post: This is a language school website. When you click on “curso de inglês”, the url that shows is http://www.step1.com.br/ingles/. This is perfect.
    But then, I inserted your tabs module on this page, to represent all types of English courses we offer.
    My problem is, when I click on, say “TOEFL”, the URL that shows is http://www.step1.com.br/ingles/#tab-id-6
    Instead, I’d like it to be something like http://www.step1.com.br/ingles/TOEFL.
    How can I make this change to URL?

    Thanks!

    #323249

    Hey!

    Please edit your Tabs element and then click on the tab you would like to edit and scroll down and enter ID in Custom Tab ID field – http://i.imgur.com/VFVZwet.png

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.