Tomas Sears Feb 15, 2016 · 4:21 pm #3071 Hi,
Sorry – Me again.
I would like to me able to customise the look of the categories landing page,
So it shows a bit about the post on the page. Like this one for example: http://www.ccs.northants.sch.uk/category/vacancies/
Because at the moment mine looks like this: http://www.kimberley-stemcollege.co.uk/staff-vacancies/
Is this possible to do using a child theme?
Thanks,
Tom
Andrew Misplon Puro Feb 15, 2016 · 4:36 pm #3073 Hey Tom
Do you know how this was done here?
Tomas Sears Feb 15, 2016 · 5:12 pm #3077 Yep, I was a previous college which designed the site, using a different theme.
I believe he just customised the PHP files for each categories page. Do you have a child theme which I could try it with?
Thanks.
Tom
Andrew Misplon Puro Feb 16, 2016 · 11:32 am #3079 Thanks for your feedback and for the wait. I was asking just in case you knew the specifics so I could provide a similar setup.
How many categories will need this? Do you want me to create a widget area for each so you have easy access to change the contents?
Tomas Sears Feb 16, 2016 · 12:37 pm #3080 Hi Andy,
Thanks for looking into this for me – its much appreciated 🙂
It would be good to have one for Vacancies and Latest News so 2 and yes a widget area would be great!
Andrew Misplon Puro Feb 16, 2016 · 10:08 pm #3083 Here is a child theme to assist with this:
https://purothemes.com/wp-content/uploads/2016/02/ultra-child-tomas-01.zip
To install go to Appearance > Themes > Add New > Upload Theme > Activate. In the child theme is a file named category-x.php. x must be replaced with the ID of the Latest News category as I couldn’t find it. To get that ID go to Posts > Categories > Latest News and check the URL, there is one number in the URL, that’s the ID.
For Vacancies, the widget area will be added to this page.
Unfortunately, activating a child theme in WordPress changes the theme slug. This causes Appearance > Menu > Menu Location settings to reset. That’s a quick resave and you’re back up and running. The time-consuming part is that it will reset Appearance > Customize. I recommend that you open Appearance > Customize > Theme Design with the parent theme activated. Then, in another tab, activate the child theme. This will let you manually copy each Theme Design setting across to the child theme.
Using a child theme really early on in your project (if you have future projects) is a way to avoid this hassle in future. I’ve been in this positon many times.
Tomas Sears Feb 19, 2016 · 5:19 pm #3100 You are a god!
Thanks for providing the child theme – works perfect
Also the widgets work perfect.
Amazing work – thanks again
Andrew Misplon Puro Feb 19, 2016 · 5:24 pm #3101 Super 🙂 Really glad to hear that helped. If anything else comes up, please, let me know.
All the best with your site.