2
votes
1answer
71 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(); ?>" ...
0
votes
1answer
27 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
43 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 ...
-2
votes
1answer
180 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 ...
1
vote
1answer
304 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/ ...