The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
23 views

Access to the header cropping tool in modal

For the moment I access the media uploader via a meta box from the edit post screen. The code works: no problem. However, I would like to know how to be redirected to the crop tool right after the ...
-1
votes
0answers
19 views

Hueman theme - How can I set a unique header menu on a specific page? [closed]

I am using the Hueman theme, which is great. I would like to set the header menu on a certain page (stocks) to be a unique menu which I created (US, UK, CAN, AUS). I am not very familiar with PHP, but ...
1
vote
1answer
88 views

Create mobile navigation header with settings integration

I'm a seasoned programmer but a completely inexperienced WordPress developer. I'm trying to figure out how to create a header that only shows for mobile devices, and how to modify properties of that ...
0
votes
1answer
46 views

How can I customize the size of the header of my theme?

I want to change the size of my header using the Sparkling theme. In functions.php, right below this: /** * Implement the Custom Header feature. */ I added this: add_theme_support( ...
0
votes
1answer
56 views

Different header image 'Home' and Pages

I want to use two images in the header. In the home page and single.php is the image I've uploaded in the panel (named logo.png). For pages I want use the image 'logopage.png' (directory: ...
0
votes
0answers
23 views

Define Mutiple Header Images Using the Theme Customization API

The Header Image control from the Theme Customization API allows for a single header image to uploaded and used sitewide. Using this control, is it possible to save to a custom setting to allow for ...
3
votes
1answer
145 views

How to get the custom header image's alt text?

I'm using a custom header in my theme. My aim is to add an alt attribute to my custom header img element. My img element so far looks like this: <img src="<?php header_image(); ?>" ...
1
vote
1answer
55 views

Different Header Files Wordpress

How do I call a different header files in WordPress. For example, I made ​​a wordpress theme with a variety of different display header. There header1.php, header2.php, header3.php, header4.php, ...
0
votes
1answer
38 views

Adding theme support for a custom header image

I'm using add_theme_support( 'custom-header', $defaults ); to support custom header images in my theme. The $defaults are described in the Custom Headers article $defaults = array( ...
0
votes
1answer
46 views

Adding header function to theme

I changed the theme of my website this weekend but did not see that it wasn't supporting headers... I am now trying to create the get header image function manually, I managed to do someting in the ...
0
votes
0answers
26 views

Interactive tagline or similar

I would like to either (a) edit the tagline to include an html snippet, or (b) add my (interactive) contact details to the header, in the same area as tagline, but aligned to other side. I ...
0
votes
2answers
2k views

How to change default header image dimensions in twentyfourteen child theme?

I'm creating a child theme based on twentyfourteen and wish to change the custom header image dimensions. The custom header page states: Images should be at least 1260 pixels wide. Suggested width ...
0
votes
1answer
103 views

add_theme_support('custom-header') does not add the option to customize

I am using this to get custom header support to my new theme: function my_add_header_support() { $ch_defaults = array( 'default-text-color' => '', ...
0
votes
2answers
122 views

Get a sidebar at the top of the page

I want to get a sidebar ( get_sidebar( 'mySidebar' ) ) at the top of the page, so I can't call it after get_header() in the content template. How could I do it?
0
votes
1answer
62 views

Dynamic Title for custom post types

I use a custom post called "abschreibungstabelle". For all posts, I want to set the meta title dynamically: "This is a test: " & the post title Is there any easy way to do this: Actually I use ...
0
votes
2answers
49 views

Display the current post author and his url in the post header

I'm making some changes in my theme. I want that when they visit a Post the header should contain the post author and his URL. right now I'm using this: echo '<a ...
0
votes
1answer
41 views

Custom headers in WordPress, are there also custom footers?

I’m new to WordPress. I saw a custom header file in the inc folder of Twenty Twelve theme. I understand that we can use this custom header in any custom page template instead of header. I have a ...
0
votes
0answers
611 views

Install custom header file twenty thirteen theme

I'm trying to install a *.png file as a custom header using the Twenty Thirteen theme. The file contains a client's logo, site name, and tag line, and is 750 px wide x 175 px high. When I attempt to ...
1
vote
3answers
452 views

Using website header, menu and footer on Wordpress blog

I want to use the header, top menu and footer from my website on my Wordpress blog. The website itself is not a Wordpress site but the blog is and resides in a 'blog' folder on my server. So I guess ...
0
votes
1answer
152 views

Custom header image, and content, on Posts Page in twentyeleven with Static Front Page

I'm new to Wordpress, so sorry if I've missed something obvious. I have a site using (a local child of) the twentyeleven theme. I've found that if I set Featured Images on pages and posts, then that ...
0
votes
1answer
192 views

Trouble with responsivitizing my twentythirteen header

I'm using the twentythirteen theme and trying to get the header to adapt to screen resolution. I've uploaded several image files with the required resolutions, and changed my custom-header.php source ...
0
votes
1answer
322 views

How to set “lang” attribute for post/page title?

I am creating multilingual website in Urdu & English lanugage on Wordpress. Major part of site is in English. Only article's body (i.e paragraph & headings etc) are in Urdu. To assign Urdu ...
0
votes
1answer
130 views

How to change the background color of my header dynamically based on a Custom Posts types color value?

I've been able to figure out how to include the custom field i'm referencing within an inline style within a div that wraps my header. The problem is that it's in my header and so when a particular ...
1
vote
0answers
47 views

Permanently modifying the W3 Total Cache's nginx.conf file [closed]

I want to have an add_header directive inside a location block of the nginx.conf (inside the document root) generated by W3 Total Cache like this # BEGIN W3TC Page Cache cache location ~ ...
-2
votes
1answer
220 views

How to implement a custom sliding banner? [closed]

I need to make a custom slider with images (same images on all pages) in a template I am crafting for a client. Each of the slides could have a link to one of the pages. How and where should I store ...
0
votes
1answer
43 views

Set header for default posts page?

In Settings/Reading I set Testimonials as post page. How can I change the header of that page?
1
vote
0answers
44 views

Different banner for different section

I have different section like about us, portfolio, gallery. Client want to upload different banner for different section that I have given on every page custom field. But problem is I want same ...
2
votes
2answers
62 views

Loss of sharpness in jpg imported as header in twentyeleven

When importing a jpg into the header position (jpg created in indesign at 1000 px wide) for the twentyeleven theme, the photos are not sharp. what is causing this and how do I fix it?
1
vote
1answer
60 views

How to change header image size in custom themes

I'm using WP 3.5 for a CMS for one of our clients. I need to have a bigger header image than 940 × 250 pixels, so I changed width and height parameters, but when I try to upload a new image, it still ...
0
votes
1answer
41 views

header specific meta box result detect url

I've got 3 header.php files and 1 detects whether their either on page 1 or page 2. I have a custom meta box thats outputting the results onto each header - that all works fine. However when I go a ...
0
votes
1answer
43 views

Custom Menu based off custom header

I'm using my Child of TwentyTwelve Just for your knowledge, I have two sections to my one WordPress site... one is called pain, the other called anesthesia (It's a medical site for the curious). I ...
0
votes
0answers
48 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 ( ...
1
vote
2answers
232 views

Remove an uploaded header image

I'm developing a theme which supports a header image, when you've uploaded a few header images you can select to show them randomly as header image. When you want to remove one header image you can do ...
1
vote
2answers
506 views

Custom header images won't appear when set to random

I'm using a custom theme, developed from Boilerplate (some time ago). I noticed that the header images work fine when set statically, but fail to appear when set to random. I tried switching themes, ...
0
votes
2answers
259 views

Best practice to update the file header.php

I would like to know, what is the best practice for updating the header.php file: From within WordPress editor: Appearance > Editor or Directly in the header.php file itself (in the www_root)?
0
votes
2answers
338 views

Add credit to get_custom_header in alt

Been hunting for a while and I can't figure out how to use get_custom_header to get the alt text associated with the media file, so that I can add photo credits to the headers on my site. Am I missing ...
0
votes
1answer
576 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 ...
1
vote
1answer
341 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
39 views

Conditional Custom Image Header

I thought there was a conditional for a custom image header that could check whether an image had been added (not whether the feature was enabled, but actually being used). I wanted to use it to add a ...
0
votes
1answer
78 views

Creating a custom header

I am using the greyzed theme and want to create a custom header using my own image. my computer skills are limited and i have no idea where to start or how to even open the php files if that's what I ...
0
votes
1answer
470 views

Multiple Custom Headers

I am trying to add this function: add_theme_support( 'custom-header' ); I would like this to somehow combine with multiple headers. I saw some code that was PHP that checked which template was ...
1
vote
0answers
445 views

Skeleton Child Theme Add Icon Bar to Header Flex Grid

Skeleton Child Theme Version 1.6 WordPress Version 3.4.2 Child Theme installed on main Multisite: public_html, wp-content, themes. My CSS, PHP Coding skills = NOVICE What I've done: Using the ...
0
votes
1answer
186 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
947 views

Add additional upload field to Custom Header page

I use the custom header feature for my theme and I’d like to add an additional upload field to the Custom Header page in the backend (page=custom-header) for a custom logo upload. I found this but ...
2
votes
1answer
421 views

Custom text-only header

I am developing a WordPress theme and would like to make use of a custom header on a the homepage (I'm using a custom page template). I would like this header to not include an image, but rather an ...
0
votes
1answer
252 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 ...
1
vote
2answers
148 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
220 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
401 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 ...
1
vote
1answer
344 views

Header Slideshow [duplicate]

Possible Duplicate: Using short codes I want to add a slideshow in the header section of twenty eleven theme instead of header image. I have tried different plugin , but the only work into ...