- This topic has 23 replies, 4 voices, and was last updated 5 years, 4 months ago by Tom.
December 17, 2014 at 9:46 pm #55774Pete
Hi Tom, any chance in you recommending a plugin for making a child theme? There’s a few out there but I a was hoping you might be able to review them and recommend one that works best with GPS. Cheers .December 18, 2014 at 12:50 am #55821TomLead DeveloperLead Developer
Not sure a plugin is really needed – it’s super easy to create a child theme.
Here’s some instructions: http://codex.wordpress.org/Child_Themes
Basically, you need a new folder with a style.css file, which includes the information shown in the article above.
The only thing that you need to change is the “Template” name – which should be “generatepress”.
Then you’ll see your new theme appear in the Dashboard, and you can activate it.December 18, 2014 at 5:16 am #55905Pete
Thanks. Here’s what I don’t get with child themes… I want to edit my single php so I make a new child theme with single.php copied and I edit it with my changes. You then update the GP parent theme and the single.php file. Wouldn’t I then have to update my child single.php file then to reflect your update?December 18, 2014 at 5:32 am #55912Pete
This post on the WP support forum pretty much asks what I am. You see I heavily modify most of the template files and unless there are enough Hooks I suppose I’m wasting my time with a child theme?December 18, 2014 at 9:43 am #55959TomLead DeveloperLead Developer
That’s the one down-side to child themes – if I update a file (say single.php) and you have your own single.php file, then you won’t get the updates I added.
Of course, you can always check the changelog and see if I made any changes, and if I did, apply them yourself.December 19, 2014 at 2:38 am #56136Pete
Where’s the changelog Tom?
What files would I need to update to get the updated menu?December 21, 2014 at 5:49 pm #56828Dee Broughton
There’s a changelog.txt in the gp-premium folder.December 21, 2014 at 6:31 pm #56844Pete
Any chance in publishing the change log at the WordPress repository?December 21, 2014 at 9:10 pm #56900TomLead DeveloperLead Developer
They don’t allow that kind of stuff, but you can browse the SVN and find it: https://themes.svn.wordpress.org/generatepress/1.2.4/changelog.txt
The updated menu isn’t out yet – I’ll probably be releasing that version tomorrow.December 21, 2014 at 9:12 pm #56902Pete
Where can I find out which files have been updated?December 21, 2014 at 9:13 pm #56903TomLead DeveloperLead Developer
Unfortunately you can’t through there – can just trust I added it to the changelog.
You can use a program called “DiffMerge” – it allows you to compare two folders, so you can have the old version and new version in folders on your Desktop, and then compare it with that program.
It will show you every change made to the code.December 21, 2014 at 9:15 pm #56905Pete
Do you not keep a list of files that get updated each version?December 21, 2014 at 9:18 pm #56906TomLead DeveloperLead DeveloperDecember 21, 2014 at 9:18 pm #56907Pete
Wanna? 🙂December 21, 2014 at 9:23 pm #56909Pete
Maybe run the new version past the last version with diffmerge and copy/paste the results of just which files were changed (not so much the actual code edits themselves)?
- You must be logged in to reply to this topic.