I want to do what is done here with the codex. Integrate the look and feel with WordPress. I know I’m supposed to stick:
<?php /* Short and sweet */ define('WP_USE_THEMES', false); require('./wp-blog-header.php'); ?>
into whatever external php page I want to use WordPress functions on, but its not working. I’m just getting a blank page. I want to be able to use WP Functions such as get_header, stylesheet_directory, etc. in the wiki. I’ve tried sticking that line in MediaWiki’s index.php and in the skin I’m creating also, but neither method works. Anyone have any luck with this? Thanks!
- The topic ‘wp-blog-header.php’ is closed to new replies.