• eyenovation

    (@eyenovation)


    I am having trouble after upgrading WordPress to the latest version, differentiating between categories, and having them display accordingly.

    URL: http://www.kartsportmagazine.com/index.php

    In the past, prior to updating, any article written in “Feature Stories” would appear in that column, and likewise for “Industry News” – now regardless of the designated category, it doesn’t work.

    In the home.php file we used to have it set up as:

    <?php $wp_query->set( 'cat', '-2' ); ?>

    and

    <?php $wp_query->set( 'cat', '2' ); ?>

    But for some reason that’s not working. I’d be grateful if anyone were willing to help me. I can PayPal some money to someone if it’s a paid deal or whatever. I just need to get this resolved very quickly. Thanks so much in advance:

    Link to them, if necessary:
    http://clients.eyenovation.com/downloads/kartsport_theme.zip

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter eyenovation

    (@eyenovation)

    * For some reason, clicking the URL will resolve to the temporary page, though copying and pasting will show the WP install.

    Thread Starter eyenovation

    (@eyenovation)

    Please? Anyone? I’ll pay….

    boober

    (@boober)

    i think your code is depreciated. i think you want
    <?php query_posts('cat=-2');?>

    Thread Starter eyenovation

    (@eyenovation)

    Thanks, yes that was it. Much appreciated.

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

The topic ‘Category ID Trouble in Theme’ is closed to new replies.