Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • typierce

    (@typierce)

    I’m having a problem with the category list in the sidebars of both my blogs…

    http://www.thinkingchimp.com/site
    http://www.misdirectionthemovie.com/blog/

    It’s showing an error that reads:

    ——-

    WordPress database error: [Unknown column ‘cat_’ in ‘order clause’]
    SELECT cat_ID, cat_name, category_nicename, category_description, category_parent FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_ asc

    Warning: Invalid argument supplied for foreach() in /home/thinking/public_html/site/wp-includes/template-functions-category.php on line 304

    ———

    I changed the “cat_ID” to “category_id” in my template-functions-category.php like one user in this thread suggested, but with no luck.

    Any help would be greatly appreciated, as that seems to be the only problem with the upgrade I’m having!

    I tried to implement Eric’s fix in the php and couldn’t get it to work.

    Listed as: <?php get_links_list(1,3,2);?> with no luck.

    Any ideas? Has anyone else gotten it to work with the links out of ID order?

    Would it be possible to call different style sheets based on which category it is by coding in index.php?

    For instance, could I qualify the line:

    <link rel=”stylesheet” href=”<?php echo get_settings(‘siteurl’); ?>/wp-layout.css” type=”text/css” media=”screen” />

Viewing 3 replies - 1 through 3 (of 3 total)