-
AuthorPosts
-
February 2, 2026 at 7:56 pm #1494599
Hi Mike,
I’m glad you were able to access the WP dashboard.
But what do you mean by “Theme Editor and Plugins” are disabled?
Maybe it’s because the store is under the main Akhurst network (in a multisite environment)?About the code …
I understand what you said about the snippet running before the template theme. Ok.
But should I change it directly in the theme’s functions.php file or tweak the code itself using the WPCode plugin?
I did some research and found that you can “hooks”. Does it make sense?I never place any code without using the WPCode plugin, because I’m always afraid of messing with the theme’s functions.php file.
Do I just need to paste this “hook” wrapping your code??
https://snipboard.io/qKb8y6.jpg
https://snipboard.io/eCM7KQ.jpgI did what Ismael asked me to in the beginning, but it’s not working ;(
Quick CSS + PHP snippet (using the hook with WP Code.
https://shop-ca.akhurst.com/product/onc60123mc/Mike,
You can totally do whatever you need to do on your end to make this happen.
I’m not an expert and super scared of doing something wrong that will break the website.Thank you so much!
LeoFebruary 2, 2026 at 11:05 pm #1494604Hi,
The code running in the WPCode plugin is running too late, please add it to the child theme functions.php file, it should work correctly then. Since the code is meant to run at “init” = “(add_action(‘init’,’ava534345953_init’, 50);”
which is before the theme and plugins, it now running in a plugin after the theme will not work. I see no other solution.
This solution works on my localhost, your site or login is limited and I can not test there, so you will need to test.Best regards,
MikeFebruary 3, 2026 at 2:04 am #1494607Ok, I get it.
But now I’m trying to do what you said, and I don’t have the “Theme File Editor” option under the Appearance tab to place the code.
https://snipboard.io/Vkg2Bq.jpgShould I do this under the Enfold Menu?
https://snipboard.io/8lwAm0.jpgWhat should I do? I’m soooo sorry, but I totally lost it at the moment ;(
Cheers, Leo
-
AuthorPosts
- You must be logged in to reply to this topic.
