- This topic has 7 replies, 2 voices, and was last updated 8 years, 7 months ago by Andrew Misplon.
- AuthorPosts
- February 15, 2016 at 4:21 pm #3071
Tomas SearsParticipantHi,
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,
TomFebruary 15, 2016 at 4:36 pm #3073
Andrew MisplonKeymasterHey Tom
Do you know how this was done here?
February 15, 2016 at 5:12 pm #3077
Tomas SearsParticipantYep, 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.
TomFebruary 16, 2016 at 11:32 am #3079
Andrew MisplonKeymasterThanks 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?
February 16, 2016 at 12:37 pm #3080
Tomas SearsParticipantHi 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!
February 16, 2016 at 10:08 pm #3083
Andrew MisplonKeymasterHere 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 namedcategory-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 resetAppearance > Customize
. I recommend that you openAppearance > 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.
February 19, 2016 at 5:19 pm #3100
Tomas SearsParticipantYou are a god!
Thanks for providing the child theme – works perfectAlso the widgets work perfect.
Amazing work – thanks again
February 19, 2016 at 5:24 pm #3101
Andrew MisplonKeymasterSuper 🙂 Really glad to hear that helped. If anything else comes up, please, let me know.
All the best with your site.
- AuthorPosts
You must be logged in to reply to this topic.