WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blogroll Links/Categories Prob After 2.1 Upgrade (5 posts)

  1. Lace
    Member
    Posted 7 years ago #

    Don't ya just love how all of us (newbies) come out of the woodwork when there is an upgrade? :D

    Here is my prob. Blogroll (right sidebar) categories are showing up in the blogroll as titles like I wanted BUT after 2.1 upgrade they are also showing up under what I wanted to be just post Categories (left sidebar.)

    Anyone have any idea how I can keep this from happening? I have no idea if I just need to make a code change in the blog template or what.

    If this isn't enough info, you might want to look at the blog to see what I mean. You can see the prob at http://memorylaneproducts.com

    Thanks in advance!
    Lace

    Ps...If code is poetry, I don't rhyme worth a poo!

  2. Lace
    Member
    Posted 7 years ago #

    Oh, this is the code I used to add categories in the left sidebar (sidebar php), if that helps any.

    <li id="categories"><?php _e('<h2>Categories</h2>'); ?>

      <?php wp_list_cats('sort_column=my_order&hide_empty=0'); ?>
  3. froman118
    Member
    Posted 7 years ago #

    Try updating the function to the following:

    wp_list_categories('orderby=order&hide_empty=0&title_li=');

    If anyone is wondering what the "my_order" and "order" sort parameter values are, they are used by my plugin My Category Order which lets you manually set the order in which the items will display. http://geekyweekly.com/mycategoryorder/

  4. Lace
    Member
    Posted 7 years ago #

    I love this plugin!! To be honest, I think the prob I'm having is more of an issue with the Blogroll/Categories issue. I'm going this route because I had the same prob BEFORE I enabled "MyCategoryOrder".

    L

  5. Lace
    Member
    Posted 7 years ago #

    I fixed my site with the info found in this article. The article tells you how to exclude categories and other things. After I fixed the category prob, the My Category Order plugin I had works just fine!

    Here is the info link I used to change the code in my sidebar: http://codex.wordpress.org/Template_Tags/wp_list_categories (scroll to see "Categories with Excludes")

    Lace

Topic Closed

This topic has been closed to new replies.

About this Topic