Show Latests Posts outside WordPress
-
hey guys,
I would like to display the 5 latest posts from my bbpress forum within a seperated frontpage (phpfrontpage.php), which is located on the same server/directory as the WordPress installation
like:
Frontend/phpfrontpage.php
Frontend/BlogI also wanted to list the last 5 Blogposts in the Blog. To do this, I simply included “/blog/wp-load.php” and did
$recent_posts = wp_get_recent_posts(array(
‘numberposts’ => 5
));Is there a similiar way to do this for the latest bbpress topics instead of the latest blogposts?
Thank you very much!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Show Latests Posts outside WordPress’ is closed to new replies.