The headers tag has no wiki summary.
0
votes
1answer
25 views
Front end posting, not working wp_redirect with 'cannot modify header information' error
Im trying to make front end posting page but,
sometime 'wp_redirect' is not working with 'cannot modify header information' error.
adding data is working well but I don't know why is working well ...
0
votes
0answers
7 views
How to change the HTTP header / problems with @fontface in firefox CORS [migrated]
My icon fonts are not properly showing in firefox. Im getting "bad URI or cross-site access not allowed." From what I can find, I need to do what is in the image below. I have read all about how HTTP ...
2
votes
1answer
35 views
Get file headers in custom file
in my one of my plugins i have modules (kind of like plugins in a plugin), is there a function like get_plugin_data() or wp_get_theme() that will allow me to get the header section of a custom file ...
0
votes
1answer
28 views
header, stylesheet not being read
I'm working on a theme that doesn't seem to be reading the header and/or stylesheet. All of the code seems to check out correctly, so I'm a little confused as to why this is happening. Perhaps I've ...
0
votes
1answer
29 views
How to send “Location” header on plugin form submit event?
How to redirect to specified page after form was submitted?
Warning: Cannot modify header information - headers already sent by
(output started at wordpress\wp-admin\menu-header.php:94) in
...
0
votes
0answers
29 views
I want to change my header color and insert a image in footer [closed]
So, I have been developing this wordpress site recently, and I want to change the header color to black color, I have used the Theme Tweaker plugin, but dont work. I also try using the css editor to ...
0
votes
0answers
35 views
My title is repating itself
I have been looking on some of the other questions in here, but they did not solve my problem. I got a Wordpress Multisite with Buddypress installed.
When I am logged in as the super admin, I can ...
0
votes
1answer
23 views
How to get ONLY the URL of the image that show_media_header returns?
I need to use it as a background image but this is killing me because:
show_media_header()
would print
<a href="#">http://url/of/the/header</a>
How can I just retrieve the value? So ...
0
votes
1answer
62 views
wp_head() - list hooked actions with priorities?
I'd like to add something to wp_head() but I'm aiming precise location (like after style.css but before rtl.css and before my other custom script). I'm wondering if it's possible to list everything ...
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
1answer
25 views
Is it ok to chop index.php and include files?
So in my index.php I called get_header(), get_sidebar() and get_footer(). My index.php is kind of huge. It is separated into 5 divs more. How do I make it cleaner? Is it safe to chop it to files and ...
0
votes
0answers
38 views
How to make the admin panel appear in multiple headers? [closed]
I have 2 headers, one for Arabic pages and one for English.
The problem is the Arabic pages don't show the wordpress panel
This is the panel that appears only in English pages but Arabic it is ...
0
votes
0answers
18 views
different contents and same sidebar approach?
I have a static header, sidebar and footer and then a varying content for single.php. What is the right approach to put contents in the div=content part? Say I have 3 different pages (article, stuff, ...
0
votes
0answers
24 views
Custom header shows two or three or more images
Is there is a way to make the custom header to show more than one image in a random show without duplicate images.
I tried something like this:
<?php $header_image = get_header_image();
if ( ...
0
votes
2answers
33 views
Remove portion of header code from home page only
I have this code in the template file header.php:
<div class="dynamic-header">
<?php if(function_exists('show_media_header')){ show_media_header(); } ?>
</div>
I want to ...
0
votes
2answers
137 views
Headers already sent error with CSV export plugin
I have built a Wordpress plugin that allows the user to export all pages, with their levels and urls, to a csv file.
The problem I have is that I keep getting error messages when trying to export ...
0
votes
2answers
124 views
Headers already sent on a frontend post form using wp_redirect before get_header
I've gone through the various issues with headers already sent, checking for white space and making sure that the get_header line appears after the wp_redirect but I'm stuck.
The code is:
<?php ...
0
votes
2answers
30 views
How to Access Script Tags in Header
IN my Wordpress blog, I am looking to update a link in header that I believe is outdated:
<script type='text/javascript' ...
0
votes
1answer
92 views
force jQuery to load in the head
I've written a plugin which uses wp_enqueue_script("jquery"); to load jQuery. I need to load jQuery in the head and not at the bottom of the body. However, I think that this command is overwritten by ...
0
votes
0answers
30 views
Removing “Blog Archive” from Headline when posting to Facebook
I followed some clear instructions about how to remove "Blog Archive" from the title in individual blog posts, yet when I post to Facebook, it's still showing up: (i.e.: The Littlest Winslow --> Blog ...
0
votes
0answers
16 views
Banner not displaying on any subpage [closed]
I added a subscribe newsletter banner on my home page of the blog in header. It displays properly there, but not on any other page. The code was inputet in the 'theme settings' through dashboard. Any ...
0
votes
2answers
74 views
Cannot modify headers
I absolutely hate this error. And do not understand it at all.
So this is my code, what you want to focus on is the foreach loop:
public function reset_theme_options(){
...
0
votes
2answers
103 views
How to fix position of a picture(banner) in the header?
I have to add a banner to the right side of my wordpress site but the theme does not have any banner widget area. I want the banner to be aligned right in the header beside the logo. It should look ...
0
votes
0answers
34 views
header.php link not showing on initial login
In our header.php file we have two links that only show if a user is logged in - a 'Music upload' link and a 'View your page' link. Once the user logs in the music upload link shows fine but the ...
-1
votes
0answers
15 views
How can I complete a web request then continue processing?
I am trying to add thumbnails to my site via a plugin. There are several plugins to do that but none seem to fit my needs. My plugin is progressing well however I have run into a small roadblock.
I ...
0
votes
1answer
155 views
Display different header images based on current page
I want to display, based on the current page another header image.
Short example:
Home -> Image A
PageId 1,2,3,4 -> Image B (2,3,4 are childs of page
1)
PageId 5, 6 -> Image C
...
I tried to ...
0
votes
2answers
113 views
Meteor Slides as header only for homepage and Use featured image of each page as header for respective pages
I am using meteor-slides plugin to make header as a slideshow. I am using twenty-eleven theme. Now i need to make this slideshow for my homepage only and featured images of other pages as headers for ...
1
vote
1answer
68 views
Get search.php results in header.php?
I want one image in header.php to change for different pages.
The function in header.php looks like that:
if(is_archive()):
//change image to "Archives"
endif;
if(is_404()):
//change image to ...
0
votes
1answer
80 views
Changing 2011 theme header image based on user dropdown
I posted earlier about changing my site's CSS based on user-choice from a drop-down and storing it in a cookie, which I think I have now resolved, and sort-of have working at the following address ...
1
vote
0answers
207 views
Using PHP to toggle stylesheet and header image, set in cookie
I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
-1
votes
1answer
124 views
My CSS, footer and header don't show up!
When I activate my theme in my-admin on WordPress, my CSS, header and the footer don’t show up. I really don't know what the problem is because I followed all the steps of a tutorial.
header.php
...
-1
votes
1answer
126 views
How to have H1 for site title only on Homepage?
I´m using the Leaf Theme and in the header the following code can be found:
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) { ?>
...
0
votes
1answer
120 views
H1 tags for header image?
In heading.php of the Leaf Theme there is the following code:
<?php $header_image = get_header_image();
if ( ! empty( $header_image ) ) { ?>
<a href="<?php echo esc_url( ...
0
votes
1answer
34 views
Does post-meta belong in header?
The template I used as a start for my own design places the metadata inside the header tag of the single-post.php. Is that a correct use of header, or should there only be h-tags in there? What about ...
0
votes
1answer
67 views
Wordpress repository forbids me call wp-load.php in non-WordPress file
I have made a Wordpress Plugin that is a kind of Download Manager. I have a external file download.php that is responsible for making downloads. This file is away of environment Wordpress, for this ...
0
votes
1answer
41 views
Wordpress repository forbids me call wp-load.php in non-WordPress file
I have made a Wordpress Plugin that is a kind of Download Manager. I have a external file download.php that is responsible for making downloads. This file is away of environment Wordpress, for this ...
1
vote
4answers
155 views
Some Themes do not have a header.php and footer.php how are they doing it?
Some themes that I have seen such as the (famous) thesis or even a few other not so famous themes have just an index.php (which has nothing in it), functions.php (call's their framework) and a ...
1
vote
2answers
192 views
Adding custom code into header.php using a plugin
I have a bunch of code that I tend to put into the header.php of every site I do which are specific to Internet Explorer.
I was wondering if there was a way to insert code into a 'standard' ...
1
vote
1answer
100 views
Mysterious HTTP 404 header in my own scripts
I have a WordPress 3.5.1 + nginx configuration. Its nginx configuration is this:
server {
root /mysite/public_html;
server_name wp.mysite;
location / {
try_files $uri $uri/ ...
0
votes
1answer
326 views
How do I get the Social Media Plugin to show up in my Twenty Eleven child theme's header?
Being totally new to WordPress and (extremely) rusty with PHP, I'm having a difficult time figuring out how to add the Social Media Widget to my site's header. I'm using the Twenty Eleven theme, as I ...
0
votes
1answer
43 views
Where are my js and css links in header?
I just found out that there are no javascript and css links in my header.php.
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till ...
0
votes
2answers
65 views
All of my Scripts and Enques are getting file not found
I have the following script and enque function, and the site properly renders it in the html head, however when I click the link to the css and javascript files the i get a url not found, however the ...
0
votes
1answer
72 views
Rotate images in header based on date
I am new to WordPress and I would appreciate some cool advice here.
I have changed the header.php file in the Editor to include an image. I wonder if it is possible to automatically display one of 9 ...
0
votes
1answer
69 views
Stop header code from showing in category page?
Hi I'm using the code below to show different header images in my custom template archives.
Only problem is that it is also showing the headers in the category templates.
go to ...
0
votes
1answer
262 views
After being hacked Fatal error: Call to undefined function get_header() in 404.php on line 1
After having timthumb.php exploited.
The site was upgraded to WP 3.5
It was compromised again, (wp-config included encrypted data as well as the functions.php in the wp-include directory.
After ...
-1
votes
1answer
1k views
Cannot modify header information - headers already sent (Theme Specific : functions.php) [closed]
I know the problem may be too localized and specific to my theme only, but I think, if we can explore the problem, dig it, then we might find a new solution from it.
PROBLEM
I made a custom theme ...
-2
votes
1answer
287 views
How to place an image into header.php? [closed]
I'm trying to customize twentyten theme.
this is part of header.php:
<body <?php body_class(); ?>>
<div id="wrapper" class="hfeed">
<div id="header">
<img id="topL" ...
0
votes
0answers
46 views
Header Image in Melville Theme [closed]
I'm trying to replace the title text in the Melville theme with an image. I actually had it in there and working properly for several days and then lost it when I was tinkering with my header.php file ...
-2
votes
1answer
82 views
Greyzed theme - how to customize header? [closed]
I am using the Greyzed theme and I am trying to customize the header to put a logo on top. i have no idea where to even begin. can i have some help please?



