load one page in another
-
Hi there,
I’m trying to load some page content on the front-page using this code:
<?php $recent = new WP_Query(“page_id=10”); while($recent->have_posts()) : $recent->the_post();?>
<?php the_content(); ?>
<?php endwhile; ?>It works, but the position of the content is different from the orginal page.
You can see the differences here:
https://jongerenbijdrageregeling.nl/wordpress/
https://jongerenbijdrageregeling.nl/wordpress/?page_id=10Does anyone have some tips how to resolve this?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘load one page in another’ is closed to new replies.