Including a post/page in single.php
-
Hi,
On my frontpage i got lots of posts. But i need an area with text and pictures underneath all the posts. I need this area to be writeable.
It means that every time i update my page/post, the change will be seen on my frontpage.I think i need to make an include-tag like
<?php get_sidebar(); ?>
<?php get_footer(); ?>
and so on…But in the examples above i am including php-files. I need some code that make it possible to include a page or post instead.
Is that possible?
Maybe I can use:
<?php get_posts(‘arguments’); ?>
??In other words I want to include a post/page in my single.php file.
Best regards, Jowiii
The topic ‘Including a post/page in single.php’ is closed to new replies.