• Resolved boetter

    (@boetter)


    I have WordPress running as a complete CMS at https://www.gourmetbryggeriet.dk/ and it’s working like a charm so far.

    I have run into a small problem though. As soon as the blog got enough entries to generate next and prev. links, I could see that the links weren’t working.

    I am running a different template for the blog (which is not located at the frontpage), it’s called blog.php and looks like this:

    <?php
    /*
    Template Name: Blog
    */
    ?>
    <?php get_header(); if (have_posts()) : while (have_posts()) : the_post(); ?>
    <h2><?php the_title(); ?></h2>
    <?php endwhile; endif; ?>
    <?php query_posts(‘cat=-0’); //gets all posts
    ?>

    And then the loop. But what could be wrong since the links are dead?

    See the blog at https://www.gourmetbryggeriet.dk/nyheder/weblog/

    Scroll to the bottom to notice that the links are not working.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Next and prev. links are broken with different blog url’ is closed to new replies.