-
AuthorPosts
-
September 20, 2014 at 3:20 pm #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
September 21, 2014 at 3:32 am #322547Hey 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!
JosueSeptember 22, 2014 at 6:42 pm #323209Hello Josué.
Are you talking about functions-enfold.php
Or
Theme functions
(functions.php)????
Thanks,
Miguel Kieling
September 22, 2014 at 6:52 pm #323210Hey!
Please add the code to functions.php file, not functions-enfold.php
Regards,
YigitSeptember 22, 2014 at 7:42 pm #323241Ok, 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!
September 22, 2014 at 7:49 pm #323249Hey!
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,
YigitSeptember 23, 2014 at 3:53 am #323438Great. Thanks.
After I followed your advice, it worked. Only, the URL, in case of our TOEFL course is now: http://www.step1.com.br/ingles/#TOEFL
How can I have this address without the “#”?
It’s like it to be http://www.step1.com.br/ingles/TOEFL
Many thanks!!,
Miguel Kieling
September 23, 2014 at 4:43 am #323460Hey Miguel!
No, that’s not possible unfortunately.
Cheers!
JosueSeptember 23, 2014 at 5:27 am #323477Thank you Josué! You’ve been great help!
-
AuthorPosts
- The topic ‘URL change’ is closed to new replies.