Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #666905

    Hi there,

    I went ahead and tried to add the code snippet here >> http://kriesi.at/documentation/enfold/custom-tab-and-toggle-ids-for-prettier-url-hashes/ to my child theme functions.php file but it is not working..

    this is what I pasted to the very bottom of the child theme functions.php file

    “add_theme_support(‘avia_template_builder_custom_tab_toogle_id’);”

    It is not working for me, is there something I might be missing? is this no longer valid?

    ENB..//

    • This topic was modified 7 years, 7 months ago by ENBertussi.
    #666907

    Hey there,

    I went ahead and added it to the parent theme functions.php and it worked..

    I don’t understand why it would not work by adding it to the child theme functions.php..

    yikes..

    :(

    ENB..//

    #666979

    does any other rule in your functions.php of your child-theme work?

    maybe there is some closing instruction of the rules before missing.

    add_filter or add_theme_support each ends with a “;”
    a function does not! – so here is an example:

    add_filter('avf_logo_alt', 'avf_change_logo_alt');
    function avf_change_logo_alt($alt) {
    	 $alt = "New Alternate Text Here";
    	 return $alt;			
    }

    (btw. this is the method you can change the alt text of your Logo)

    so you see add_filter with semicolon
    function not after the bracket

    #668570

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #675101

    Hi there,

    see below for credentials and permission is always here for disabling plugins albeit I have not seen that disabling fixes adding

    add_theme_support(‘avia_template_builder_custom_tab_toogle_id’);

    to the functions.php in the child theme working.

    It does seem other child theme functions are indeed working albeit.

    ENB..//

    #675435

    Hi,

    It was a single quote issue. I fixed it. Please review your website now

    Best regards,
    Yigit

    #676009

    thanks yigit it’s 100% now.

    sorry I didn’t realise I had the syntax incorrect..

    is it better to comment out using the /* comment here */ or the // method?

    I noticed that both seem to get used and when I was checking my functions.php today on braandcorsetsupplies I noticed I have used both too.

    does it matter? thanks again.

    :)

    ENB..//

    #676023

    Hey!

    No, it does not matter. I personally use // :)
    Let us know if you have any other questions or issues

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘custom tab/toggle ids’ is closed to new replies.