Categories Landing Page

  • Author
    Posts
  • #3071

    Tomas Sears
    Participant

    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

    #3073

    Andrew Misplon
    Keymaster

    Hey Tom

    Do you know how this was done here?

    #3077

    Tomas Sears
    Participant

    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

    #3079

    Andrew Misplon
    Keymaster

    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?

    #3080

    Tomas Sears
    Participant

    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!

    #3083

    Andrew Misplon
    Keymaster

    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.

    #3100

    Tomas Sears
    Participant

    You are a god!
    Thanks for providing the child theme – works perfect

    Also the widgets work perfect.

    Amazing work – thanks again

    #3101

    Andrew Misplon
    Keymaster

    Super 🙂 Really glad to hear that helped. If anything else comes up, please, let me know.

    All the best with your site.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Scroll to top