Forums

[resolved] Link settings (4 posts)

  1. crimsonwish0216
    Member
    Posted 1 year ago #

    Hi all.

    I have a bottom menu which automatically shows ALL of my links, but I just want links from a certain link category to show up.

    I've tried adding the link widget to the footer area, but nothing changes.

    I believe the code below from footer.php controls that area, but I have no idea how to alter it...

    <?php wp_list_bookmarks('title_li=&categorize=0'); ?>

    My site is http://kakeiminaoshi.jp
    Thank you in advance for any advice.

  2. Samuel B
    moderator
    Posted 1 year ago #

    <?php wp_list_bookmarks('title_li=&categorize=0'); ?>
    replace the 0 in the code above with the category id you want posts displayed from
    if you want more than one category, separate with commas - no spaces - like
    <?php wp_list_bookmarks('title_li=&categorize=6,12,41'); ?>

  3. crimsonwish0216
    Member
    Posted 1 year ago #

    Thanks Samuel for the swift reply.

    One question though...
    Where can I find the link category id??

  4. crimsonwish0216
    Member
    Posted 1 year ago #

    Sorry, found it.
    At the backend, place the mouse over a link category then the status bar shows the URL containing the ID.

    But now the category name is included as a heading which I do not need. Is there a way to remove this??

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags