I have user dynamic web application, however it also contains some static pages(like Terms of Usage,…) and will contain some articles – for administration of this content I would like to use wordpress – so I wonder if there is a way how to include some wordpress’s PHP which would only include the processed the_content();
and needed WP objects?
Or at least is there some way how to get raw html from data extracted from wordpress DB?
PS: Iframe solution just seems wrong to me… and would not work for me anywas…
If you’re building your own php and don’t want to use custom templates / post-types / etc… You can simply load WordPpress via
<?php include 'path_to_wordpress/wp-load.php'; ?>
And then you will have access to all the WordPress Functions / Objects 🙂
Hope this helps.
Why don’t you build the entire webpage using WordPress? You can do pretty anything with it, especially if you use custom post types and custom fields.
Anyway, I found this forum threat that might contain information useful to you http://wordpress.org/support/topic/adding-wordpress-page-to-another-html-site?replies=5