Greetings,
I need to have a Myspace-like header on all pages and all blogs, I tried doing it by modifying the Admin-Bar plugin and adding the cde, but I was wondering if there is a way to do it with a mu-plugin file. I dropped the header code into the mu-plugin folder and it loaded, of course, it broke the admin interface, so, what code can be used to limit the load of a code to blog pages?
this is the code Im using:
<style type="text/css">
.tfheader {
width: 955px;
height: 100px;
background:#906;
margin-top: 20px;
margin-left:auto;
margin-right:auto;
text-align: left;
}
</style>
<div class="tfheader">
<img src="http://tanfemenina.com/Portals/1/Skins/tanfemenina/images/tf_header_main_01.jpg"> Hola como estas!
</div>
This code is in a file called "tfheader.php" and it should be uploaded to the wpcontent/mu-plugins directory and just work.
How can I include this file to the Admin-Bar plugin? I am trying to add this after the bar's code:
include '/wp-content/mu-plugins/tfheader/tfheader.php'
any ideas? any other simpler ways to do this?
thanks in advance