• Hello all…

    Im using wp as cms, mostly pages with a main navigation of wp_list_pages. I want to add a link on my nav to a parent category (ie: category/blog/) that will be used as my news/blog section, within witch I will have child category’s (i think this is the best way to do this).

    If I use the tags in the codex, I get problems.

    Anyone have a simple solution?

    (what im trying to do is have a “blog” section of my site, everything else is pages, I want the “blog” section to act as the index would by default, displaying all recent posts)

    Thanks in advance…

Viewing 1 replies (of 1 total)
  • Thread Starter nemonet

    (@nemonet)

    i guess i was working late and didn’t read the codex correctly, here is the tag for future readers (6=category id):

    <?php
    wp_list_categories(‘include=6&title_li=0’); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Category parent as nav link?’ is closed to new replies.