The headers tag has no wiki summary.
0
votes
1answer
17 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
21 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
21 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
45 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
43 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 ...
-3
votes
0answers
18 views
Second column in header.php, tried with table not working [closed]
I know I'm going to be told not to use tables, to use CSS. I can edit CSS okay, but I'm no good at writing it from scratch, I just wanted a quick solution to get this scroller plugin in my header to ...
-1
votes
0answers
37 views
Static link in header.php only displays on single posts/pages
I would like to add a static link to my Wordpress theme's header.php file such that it appears on every page. However, after adding the new anchor element to the template, I find that it displays the ...
0
votes
0answers
30 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 ...
-5
votes
0answers
24 views
Change the contents of the <head> tag for the free version of WordPress [closed]
How can I change the contents of the <head> tag with the FREE version of WordPress?
As of now, all I see for "header" is changing the top banner.
Thanks!
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
34 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
22 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
30 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
100 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
104 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
28 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
76 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
26 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
15 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
66 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
83 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
32 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 ...
0
votes
0answers
14 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
0answers
138 views
Are W3 Total Cache Rewrite Rules required for IIS web.config
I am unable to get Browser Caching to work, max-age is set to 0 and expires doesn't get set. The Wordpress install is on IIS 7.5.
I was wondering if the reason was because there are no Rewrite Rules ...
0
votes
1answer
142 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
95 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
61 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
74 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
182 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
121 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
...
0
votes
1answer
100 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
104 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
30 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
60 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
35 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
129 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
158 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
84 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
276 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
41 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
57 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
64 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
66 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
223 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
222 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
42 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
73 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?


