The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Need to add seperate categories (2 posts)

  1. szahra
    Posted 8 years ago #

    Hi, I need to have a category list with things related to my blog, and another seperate category list with for example general interest. Can anyone tell me how it is possible in WordPress?
    Here is an example:

    <h2>Design Category</h2>
    <li>interface design</li>
    <h2>General Interest Category</h2>
    <ul><li>cool websites</li>

    I tried looking for a plugin but I didn't find any.

  2. lorenzo
    Posted 8 years ago #

    have a look at his document:

    assuming that the categories are already in wordpress this will do the trick:
    note that parameters has to be changed for your setup

    <h2>Design Category</h2>
    <li><?php $categories = get_categories(parameters); ?> </li>

Topic Closed

This topic has been closed to new replies.

About this Topic