Tagged Questions
2
votes
2answers
48 views
Call to undefined function get_header() in index.php
I am trying to create a theme.
I created a header.php file and call this file in index.php using
<?php get_header();?>
When I try to run my index.php file it shows this error:
Call to ...
0
votes
0answers
37 views
Getting a “Cannot modify header information - headers already sent by…” after duplicating widget
This probably isn't the smartest way to go about it, but I'm very close to launch and the client wanted a news widget displayed two ways. Our theme's news widget displays a settable number of news ...
0
votes
0answers
55 views
WordPress Header adding empty data [closed]
I'm designing a theme on localhost and WordPress is adding an empty set of data in the header which is throwing everything out of sync.
The code it's adding is:
<head>
<meta ...
0
votes
2answers
987 views
Why I am having error Call to undefined function get_header()?
I am using twenty eleven for my theme and I create a PHP page under it named results.php in the results.php here's my code:
<?php
get_header(); ?>
<?php get_footer(); ?>
From my ...
0
votes
2answers
118 views
Need Help Determining Where Header Error is Happening
I am currently writing a plugin that contains a report based on a mysql query. I would like to export this query information to CSV. Simple enough, I've done it many times outside of WordPress.
I'm ...
0
votes
1answer
178 views
Error messages when adding code to function.php or trying to delete inactive plugin files
Error message below:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/79/7603579/html/listings/wp-content/themes/OIB theme/functions.php:519) in ...