-
AuthorPosts
-
July 30, 2016 at 11:11 pm #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 8 years, 4 months ago by ENBertussi.
July 30, 2016 at 11:17 pm #666907Hey 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..//
July 31, 2016 at 10:59 am #666979does 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 bracketAugust 4, 2016 at 1:56 pm #668570Hi,
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,
YigitAugust 20, 2016 at 10:07 pm #675101Hi 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..//
August 21, 2016 at 9:37 pm #675435Hi,
It was a single quote issue. I fixed it. Please review your website now
Best regards,
YigitAugust 22, 2016 at 8:16 pm #676009thanks 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..//
August 22, 2016 at 8:47 pm #676023 -
AuthorPosts
- The topic ‘custom tab/toggle ids’ is closed to new replies.