How to add text to header below title but above nav

Well, unless the theme is doing something weird with the hook, all you should need is: function my_branding() { ?> <div id=”blurb”> LCN provides ABE (adult basic education), ESOL (English for Speakers of other languages), and GED instruction at little or no cost to adult learners in our community. If you need instruction or would … Read more

Show Different Header on a Specific Post ID

In your header.php file, you can test which page is loading and modify the markup based on this condition. For your example, the is_page() function seems ideal. <div style =”float: right; margin-top: 10px;”> <p class=”headersample3″> <?php if ( is_page( ‘###’ ) ) { ?> <a href=”https://wordpress.stackexchange.com/questions/359723/tel:555-555-5555″>555-555-5555</a> <?php } else { ?> <a href=”tel:888-888-8888″>888-888-8888</a> <?php } … Read more

adding meta data using plugin to top of head

Okay, here’s the answer: function CustomHead() { include(‘headcontent.php’); } add_action(‘wp_head’,’CustomHead’,1,1); The key is that first “1”, which sets the priority of it to run at the highest (this is an optional element, defaulting to 10, putting it at the end of the head by default). More info here: http://codex.wordpress.org/Function_Reference/add_action

How to Edit the style of header title of Twenty Eleven Theme?

The CSS rule that is setting the color of the site title, which you referred to being on line #58 of index.php (which is actually shown as line #60 in your screenshot), I think, is generated from the WordPress customizer – Appearance -> Customize from within your admin area. The Chrome element inspector isn’t referring … Read more

Change location of header.php and footer.php

It is not possible to override header/footer via hooks in respective get_header()/get_header() functions. However it is often overlooked that these function allow input and loading different headers. For example get_header( ‘nested/header’ ); will look for header-nested/header.php in theme’s folder. It’s kind of a hack in regards to subdirectory use, but it works. 🙂

Mysterious HTTP 404 header in my own scripts

It turns out that it’s the require(‘../wp-blog-header.php’); part who caused the HTTP 404 error. I replaced the header code with: status_header(200); nocache_headers(); Both are part of WordPress API. And the problem went away. I found this solution from: http://wordpress.org/support/topic/integrating-wp-in-external-php-pages?replies=22

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)