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)