Calling WordPress PHP calls breaks template
-
For some odd reason, each time I try a call from WordPress Codex in header.php (example below), the whole template breaks. What would cause such a thing? It literally is disallowing me from using any PHP WordPress calls on my header.php
Example:
<?php $blog_title = get_bloginfo(); ?>
When I put that in the header and I view the index page’s source code in Chrome, the only thing that appears is the header code. The index and footer code suddenly disappear. Remove any form of WP PHP code, and it all returns back to normal?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Calling WordPress PHP calls breaks template’ is closed to new replies.