The headers tag has no wiki summary.
0
votes
1answer
83 views
Page header menu links change
I am trying to find out where the header menu links on my WP is located so that i can change the URL of the page.
the link is: http://blahblah.com/?page_id=11
and i need to change it to: ...
0
votes
1answer
2k views
Fix: Cannot modify header information - headers already sent? [closed]
I am getting this error on one hosting account but not on another with the same theme installed when I got to create a new page:
Warning: Cannot modify header information - headers already sent by ...
0
votes
1answer
557 views
Echo a div to header.php from functions.php
Within the section of header.php I have a div structure
<div id="header">
<div id="masthead">
<div id="branding">
...
I want to add a div within "branding" - I can do this ...
-1
votes
1answer
138 views
Adding Meta Tags to a Post using its Tags, Excerpt and content
I run a multiple author platform where I have added conditions that force authors to add tags to their post. To improve SEO, I would like to add Meta Tags to the posts. Ideally, with a light solution ...
1
vote
1answer
97 views
Echo URL of large version of Featured Image
I use this plugin to echo the URL of a post's featured image in the header:
<?php
/** Plugin Name: Post Thumbnail FB header */
function fb_header()
{
// Not on a single page or post? Stop ...
1
vote
1answer
181 views
Indenting (tabbing) WP_head
Right now all the stuff that gets included in wp_head are left justified all the way in the code view.
Whereas all my other code that is around the wp_head is indented (tabbed) two times. Is it ...
0
votes
0answers
62 views
Warning: Cannot modify header information [closed]
I have this issue on my WordPress site when type site with www prefix.
Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
309 views
Why does WordPress allow inserting <h1> tags into posts?
It is my understanding that there should not be more than one <h1> tag on a page, and that the <h1> tag should be the site title, for SEO reasons.
If that is correct, why does WordPress ...
0
votes
1answer
300 views
Headers already sent - Wordpress core
I'm getting an error on my site regarding "headers already sent":
Warning: Cannot modify header information - headers already sent by (output started at ........./wp-admin/menu-header.php:161) in ...
0
votes
1answer
83 views
Why is the `if else` not working?
I have this on my header.php.
It checks whether the page is on homepage/frontpage, is on category/children of/has the category of "gamenews", or is on category/children of/has the category of ...
1
vote
1answer
83 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 ...
0
votes
1answer
171 views
Inserting iframe right after <body> on header.php
I have an iframe tracking script of sorts that I need to add right after the body tag. After looking around on the web, I found that the body tag is in header.php and I should add a function to ...
0
votes
1answer
32 views
custom header navigation has odd spacing [closed]
Live site.
I'm using a custom header on my blog page which features the same coding as my regular heading for nav.
The nav looks fine on all pages but the blog page- the Blog button shifts left.
Any ...
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
991 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 ...
2
votes
2answers
100 views
Hook for URL request
I would like to make XML files downloadable, instead of allowing the browser to displaying them inline.
I know I can use the Content-Disposition: attachment HTTP header (of course, better solutions ...
0
votes
1answer
137 views
navigation doesn't work in custom header.php
I've made a custom header-blog.php(for blog page/home.php) in addition to header.php, both of which use the exact same <nav> code. On the pages that use header.php, the navigation works ...
0
votes
1answer
99 views
Content-focused web design: sidebar alternatives? [closed]
I am really liking the new trend of using a full-width scrollable blog design. Sidebar simply takes up far too much space, distracting from the main piece on the page- the content. Do you know of any ...
1
vote
2answers
110 views
What is the advantage of using header-catname.php over is_category('catname');?
Let's say I have a category named as catname (the slug would be catname). I want the header styled differently when visitors open the category catname.
The article on Ghacks explains how to create a ...
0
votes
1answer
136 views
trouble calling different header.php for home.php
I'm making a site that uses the same header.php for all pages except the blog/home.php. For this, I've created blog-header.php and am attempting to call it using the following:
<?php if( ...
0
votes
2answers
129 views
adding meta data using plugin to top of head
It seems if you use the wp_head hook as an action to put your custom metadata into the head tags of your page, it is dependent on where the theme you are using calls the wp_head. In my case, it is at ...
2
votes
0answers
128 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
187 views
How to remove header images from all pages except the home page? skeleton theme
I'm using the Skeleton theme and the header image is on all pages. I only want it on the home page. Anyone got a solution?
0
votes
1answer
60 views
Edit page header on a custom plugin
I am writing a custom plugin for Wordpress but how in the world do I edit the page header? I need to add some javascript and related codes there.
2
votes
0answers
66 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
1answer
141 views
Change header.php after ajax call
Is possible change class to body_class() after ajax call to load posts/pages?
I would say no, but I have not used much with wordpress ajax, so I ask the question.
0
votes
1answer
75 views
noheader on the user/frontend side
I have an application which has the following structure on the user/frontend side:
usercontroller: generates output
userformhandler: processes user input and redirects back to usercontroller
So, ...
1
vote
3answers
662 views
How do I force wp_enqueue_scripts to load at the END of <head>?
I am loading scripts via wp_enqueue_scripts in my child theme.
The only problem is that my style.css script get loaded BEFORE plugin scripts, yet I need to override the css in the plugins with my ...
1
vote
1answer
602 views
Add social icons in a theme through custom admin menu
Is it possible to make a theme with an option of configuring social icons with links through the custom header control panel?
I googled it and found nothing that could help me, any help on that topic ...
0
votes
1answer
85 views
How to add cropped custom header image?
I don't see in my custom theme any option for uploading the header image (although there is a code for it in the header)
Do I need to register it somehow?
Also, I have a specific size I want to ...
0
votes
1answer
44 views
Banner in Wordpress
I'm trying to add an ad banner to my wordpress homepage (in the header) plus a separate ad banner for all other pages (in the header). I did get the banner up for just the homepage but I'm trying to ...
0
votes
3answers
246 views
Different header for each category
I'm working on a project where each category should have a custom header page.
Any suggestions? I'm just looking for some direction on how to accomplish this.
0
votes
1answer
107 views
How do i 'deactivate' a plugin only on a certain page template?
I have a plugin which is great but it's kind of aggressive, and it changes a lot more than it should (but there are no settings to fix this).
I have a custom page template that calls wp_head('less') ...
0
votes
2answers
84 views
unknown issue in 'header.php' preventing theme from displaying fully
My theme is currently activated and showing only the background image and the "home" link. I believe the issue lies within header.php, but I can't quite figure out what. Any ideas? (Also, is there a ...
4
votes
6answers
845 views
Add header and footer to WP backend
I want to add a header in the backstage in order to look more blend in like the frontend. Nothing much I want to add, just the header and footer is enough. The content section remains the original ...
1
vote
1answer
178 views
How to remove the header from all pages except home?
I have a Template Monster WP theme that I need to remove the headers from all pages except home. I have read several posts on this, but my code is a bit different. Can someone please help me? The ...
-1
votes
1answer
67 views
How change the header color?
I want to change the balck color in the header and also the font color in the same place?
Update: I am using the Twenty Ten 1.3 theme
0
votes
1answer
41 views
how would I include some html in the header section of a wordpress plugin? I get an error
When I include some div into a plugin I am creating I get an error when activating the plugin.
"The plugin generated 33 characters of unexpected output during activation. If you notice “headers ...
0
votes
1answer
186 views
How can I modify the header of RSS feed items?
Specifically I would like to change the value of <dc:creator> in the feed items. In order to display the site name instead of the post author.
I'm able to hook into the_title_rss , ...
0
votes
1answer
183 views
infinite loop on page with comments after changing comments.php and header.php
I am using version 3.3.1 of wordpress but I'm following a tutorial that used version 2.7. After changing my header.php and comments.php code, I'm getting an infinite loop when I view the single post ...
0
votes
2answers
314 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 ...
1
vote
2answers
202 views
Passing a variable via wp_head and then calling it on the page
As my question suggests I'm having difficulty creating a variable in the header, via functions.php and wp_head, and then calling that variable further down the page.
For example, in functions.php
...
0
votes
3answers
571 views
Generating rel=prev and rel=next only on wordpress categories
I was trying to remove the rel=prev and rel=next tags from my website as my SEO gut suggested. I found those functions which perfectly do the magic:
remove_action('wp_head', 'start_post_rel_link', ...
1
vote
4answers
1k views
How to load a jQuery script last?
How to get this to load last?
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery("div.domTip_tipBody").mouseover(function(){
jQuery("#yyy ...
1
vote
1answer
73 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
103 views
Why does WP load so many files in the head of source code? How do I optimize it?
I have noticed that wordpress loads a bunch of files into the head of a site. This looks really sloppy and discloses vital information about the file structure of a website.
Depending how many ...
1
vote
2answers
427 views
Disable h1 and h2 from rich text editor combobox
In the Wordpress control panel, when writing a new post, I would like to disable the Header 1 and Header 2 from the text formatting combobox, because I already use them on my theme (h1 for blog name ...
0
votes
1answer
190 views
Looking for a widget that does a vertical marquee of sorts [closed]
I'm looking for a widget or to make one that does The Following:
Lists Pages from a certain category
http://i.stack.imgur.com/LJJYJ.png
Forgive me horrible artistic skills.
I'm looking to place ...
0
votes
1answer
249 views
How can I use a sliced image As banner? [closed]
I am giving a try to something i have never done before. I am trying to slice a psd file and want to use it as a banner. But the problem is, as you may already know that, wordpress only allow one ...