child theme
-
hi, I am already using a child theme. How will downloading your plugin affect it? Can I still make changes in the child theme using your plugin? Thank you.
-
Hello there,
I’ve not extensively tested with child themes.
Having said that, depending on the complexity of the child theme most of the settings if not all should still work.
What I recommend to do if you are working on or developing a child theme is work locally with the plugin to see what works and what doesn’t. Once you have things figured out then all you need do is rename the plugin to make a unique plugin specific for your child theme.
For the most part on renaming is just changing the plugin name and the template name in the first function of the plugin. From there make your changes where needed and be sure to make the function prefix unique and you are good to go.
Hope that helps somehow.
Regards,
ZulfThanks. Will try.
Hi Zulf, as far as I understand, when wordpress update their theme, they will not touch the wp-content folder, where your plugin resides. So the question is all the updates that I am making using your plugin while running the child theme, where will the updates be saved? And also, if your plugin sends out any updates in the future, that should not affect the child theme as well. I am thinking is it really necessay to add the plugin in the child theme as the update will not even touch that folder. Any advice?
Yes, WordPress updates will not affect the the plugin or the child theme.
Also the parent theme and the plugin update will not affect the child theme and/or its settings.
What I had meant is if you find that certain elements of the plugin settings are not working with the child theme due to new functions and/or CSS rules then you might want to modify the plugin to suite your needs. In that case it will be best to rename the plugin so that you don’t loose your mods when I push out an update for the same.
The alternative is to simply extract the code in to your child theme and work on it from there.
Hope that makes sense.
Zulf
Hi wpuser555,
I’m using a child theme of Fourteen win on Fourteen Extended. All work perfectly. I’m only try to switch to parent theme if case of issues to be sure this issues come form my child theme or Fourteen Extended plugin.
This mixing of then nice native WP theme, Fourteen Extended plugin and my child them give me a nice pro look (it’s my personal opinion π
I am curious, I have a child theme named after my site.
Site Name: Mountaineer Athletics
Address: http://www.mountaineer.us
I have a secondary theme folder of the twentyfourteen theme which I named ‘Mountaineer’, changed the styles file to mirror that name under templates.To make this Plugin functional (as it currently only shows up if I activate the original 2014 theme) I am assuming that I will have to replace any template reference in your plugin to mirror that off my child theme name?
Just edit this section?
// Only run if theme or parent theme is Twenty Fourteen. if ( get_template() != 'twentyfourteen' ) { return; }Thank you.
Yes that would be correct.
Also remember to rename the plugin so that when I push new updates it doesn’t overwrite your changes.
thanks everyone here. I am still in the stage of testing between child and parent. The issues are, when running the child theme with your extended features, the site looks absolutely fine in preview. But it performs differently in different browsers:
1) Chrome: fine although the changes only reflect may be 5 minutes later, not immediately.
2) IE: excerpt did not work. Homepage blog post still showing full length while in Chrome, it works fine.
3) Firefox: total nightmare. Background colour covered across the whole screen. Left sidebar at the bottom. All the default font was gone etc.Still trying to find out how I may fix it. Child theme is so frustrating. This is sthe first time I use it. If anyone can shed some light, I would really appreciate it.
Thank you.
Hi wpuser555,
I have try my blog with Chrome, Safari and Firefox. I saw no issue with my child theme.
I don’t have access to a Windows computer, so I can’t try IE. If you can test it, I will appreciate :For your issue, are you use an caching plugin ?
@wpuser555 could you share your child theme so that I can test on my servers?
If yes then please go to: http://wpdefault.com/file-share/ and follow the instructions there.
Thanks,
ZulfP.S. What version of IE are you testing on? Lucas’ site looks fine with excerpts working in the latest version of IE.
Thanks Zulfikar for testing my site in IE π
Hi, I have disabled child theme today and have just reactivated it. From preview, it looks absolutely fine. It’s not displaying correctly on browsers. Here’s the link: http://www.foodieinfo.com. I appreciate your assistance, Zulfikar. Thanks.
P.S. lucas4 running no problem on my IE
@wpuser555 I think your issue might well be to do with the minify cache plugin you have active.
Try running the site without it and see if that helps.
WOW, Zulfikar, you are my saviour. Brilliant. It’s fixed within seconds I disabled CSS Minify cache! Will it affect other areas of my site now it’s disabled?
Many thanks.
Awesome.
No it should not have any adverse effect at all.
The topic ‘child theme’ is closed to new replies.