jfcyr Mar 29, 2018 · 5:16 pm #9210 Hello
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?
Andrew Misplon Puro Mar 29, 2018 · 5:28 pm #9211 Hi 🙂
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.
https://developer.wordpress.org/themes/basics/template-hierarchy/#tag
https://developer.wordpress.org/themes/basics/template-hierarchy/#author-display
You could do this by copying archive.php to the child theme and then renaming it to tag.php and the copying it again and renaming to author.php.
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?
jfcyr Mar 29, 2018 · 5:57 pm #9212 Hello
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.6
Andrew Misplon Puro Mar 29, 2018 · 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.
Customizer Settings Export/Import
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.
jfcyr Mar 29, 2018 · 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/
Andrew Misplon Puro Mar 29, 2018 · 6:14 pm #9215 Thanks.
A plugin to assist with the creation of a child theme isn’t necessary. I’ll send a child theme already setup.
Andrew Misplon Puro Mar 31, 2018 · 12:39 pm #9221
jfcyr Apr 3, 2018 · 1:15 pm #9237 Hello
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.
See here:
http://reflexphotonics.com/tag/lightspace/
…
Andrew Misplon Puro Apr 3, 2018 · 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:
https://purothemes.com/wp-content/uploads/2018/04/ultra-child-tag-author-excerpt-2.zip
Andrew Misplon Puro Apr 3, 2018 · 2:17 pm #9242 The parent will also need to be updated to version 2.3 when you have a moment. The update should be ready in your dashboard. Thanks 🙂
jfcyr Apr 3, 2018 · 2:23 pm #9243 Not showing yet in the dashboard… I am running 2.2.6.
Andrew Misplon Puro Apr 3, 2018 · 2:32 pm #9244 Thanks for trying. Please, go to Customize > Theme Settings > Premium and 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.
jfcyr Apr 3, 2018 · 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…
Andrew Misplon Puro Apr 3, 2018 · 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 2.3.
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.3 is installed, then you can go back to the child.
jfcyr Apr 3, 2018 · 2:39 pm #9247 This reply has been marked as private.
Andrew Misplon Puro Apr 3, 2018 · 2:39 pm #9248 This reply has been marked as private.