0
votes
1answer
17 views

Dynamic meta description

I am trying to make the <meta name="description" content=""> pull the content from single posts, but I am running into a snag. Currently I am using this: <meta name="description" ...
5
votes
2answers
208 views

Auto get_header and get_footer on every template?

Is there a way to automatically run get_header() at the beginning of template and get_footer() at the end of it? Currently my code is too repetitive with those calls. I've been looking for a way to ...
0
votes
1answer
34 views

How do the default themes reference style.css?

I was expecting to see get_stylesheet_uri() called somewhere in the default header.php file for the default themes (2012-14), but anything like it is missing, which has me wondering how the reference ...
0
votes
2answers
100 views

Second menu has the first menu ID

I registered two menus top-menu and main-menu. I created two menu on the admin panel and assigned one to each (different items) But when I view the front end, I see that the two menus have the same ...
0
votes
2answers
162 views

Template Hierarchy for get_header()

I'm considering having different headers depending on the area of the site. So thought it might be possible to tap into the template hierarchy (or at the very least, re-use some of the code) and ...
0
votes
2answers
83 views

Why isn't my if/elseif/else working correctly here?

I am using a simple if/elseif/else bit of code to generate a header image for my page, I can't seem to understand why it isn't working properly. It determines the category of the page being displayed ...
0
votes
2answers
181 views

Dynamic menu links after header title

I am using Parabola theme of Wordpress, and i would like to display few dynamic menu links for logged in users, just at the right of the header title. As shown in the below image, Menu 1 and Menu 2 ...
0
votes
1answer
63 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 ...
3
votes
1answer
135 views

Get file headers in custom file

in my one of my plugins i have modules (kind of like plugins in a plugin), is there a function like get_plugin_data() or wp_get_theme() that will allow me to get the header section of a custom file ...
0
votes
1answer
99 views

header, stylesheet not being read

I'm working on a theme that doesn't seem to be reading the header and/or stylesheet. All of the code seems to check out correctly, so I'm a little confused as to why this is happening. Perhaps I've ...
0
votes
1answer
117 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 ...
0
votes
1answer
371 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?
1
vote
1answer
1k 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
109 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 ...
1
vote
1answer
319 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 ...
0
votes
1answer
325 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 ...
1
vote
1answer
1k views

How to remove header image in Twenty Eleven theme?

Please give me details on how to remove the custom header image in the Twenty Eleven theme.
0
votes
2answers
524 views

How to reuse parts of WordPress site e.g. header, footer, part of header for multiple WordPress sites?

I am looking for a solution to reuse the header and footer navigation links (with style, of course) in one of my WordPress website for several other WordPress sites. Please note that I'm trying to ...
-2
votes
1answer
618 views

How to create full header but keep content narrow

I want to set a full header in wordpress theme, while i want to keep the content narrow (center). How can i do that? I'm trying like: <body> <!-- BEGIN header --> <div ...
1
vote
1answer
9k views

How to create a fixed header and scrolling content area

I've bee experimenting with a site I'm working on. My client wants the header with its nav and logo intact, so visitors always have the ability to access the navbar while scrolling to read the page ...