• Hi,

    Im querying a page to the front page using query_post('page_id=xx'), the page shows fine, however the <!–more–> doesn’t seem to work in the page itself.

    code:

    <?php query_posts('page_id=188&post_per_page=1');
    // Tekst tonen
    global $more;
    $more = false;
    
    if (have_posts()) : while (have_posts()): the_post();
           echo the_content();
    	endwhile; else:
    
    	echo '<p>Er ging iets fout, deze pagina zou namelijk wel moeten bestaan!</p>';
    	endif;
    
            // Reset
            $more = false;
    	wp_reset_query();
    ?>

    What am I doing wrong?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘query_post page on website’ is closed to new replies.