Logo is not being displayed in header (Twentytwelve)

Replace the image code with the below one. Actually you are giving the root path in your image source but the image is in your theme folder. Also check if the images folder name is image or images. <img src=”https://wordpress.stackexchange.com/questions/159297/<?php bloginfo(“template_directory’); ?>/image/logokovil.png” alt=”logo” height=”100″ width=”100″>

extra code in – blank jquery function

As per comments: this code is not doing anything. To find the culprit, first change your theme to a standard one to see if the theme is adding it. If yes, check header.php if it is hardcoded there or else functions.php for any instances of add_action(‘wp_head’…, where it might be lingering. If it’s not the … Read more

Empty lines in header, how to remove them

The blank lines are probably being generated by code that is hooked to the wp_head action. Generally speaking this is not a big deal as it won’t affect the way your page is displayed in a browser. There are some downsides like the size of the HTML document that is transmitted, but this can be … Read more

How to add Post Tags to a new element in header.php?

Use get_the_tags() instead of the_tags(), get_the_tags() does the following for you: Returns an array of objects, one object for each tag assigned to the post. with which you can work with to achieve what you want. See the examples on the codex page for more information.

Import a header template from another theme

As you have now stated that both Theme A and Theme B are already Child Themes, perhaps you could try adding this to your funcions.php file in Theme B – add_action(‘wp_enqueue_scripts’, ‘enqueue_front_scripts’); function enqueue_front_scripts(){ /** Switch to the parent blog */ switch_to_blog(1); // You may need to change the ID, I don’t know what ID … Read more

Where are the contents of WP_Head

Looks like the source of my problem is a function called admin_bar_bumpin wp-includes>admin-bar.php. It’s for the admin bar and when I log out it goes away so it wasn’t effecting the style of the site for logged out users. I was able to filter it out in my functions.php file. That’s actually no better than … Read more

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