- March 29, 2018 at 5:16 pm #9210
I would like to modify the templates for the “tag” and “author” pages (theme defined, as far as I can tell).
I have found part of the solution here:
Appearance>Customize>Page Template Settings, but this option does not let me access the “tag” and “author” pages.
My needs are quite simple. I would like to have the excerpt displayed instead of the whole post.
Can you help?March 29, 2018 at 5:28 pm #9211
Unfortunately, only the Page Settings are available in the Page Template Settings section. So only things like the margins and the sidebar etc. Whether or not the excerpt is used is a global theme setting. This would require a child theme.
You could do this by copying
archive.phpto the child theme and then renaming it to
tag.phpand the copying it again and renaming to
From there it gets a bit more involved. The loop and content contents have to be inserted into each file and finally, the excerpt conditional modified.
Is this something you’re able to do or would you need me to put it together?March 29, 2018 at 5:57 pm #9212
I am not too keen on using a child theme. For some reason it scares me… (I come from marketing and graphic design, not IT, so bear with me…)
Until now I have been able to do what I want using CSS (SO Custom CSS) and “Code Snippets” for php.
First things first
Can you point me towards a foolproof method to install and deploy a child theme ?
I am running Ultra Premium 2.2.6March 29, 2018 at 6:03 pm #9213
No problem. I can put this together for you but you’ll still need to install and migrate settings. Here is my guide for doing that.
You’d follow that guide once I’ve created the child theme for you and sent it over. Will do that as soon as I can in the next few days.March 29, 2018 at 6:10 pm #9214
I’ll install “Customizer Export/Import” plugin.
Would this plugin be handy down the road: https://wordpress.org/plugins/child-theme-configurator/March 29, 2018 at 6:14 pm #9215
A plugin to assist with the creation of a child theme isn’t necessary. I’ll send a child theme already setup.March 31, 2018 at 12:39 pm #9221
Here is a child theme to resolve the challenge.
Hope that helps.April 3, 2018 at 1:15 pm #9237
I have installed and activated the child theme you provided. I have uploaded the Customizer settings as well (great plug-in BTW).
I see that the “content.php” template is supposed to take care of the display of tags and authors pages and show only excerpts.
Unfortunately, something is not working as tags and authors pages still show the whole content.
…April 3, 2018 at 2:14 pm #9241
Thanks for the update. The child theme assumed the main blog layout, the left thumb layout in use requires a different file to be adjusted. Try deleting the child and installing this one:April 3, 2018 at 2:17 pm #9242
The parent will also need to be updated to version
2.3when you have a moment. The update should be ready in your dashboard. Thanks 🙂April 3, 2018 at 2:23 pm #9243
Not showing yet in the dashboard… I am running 2.2.6.April 3, 2018 at 2:32 pm #9244
Thanks for trying. Please, go to
Customize > Theme Settings > Premiumand check that your order number is inserted.
If you’re working on a multi-site install, please, upgrade manually. The ZIP file link is in your original download email. I can resend if you let me know the purchasing email address.
Set as private reply below the comment box.April 3, 2018 at 2:35 pm #9245
Not quite there yet.
I have activated the new child theme, deleted the old one, uploaded the Customizer options and now the tag and author pages are showing only one blog title (even when there are more than one for that given tag or author), no excerpts, and the menus are non functional on these pages…April 3, 2018 at 2:37 pm #9246
Sorry for not being clearer about this, I realised late. The child uses the new excerpt function which is only in
The Customizer options don’t need to be inserted each time, you’ve moved them across for the child slug already so they should be there now.
Please, revert to the parent until
2.3is installed, then you can go back to the child.April 3, 2018 at 2:39 pm #9247This reply has been marked as private.
The topic ‘Modifying "Tag" and "Author" page templates’ is closed to new replies.