Small add-on to use WordPress as a back-end for a php site
For displaying certain post or page by using pid for instance p = 100 :
require_once("init.php");
echo "<title> wptitle(100); </title>"; // displays the title for post 100
echo "<title> wpcon(100); </title>"; // displays the content for post 100
For displaying a form made by contact form - 7 :
require_once("init.php");
echo "<title> Contant form </title>";
usetheme();
usethemeheader();
get_header();
$shortcode = '[contact-form-7 id="70" title="Untitled"]';
wpsc($shortcode);
get_footer();
The MIT License (MIT). Please see License File for more information.