HTTP headers are what is sent to the browser before the page markup. They often include the page MIME type, charset, status code and encoding. Headers are often overridden to change the page MIME type or redirect the user.

learn more… | top users | synonyms (1)

2
votes
1answer
110 views

What is the Wordpress Pinecone sitting on top of? [closed]

Does anybody know where wordpress gets their banner images? Perhaps we could find the original photo? I'm curious just what exactly this pine cone is sitting on top of.
0
votes
1answer
1k views

Custom Login Page — wp_signon Headers Already Sent?

As the title suggests, I'm building a custom front-end login page for users of my site. I'm using wp_signon to log the user in after their credentials have been validated, but I'm getting this error: ...
0
votes
2answers
487 views

wordpress header leaks into body in a specific template

very strange problem, that happens only in one specific template. part of the part "leaks" into the tag - and I can't figure out why. the "header.php" code: <!DOCTYPE html> <html ...
0
votes
1answer
410 views

Dynamic height in custom header image panel

I've enabled the custom header image panel for my theme.. That all works fine, but it has a predetermined height. How can i make it dynamic? The width can be permanent. I used this code. ...
0
votes
2answers
301 views

How do I fill the Home Description?

For some reason All in One Seo is not putting the text that I put in the Home Description field if you google, dvdripfreemoviedownloads.com, the first result, which is my homepage should have ...
0
votes
2answers
234 views

PHP or JS for header image rotator?

I'm working on a site that is using this PHP script to load a random header image every time it reloads. I would like to use Javascript instead to allow the browser to cache images and improve load ...
0
votes
1answer
451 views

How do I make Wordpress “Page” link in the top nav bar go to an external URL?

I would like the Wordpress page link as shown here go to an external URL instead of going to page. What is the best way to set this up? I'm running Wordpress 3.1.3. Thank you.
0
votes
2answers
423 views

Active Menu Highlighter with Subpages?

my question is... I have 2 pages & 2 subpages in each page. like: page1 -->subpage1 -->subpage2 page2 -->subpage1 -->subpage2 & my Menu is Page1 page2 Now if i select ...
-1
votes
1answer
337 views

Making a 1140px wide header logo in the twenty-ten theme?

I've created a child theme that is a wide version of twenty-ten, and it is working for the most part. But I am struggling to make the header logo wider. You can see the work in progress here at ...
0
votes
4answers
2k views

Wordpress wp_redirect error

I am trying to redirect this page if the user is logged in or not be i keep getting this error Warning: Cannot modify header information - headers already sent by (output started at ...
-1
votes
1answer
610 views

Changing the title tag from a shortcode

I currently have a shortcode which dynamically swaps out locations on a page to make each page specific to a location. For example the url http://mywebsite.com/offers/scotland/ Would make the H1 ...
5
votes
3answers
1k views

External page integrated into WordPress returns a 404 error

I have a script that I'd like to call via AJAX from my WordPress theme, it relies upon some core WordPress functions so I am including WordPress blog header like so: define( 'WP_USE_THEMES', false ); ...
-2
votes
1answer
619 views

How to create full header but keep content narrow

I want to set a full header in wordpress theme, while i want to keep the content narrow (center). How can i do that? I'm trying like: <body> <!-- BEGIN header --> <div ...
2
votes
2answers
401 views

What code do you use to generate the text to go into the HTML title tag?

The question title says it all. Myself I just stick with the default code from one of the packaged templates that comes with WordPress out of the box: <title><?php /* * Print the ...
1
vote
2answers
469 views

Adding an editable field to template?

I'm making a theme for a client (first time using Wordpress), and the client would like to have multiple site "descriptions" to be available. The first one as the main description, and the second one ...
5
votes
3answers
2k views

WP function/filter for modifying http headers?

Is there a dedicated WP function, action or filter to use when adding/modifying the HTTP headers? For now I just hook a PHP header() call into the WP 'init' hook like this: add_action('init', ...
1
vote
0answers
3k views

Unable to stream pdf: headers already sent problem in dompdf [closed]

I have used dompdf to display the user information in admin of my wordpress project. While generating the PDF file it works perfectly in my local server. But in live server Unable to stream pdf: ...
1
vote
1answer
167 views

Show an image in my header.php

I want to let my customer choose any image (in my backend) and then it will be displayed in my header.php. i've found Image Widget, but it just show images in the sidebar. I want something like: ...
0
votes
1answer
148 views

plus sign not working in widget “Header: Nav Menu”

I installed a new WP site with 3.1.2. The way I set menu/header on my other sites was with the widget "Header: Nav Menu". When I go to that widget now, clicking the + sign to the left of "Items" ...
2
votes
1answer
6k views

Auto-refresh page every minute?

How do I make a WP page (w/ dynamic content) auto-refresh every minute? With PHP, I'd use a "Refresh:" header, and in HTML I could use a HTTP-EQUIV tag or something. However, WP generates headers ...
0
votes
2answers
278 views

How to internationalize header image?

I have in the following code in the template: <img src="<?php header_image(); ?>" /> However, I want to change this image according to the language selected (through GET parameter ...
0
votes
1answer
194 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 ...
5
votes
10answers
5k views

Wordpress Plugin Development - Headers Already Sent Message

I'm developing Wordpress plugins. When i activate my plugin, i'm getting a message The plugin generated 293 characters of unexpected output during activation. If you notice “headers already ...
5
votes
3answers
461 views

Math notation on WordPress.com?

I am a new user with WordPress, and I would like to use mathematical formulas. I have been reading the mathjax pages for hours, such as this one and quite a few others. This may be a bad question, ...
1
vote
1answer
9k views

How to create a fixed header and scrolling content area

I've bee experimenting with a site I'm working on. My client wants the header with its nav and logo intact, so visitors always have the ability to access the navbar while scrolling to read the page ...
0
votes
1answer
75 views

Removing the WordPress.com ribbon

This is such a simple question, but I'm having trouble getting the answer. Is it possible to have a blog at WordPress.com and not have the WordPress.com banner (shown below)? Is it simply a matter ...
0
votes
2answers
246 views

how to change menu titles

At the top of this website Wordpress answers is 6 menu items in the header Questions Tags Users Badges Unanswered Ask Question I need to change these on my website homesfriscotx.com ...
0
votes
1answer
407 views

Hook for plugin to insert into entry-meta

pretty simple. I'm creating a plugin and I want to dynamically insert some text that will change every hour into the line that is directly below the title of a post (So filters are no good). It's the ...
0
votes
2answers
2k views

custom headers for static home page and posts page

have a site w/a static home page and a posts page and then a number of other static pages - i set up a custom header for the home page and then another all other pages like this in the header ...
0
votes
1answer
2k views

Use Featured Image of Post as Header Image

I have a blog on wordpress.com in which I make use of the Twenty Ten theme. For each Post I can set a Featured image. On Wordpress.com that image is then displayed in the header above the menu. I'd ...
4
votes
2answers
1k views

Why is wp_redirect() preferable to a standard PHP header redirect?

In asking a question about hooks and redirects, I was advised to use wp_redirect in place of the PHP header function. Just wondering why wp_redirect is preferable?
0
votes
2answers
2k views

Wordpress wp_head() crap

I know, wp_head() is important, but it inject so much crap into the header, i like to get it out... and just add manually the 2-3 line of code i need.. BUT, and there is always a but, i need the ...
0
votes
2answers
600 views

Know which plugin is calling JS in wp_head()?

I'm trying to optimize my header and I was wondering which plugin would call jquery. Is there a debugging tool to know which plugin is doing what in the header ? Thanks !
0
votes
1answer
136 views

making posts linked outside of Wordpress still use the same header and footer

I set up my blog so that some of my posts get linked to a page outside of Wordpress. For these posts that get linked outside of Wordpress, I'd like to still include my header and footer so the page ...
0
votes
1answer
306 views

Custom functions for string data calculations

Just a quick question. I have a form that calculates values based on user entry. The information is then passed via ajax to a php file for calculation returning the results. The problem is that that ...
0
votes
1answer
477 views

Header image is overlapping sidebar?

I just changed my header from a background to an image, as that seemed to be the easiest way to link the entire header to my main page (after a whole lot of trial and error with other methods). The ...
16
votes
3answers
8k views

Why won't wp_mail() let me set the From: header when plain old PHP mail() will?

When I use wp_mail( $to, $subject, $message, $headers ) (with values in place, of course), the email gets sent with a from name and email that isn't set anywhere I can find (not even in PHP or Apache ...
0
votes
1answer
188 views

Use custom header as WordPress header

My site is running on site say : www.xyz.com My blog is at say : http://www.xyz.com/blog I have one header implemented in my main site, I want to use that header file as a worpress header. Is there ...
0
votes
3answers
637 views

sliding/fading header plugin or approach suggestion

i need advice in implementing rotating header (has fade or slide effect) in my theme. I'm building a theme based on Thematic and I'm looking for a good approach on how to implement the header. I have ...
1
vote
5answers
1k views

How to rotate the header image per day?

I'd like to have my header banner change every day, chosen (e.g. randomly) from a list/folder of images. So far I only found plugins that select a random banner per post or per page view, neither is ...
0
votes
1answer
87 views

Suggestions: Customizable header image and style colors that are different for each page

I'm working on a project where each page should have a custom header image and custom style colors (borders, etc). So that I don't have to be the one creating a brand new style everytime a page is ...
1
vote
4answers
2k views

The plugin generated 80 characters of unexpected output!

I'm getting this message each time I activate my plugin: The plugin generated 80 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with ...
3
votes
3answers
4k views

How to set custom cookies before output

What's a surefire way to check/set cookies before the php headers are sent? Is there an action or filter that would be the best place to hook a setcookie() function?