How do I begin debugging where the description meta tag is set for my categories?

in seo.php in the custom folder line 73 global $suf_seo_meta_description, $wp_query; if (is_home()) { $description = $suf_seo_meta_description; } else if (is_singular()) { $description = suffusion_get_post_meta($wp_query->post->ID, “suf_meta_description”, true); if (empty($description)) { // Check the old meta field $description = suffusion_get_post_meta($wp_query->post->ID, “meta_description”, true); } if (empty($description) && is_front_page()) { $description = $suf_seo_meta_description; } } else if (is_category() … Read more

Point get_header() to different plugin

get_header() is not filterable. Neither is locate_template(). Themes can alter which header loads by passing a parameter to get_header(). There is no obvious way that I see for plugins to alter which header loads. As I think about it, that makes a lot of sense. It would be fantastically easy for plugins to break themes … Read more

Export Header and Footer

I’m doing the same thing for my themes. I’m currently using twenty fourteen as a base for my child theme. What I do, I create 2 folders, namely css and functions. Say for instance I putting custom code in the footer, I will create a footerstyle.css in my css folder and a footer-functions.php in my … 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

What is this HTTP_REFERRER “WordPress/4.1.2”

That log entry indicates the someone form that IP is requesting a image file from your site. The referrer “WordPress/4.1.2” indicates that it is probably using WP HTTP API, so the image is not just inserted in HTML (using <img> or any other HTML element) but requested server-side. Why? It can not be known with … Read more

Insert Facebook button into header [closed]

You need to add position: absolute to your Facebook button. Header.php <div class=”logo”> <a class=”logoimga” title=”Gelnagels Gina” href=”http://www.gelnagels-gina.be/”> <img src=”http://www.gelnagels-gina.be/wp-content/uploads/2015/04/Gina4.png”> </a> <a class=”header-img-1″ title=”Facebook-header” href=”#”> <img src=”http://www.gelnagels-gina.be/wp-content/themes/optimizer/facebook.png”> </a> </div> CSS .header-img-1 { left: 15%; position: absolute; top: 50px; }

Empty header tags [closed]

It seems to be missing the opening <?php or else that text shouldn’t be readable above the image. The file seems to be using index.php but it’s possible depending on your theme setup that it’s a different file missing the <?php. Therefore, get_header() is not filling the header at all, because it’s displaying as HTML … Read more

Include two headers

Use custom header-templates. create a file for example “header-home.php”. Put your code in it and then get it by using <?php get_header(‘home’); ?> You can also use header-templates inside a other header-template. Lets say you have the top navigation. You want it in all headers. Then put the code for this in your header.php. Then … Read more

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