How to create a child theme?
-
Hello,
I′m doing some test with this theme, but i can’t make the child theme works nice.
Can i have help with a child theme?
Regards,
Carlos Silva
The page I need help with: [log in to see the link]
-
To be more specific, i managed to create a child theme and it’s working fine
but when i add a functions.php with this code (as given in a previous post on this topic) :
<?php function fse_child_styles() { wp_enqueue_style( 'fse-child-style', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'fse_child_styles' );
then i have the following error message :
Error: This theme failed to load properly and was paused within the admin backend.
any idea ?
thanks
Hi @deepblue5,
Thanks for your suggestion. I will surely convey your feedback to our concerned developers. We are always keen to listen to our customers and to receive their feedback. This is the best way to improve our products and services and maintain our client’s satisfaction. ??
Regarding the issue that you are facing, can you please add complete path of the css file in the code and if it is still not working, I would suggest you to create a ticket with the support team.
Have a nice day!
Hello, just a simple consideration. I wonder what the Spectra One team is waiting for to release a downloadable child theme for its FSE.
To edit certain PHP functions or JavaScript codes, or other specific customizations, a child theme is still the best practice.
At this rate developers will be forced to change theme and prefer other products, so when will you release an original child theme?
-
This reply was modified 1 year, 2 months ago by
ste_yeu.
Hi @ste_yeu,
I am afraid we don’t have any time estimation. Meanwhile, I would suggest you to use any third party plugin that is compatible with the block based themes to create a child theme.
Have a nice day!
Hello @mohsinbsf,
thank you for your reply.
I generated a clean and complete child theme for Spectra One and it works great, it even has the functions.php file in it.
I can send it to you or the development team, so you can make it available to your users for download. ??
Let me know how I can provide it to you, please.
Cheers
@ste_yeu, well done!
Bonus points for pushing this along to the point that might be a conclusion for many of us that have been quietly watching this saga get stretched out for a ridiculous amount of time.
I know i for one would really appreciate an attachment[email protected]
Sure @fleety88,
you can download Spectra One Child from here. ??
It works fine.
Edit: if the download doesn’t work, this is the url, it’s one of my domains, it’s a secure link: https://workupweb.it/download/spectra-one-child.zip
Fantastic, many thanks for that!
@ste_yeu Great job!
Many thanksHi @ste_yeu,
Thanks for offering. I have requested the dev team. They will create own child theme and showcase on the store for the users in future.
Have a nice day!
Hi, can someone please point me in the right direction?
I followed the child theme steps on this spectra blog post.
“Before generating the child theme, customize your site according to your preferences using the Spectra One theme. This includes setting up the layout, colors, typography, and other design elements.“
So, on a new installation of Spectra One – I built out a site to my liking.
Next, I open Create Block Theme and “Create child of Spectra One” > Generate
Next, I upload child-theme zip file into themes, click install and get this error:
“Destination folder already exists /…/themes/spectra-one/”
“You are uploading an older version of the active theme. You can continue to install the older version, but be sure to?back up your database and files?first.”?
What’s more odd is that the child theme shows an older version, and older WP & PHP version than the parent theme? How’s that possible if I created a child theme from the parent?
If I click “Replace active with uploaded” ; the site becomes a mess and is missing all the styling I made on the parent theme.
I have created other child themes with spectra and it never gave this issue. Anyone know what is causing this and how to solve it?
Thanks
Hi @bamboogie,
Sorry for the inconvenience caused to you.
Please ensure that you are using the different name for the child theme. This type of error shows when you use the same name for the child theme.
Please try and let me know how it goes.
Have a nice day!
Hi @mohsinbsf
I tried a different name and it comes up with the same error.
Also i’m not sure why on the error message that the child theme is shown as an older next to – version, required wordpress version, and required php version?
Hi @bamboogie,
Sorry for the inconvenience caused to you.
I request you open a support ticket from here:https://wpspectra.com/support/ so that our support dev can help better.
Have a nice day!
-
This reply was modified 1 year, 2 months ago by
- The topic ‘How to create a child theme?’ is closed to new replies.