zehrila Posted July 11, 2010 Share Posted July 11, 2010 Hello As the title says, how one can add wordpress posts into their main site index. For example, if your website's main index is on a different CMS than wordpress and you host a wordpress blog at a subdomain/folder level and also want the new posts to be shown at front page of your main index, which is not wordpress, what would you do? Any help shall be appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
themistral Posted July 12, 2010 Share Posted July 12, 2010 If there's no easy hook then I would query the database holding the Wordpress posts and use a limit clause in the sql to only show the first 5 (or however many you want) posts. You can then style the posts to fit in with your index page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.