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

    Hi there,

    I went ahead and tried to add the code snippet here >> 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


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


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

    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..





    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



    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,


    Hi there,

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


    to the functions.php in the child theme working.

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




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

    Best regards,


    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.





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

    Best regards,

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