WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to exclude a link category (3 posts)

  1. chasingdaisy
    Member
    Posted 8 years ago #

    I've just followed this thread and successfully been able to display all link categories but I'd like to exclude the default "Blogroll" category. I've tried deleting it from categories but it's not allowed. I'm betting that I can change the code but I don't know how. Any ideas?

    Here's the code I used from the previous thread:


    <h2><?php _e('Links'); ?></h2>
    <?php get_links_list(); ?>

    Any advice would be much appreciated.

  2. MichaelH
    Member
    Posted 8 years ago #

    If you can use get_links() then you can set the Visible to No (via Links, Manage Links) on the Blogroll link category and it won't show.

  3. chasingdaisy
    Member
    Posted 8 years ago #

    That's done it - thank you very much for the fast response MichaelH!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags