Support » Fixing WordPress » The page and single are not showing the right content

  • When i create a page and view it, it only shows:

    In this example, we concatenate the query before running it. First assign the variable, then concatenate and then run it. Here we’re pulling in a category variable from elsewhere.

    Please let me know how to fix this. Thanks in advance.

    In addition, it only works when using default, permalink setting

Viewing 1 replies (of 1 total)
  • My query is:

    <?php while(have_posts()): the_post();?>
            <div class="post">
            <h2><?php the_title();?></h2>
            <?php the_content();?>
            <?php endwhile;?>
Viewing 1 replies (of 1 total)
  • The topic ‘The page and single are not showing the right content’ is closed to new replies.