• Resolved Stefan

    (@stefan83)


    Hi – I’ve been trying to figure this out for a while now but to no avail. The category links on this page link to the individual posts and not the corresponding category pages. For example, if you click on ‘access control’ in the list, it takes you to the post page instead of the category page but if you click on the ‘access control’ tab under the services tab in the main menu drop down, it takes you to the correct category page. Is there a problem with the code? Any help or a point in the right direction would be very much appreciated. Thanks in advance

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Stefan

    (@stefan83)

    ok I’ve managed to pull in the child categories of ‘services’ using wp_list_categories but I would like to style them in the same way as the list below. Can anyone help? Thanks! https://pastebin.com/MtVv5Gjn

    It could be a plugin conflict as well. Are you using any plugins to manage your categories?

    Thread Starter Stefan

    (@stefan83)

    Thanks for your reply. I am using a plugin to organise the order of my categories. I’ve made some progress though. I’ve managed to list the categories correctly, but they are all listed in one div rather than seperate divs I’ve tried editing this but I keep getting an error so the only way it works is all in the same div https://pastebin.com/7tDPJPG6

    Thread Starter Stefan

    (@stefan83)

    problem solved. solution is here if anyone is interested

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Category lists link to post and not cateogry pages’ is closed to new replies.