Created
May 25, 2012 13:40
-
-
Save pedroelsner/2788230 to your computer and use it in GitHub Desktop.
#1 - WP em páginas externas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Carrega a API do WordPress | |
*/ | |
define('WP_USE_THEMES', false); // Não utiliza nenhum tema | |
require('./wordpress/wp-load.php'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment