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)

0
votes
3answers
116 views

Getting redirect to happen before header output

Anyone know of a way to trick WordPress into doing a header location redirect. I have to check whether users are logged in or not, and if not redirect them to our organizations authorization system ...
1
vote
2answers
509 views

3 blogs on one site with the same header menu?

Person X has default SITE with an integral blog. Person X also has SITE 2 with Blog 2 and also SITE 3 with Blog 3. Is it possible to have on the DEFAULT SITE HEADER MENU something like this: HOME ...
0
votes
2answers
58 views

Editing page content through FTP?

I currently work with a graphic designer and code primarily HTML/CSS for clients looking to develop a web presence. I don't know much about WordPress. I have a client who wants some minimal changes ...
0
votes
2answers
431 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 ...
2
votes
1answer
181 views

Custom Post Type Events Archive Grouped By Month

I'm currently trying to get my events listing code to print out headers by Month. So basically this: October event event September event event etc... Right now it just keeps echoing ...
1
vote
1answer
424 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
vote
1answer
103 views

pull non-wp site into content area of wordpress -or- pull wp header into non wp site?

I am building a site which has a ecommerce nature that is not able to be tied directly into wordpress. What my goal is to have a constant header that is generated by my wordpress header on all pages ...
1
vote
1answer
83 views

How to change header dimensions in Wordpress?

How can I alter the requirements for the header dimensions so that I can take an uncropped image and fill the top section (centring the whole image) instead of having white space at the top? I would ...
0
votes
1answer
57 views

Fatal Error: get_header();

Fatal error: Call to undefined function get_header() I can't get this working. I am using twentythirteen default theme shipped with wordpress. I have created a custom template called table.php ...
0
votes
1answer
12 views

disable wordpress canonical tag meta

wordpress core automatically generates canonical tag in HEAD section: <link rel="canonical" href="http://blabla.com" /> how to disable/remove that?
0
votes
1answer
32 views

Add access control origin header information across multisite

I want to add the below snippet to my wordpress installation. <?php header("Access-Control-Allow-Origin: *");?> I don't want to add it in every template header as there are many of them and I ...
0
votes
1answer
50 views

Changing footer depending on URL (poli language site)

I have a question. I am working on a WordPress theme, which is in English and Russian. My question is how do I change my "header" and footer depending on the URL. I have a logo, which is in Russian ...
0
votes
1answer
221 views

Display custom widget value in header.php

I am using the code below for a custom widget. I have added some fields in the widget like: Title, Name and a checkbox. Now everything is fine but I want to show those values in header.php. Any idea ...
0
votes
1answer
50 views

Random header image but also specific header for certain pages

I have a question I'm using a theme where the header image changes in different pages of the page because is set like that. But the main header image stays in all the remain pages.. What I want to do ...
0
votes
1answer
55 views

setcookies and header send

I put simple php condition in the header.php of template as this : setcookie("test_time_".$cookie_id."", $cookies_times, time()+3600); The result always as this headers already sent , i use this ...
0
votes
1answer
68 views

Placing a featured image into header

How can I place featured images into the header, so each post has it's featured image within the main header? Also on category archive pages and the main news page, the featured images are being used ...
0
votes
1answer
96 views

Dynamically changing header text depending on URL in Wordpress html page

My shopping cart displays the order history on the last page the customer visited. For example, www.someurl.com/item1 is the last page the customer visited before checkout. An order confirmation ...
0
votes
1answer
44 views

change headline of page

I have a web page which includes menu. In its menu I have some items when I click on each item it's gonna show some subitems in it. for example item name : A. It has A.1 and A.2 subitems. which has ...
-1
votes
1answer
36 views

site-description css is overriden

I'm trying to change the site-description color of my twentythirteen header to #220E10. My style.css file reads : .site-description { font: 300 italic 20px "Source Sans Pro", Helvetica, ...
-1
votes
1answer
174 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
336 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 ) ) { ?> ...
-1
votes
1answer
546 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 ...
2
votes
0answers
119 views

Additional Option on Custom Header admin

I would like to extend the Custom Header class to include an animation feature for the header graphics. Essentially, I'd like to add another possible value for the radio button for randomization. The ...
0
votes
0answers
20 views

Making a custom upload form and page in the admin section

so I've built this standalone php script which allows my users to upload a CSV which updates JSON data for a feature on our site, but I want to put the script inside of the wordpress admin section for ...
0
votes
0answers
36 views

Local path included in script url

The hosting service of a website I created crashed, now we're trying to get it up and running again. They restored the website/database from a backup but we're encountering issues. A couple of ...
0
votes
0answers
23 views

auth_redirect header already sent error

I'm a novice to php so please bare with me. I've been pulling my hair out trying to figure out this one. I have a simple if statement in a page template to require viewers to be logged in. <?php ...
0
votes
0answers
17 views

How to use the WordPress header as the global header for apps across a site?

I am running Wordpress as the main site, and a few other php CMS apps for other specific purposes (let me call it subsites for the purpose of this question). Now when designing templates for ...
0
votes
0answers
18 views

Altering HTTP Headers when Serving Certain Files

I'm trying to use jquery.filedownload within a site but it requires that my files (a pdf, for instance) be served with specific headers. header('Set-Cookie: fileDownload=true; path=/'); ...
0
votes
0answers
27 views

Custom header content within a customer page template

I built a custom page template and everything is working swimmingly. I have a problem however making it so each custom page using the template can insert custom code into the header area. If you ...
0
votes
0answers
41 views

Problems with installing and deleting plugins

When I want to install a plugin from the web interface, I receive the error The plugin does not have a valid header. or Destination folder already exists. after it has been downloaded and ...
0
votes
0answers
137 views

How to change the position of the language selector (qtranslate drop down menu)

I use Qtranslate to manage my translations on my website. It is working like it should, but for styling reasons I would like to change the position of the language selector. This is the position right ...
0
votes
0answers
46 views

Why wold sending headers (for a csv download) throw a Page Not Found error?

I'm writing a plugin to download some data into a csv file (from the admin section of my wordpress site.) I've tried two different methods to customize the headers and prevent the wp-admin template ...
0
votes
0answers
46 views

What's causing 'headers already sent' in minified javascript file with WP Total Cache 3

I'm adding WP Total Cache to my site but whenever I enable minification I get the following message in the minified javasctipt file: <br /> <b>Warning</b>: Cannot modify header ...
0
votes
0answers
215 views

Customized theme Custom Header HTML

I have upgraded from 3.5.1 to 3.5.2 and the problem I am facing is with my header that I am using customized theme and Custom Header HTML that when I was using 3.5.1 it was working fine and I could ...
0
votes
0answers
192 views

How to give a download link to a .csv file from the custom plugin?

I have made a custom plugin, which exports MYSQL table contents into a .csv file which gets saved in to wp uploads directory. Now, I am trying to give a download link for downloading directly a .csv ...
0
votes
0answers
39 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
0answers
59 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
21 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
43 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 ( ...
-2
votes
0answers
13 views

Theme has no header/CSS details

Please help. I was inserting a form on the contact page and all the sudden the theme disappeared from the site? Now all there is is text. My hosting company said it was because There are no header/CSS ...