The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
57 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 ...
0
votes
1answer
69 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
51 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
1answer
253 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
1answer
107 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
53 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
289 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
443 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
181 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 ...
0
votes
1answer
48 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?
0
votes
1answer
49 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
48 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
56 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
1answer
90 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
2answers
721 views

add_theme_support( 'custom-header' ) does not add option menu in dashboard

I'm writing a new theme from scratch, based off the Toolbox theme. My installation of WP is straight out of the box. I added add_theme_support('custom-header'); to my functions.php file, but the ...
0
votes
1answer
619 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
votes
1answer
22 views

header_image not returning header image url

I have following setup: //set defaults $args = array( 'default-image' => get_template_directory_uri().'/images/banner.png', 'random-default' => false, ...
-1
votes
1answer
187 views

Modify a Themes Appearance >> Header admin screen from a plugin

I have been attempting to build a plugin(my very first) that adds some functionality for use with the Custom Header admin screen. I would like to have my plugin add an anchor link to the Appearance ...
-2
votes
1answer
315 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 ...