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

    (@visionaryonline)

    Oh…and if you go to the articles that would be on page 3 or 4…no problems.

    David

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems?

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    I also have a thesame problem..

    i use wp-paginate plugin

    <?php $paged = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts(‘category_name=Homepage Models&posts_per_page=4&paged=’ . $paged); if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    <div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
    <h2 class=”title”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
    <div class=”postdate”><img src=”<?php bloginfo(‘template_url’); ?>/images/date.png” /> <?php the_time(‘F jS, Y’) ?> <img src=”<?php bloginfo(‘template_url’); ?>/images/user.png” /> <?php the_author() ?> <?php if (current_user_can(‘edit_post’, $post->ID)) { ?> <img src=”<?php bloginfo(‘template_url’); ?>/images/edit.png” /> <?php edit_post_link(‘Edit’, ”, ”); } ?></div>

    <div class=”entry”>

    <?php the_content(”); ?>
    <div class=”readmorecontent”>
    ” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”>Click for Gallery »
    </div>
    </div>
    </div><!–/post-<?php the_ID(); ?>–>

    <?php endwhile; ?>
    <div class=”navigation”>
    <?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } else { ?>
    <div class=”alignright”></div>
    <div class=”alignleft”><?php if(function_exists(‘wp_paginate’)) {
    wp_paginate();
    } ?>
    </div>

    can you help me with this?

    Having the same issue since upgraded to WP 3.0. This is caused by a new behaviour introduced with this version.

    $query_string = str_replace('&category_name=all-posts', '', $query_string);
    $query_string = str_replace('category_name=all-posts', '', $query_string);
    $posts = query_posts($query_string);

    WP 3.0 redirects non-existent pages to 404, so the code above in my template never runs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pages are dead ending…why?’ is closed to new replies.