Using wp-blog-header.php on other pages
-
I have a separate links page and want to use WP’s Admin Control Panel for managing it. My links page was working up until now and I cannot figure out why.
I have 4 common files that I share throughout the individual “sections” of my site (with the exception of the weblog section) so the beginning of each page looks something like this:
<?php
include(‘../_includes/document_head.php’);
include(‘../_includes/header.php’);
?>
And at the bottom which has the same thing except footer.php and document_foot.php, respectively.
… with the exception of the links page which I’ve “required” wp-blog-header.php so I can use the <?php wp_get_links(‘#’); ?> function to display links for the various link categories. require(‘../weblog/wp-blog-header.php’); is also placed above the include for document_head.php.
I’m not entirely sure what happened. The only thing I’ve done recently is edit wp-comments.php and wp-comments-post.php and ‘activated” a captcha plugin, but I disabled/commented out all changes yet it still does not work — I’m stumped.
Any idea what might be interfering?
- The topic ‘Using wp-blog-header.php on other pages’ is closed to new replies.