Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29148

    Hello. I added the following line below for using the friendly URL tab name. It seems to work fine. However, whenever I create a link to the tab name URL, the page is not displaying correctly. I’m using the left aligned tabs, but when using the link, the tabs are not appearing on the page. This seem to work fine before adding in the new feature below.

    add_theme_support(‘avia_template_builder_custom_tab_toogle_id’);

    1. I only have the site local for now, but please let me know the correct syntax for creating the tab link. I’m using the post name for my URL’s and not Page ID.

    2. Please consider adding this feature into the TAB admin screen. I have to re-load this code every time I update the theme. Thanks!

    #139841

    Hi joe88,

    The syntax is no spaces or special characters. Just like any other anchor in html.

    If you don’t want to lose code in your functions.php file you should either use a child theme or update manually and skip the functions.php file unless the version.txt says it was updated.

    Regards,

    Devin

    #139842

    Hi Devin. That does not appear to work. For example, if I select a tab, I get the following URL, http://www.company.com/practices/#practice-area

    If I use that URL in a footer widget link without the # sign, the screen shows page not found. If I include the # sign, the URL works, but the tab structure is gone. Hope this makes sense. Before the friendly URL tab name, using #tab-id seem to work fine. Thanks.

    #139843

    Not sure why it’s not working in your case. The hash value should not link to other pages at all (it makes no difference if it’s #practice-area or #tab-id). Try to deactivate all plugins (maybe it’s a plugin conflict) and if this doesn’t help try to contact you hoster – maybe you need to change the server or htaccess configuration somehow. In addition your url structure seems to be wrong. http://www.company.com/practices/#practice-area will not work because the / at the end tells the server it’s a (sub)page. The correct url would look like: http://www.company.com/practices#practice-area

    #139844

    Thanks Dude. Problem solved. I used your URL and dropped the / between page and tab name (http://www.company.com/practices#practice-area). Regards, Joe

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

The topic ‘Friendly URL Tab Link’ is closed to new replies.