[resolved] List Category ID is where? (4 posts)

  1. dorich
    Posted 6 years ago #

    This relates to WP Version 3.

    I'm attempting to create two lists for a sidebar, each list would be selected by a link category.

    The codex suggest I can do this by using

    wp list bookmarks

    with a link category argument

    (string) Comma separated list of numeric Category IDs to be displayed. If none is specified, all Categories with bookmarks are shown. Defaults to (all Categories).

    However, when I look at the table of Link Categories I don't see any ID.

    How does this work, or where is there a reference that explains how to build the code snippet to accomplish a list based on list categories.


  2. vtxyzzy
    Posted 6 years ago #

    Go to Admin->Links->Link Categories and hover the mouse over a link name. The ID will be shown at the bottom in the browser status bar as 'cat_ID=44', for example.

  3. dorich
    Posted 6 years ago #


  4. vtxyzzy
    Posted 6 years ago #

    You are welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic