• Resolved Maxcim

    (@maxcim)


    Hello,

    I have the problem that the <!– more –> tag does not work.
    I think that the problem lies in this code:

    <?php
    $post_id = 17;
    $queried_post = get_post($post_id);
    ?>
    <h2><?php echo $queried_post->post_title; ?></h2>
    <?php query_posts('p=17'); if(have_posts()) : the_post(); ?>
    
    <?php the_content(); ?>
    
    <?php endif; ?>

    I use this code to display a specific post before the loop on a page.
    The <!– more –> tag does not work in this code and in the loop, but when i delete this code it does work in the loop.

    So it has to be this code, but i can’t seem to find the problem.

    Any help? ??
    Thx

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MORE tag doesn't work’ is closed to new replies.