Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • After a new installation of 3.0.1, I was having the same issue. This post said to comment out the following groups of code in wp-admin/options-permalink.php and it solved my problem:

    Around line 92:

    if ( ! got_mod_rewrite() && ! $iis7_permalinks )
    	$prefix = '/index.php';

    Around line 153:
    $wp_rewrite->flush_rules();

    I just did a new installation of 3.0.1 and was having the same issue. I found this post, which basically says to comment out the following groups of code in wp-admin/options-permalink.php:

    Around line 92:

    if ( ! got_mod_rewrite() && ! $iis7_permalinks )
    	$prefix = '/index.php';

    Around line 153:
    $wp_rewrite->flush_rules();

    It worked for me!

    I’m so glad I found this forum! Thank you so much for your answers, SpankMarvin and Mark/t31os.

    At first, I tried using the array of arguments shown above. This resulted in giving me posts that were in the category or with the tags. (meaning I’d get posts that weren’t in the category, as long as they had the tag attached)

    Next, I used SpanMarvin’s code, cutting out $args and this resulted in what I was looking for. The posts that were within the category AND had the specified tag attached.

    <?php $bios = new WP_Query('category_name=category1&tag=tag1');
    
    if ($bios->have_posts()) : ?>;
    ...
Viewing 3 replies - 1 through 3 (of 3 total)