WordPress Sitewide Top Bar

WordPress Sitewide Top Bar

If you hadn’t noticed ( you probably did ) I now have a site-wide Top Bar that allows me to list a link or two in. I can sell these or get my visitors attention to the new most important things.

I tried downloading various plug-ins to do this for me, but I decided to code one myself as they all had to have their link on it to use it ( how low pro ) but now things are looking good and work great.

Anyways, I thought I would freely share my code with you all so that you can have this on your own blog to, its easy html and css to implement so lets get started!

Alright, well first things first. Lets load up our header.php file and place the following code right after the tag in header.php. This is the actual link text and codes so be sure to change it to whatever you believe is most important on your blog.

<!– InfectedByBugs Top Code –>
<div class=”across-the-top”>
 <a class=”alink2″ href=”
http://www.infectedbybugs.com/2008/03/04/make-an-easy-2500/”>Win$25.00, Just Subscriber To Our Feed!</a> – <a class=”alink2″ href=”mailto:support@infectedbybugs.com”>Advertise Here $25.00/mo</a></div>
 <!– InfectedByBugs Top Code –>

After that is placed you need to define the css within your css file called style.css. On the style.css file place this as the very top or very bottom for easy access to change colors and such later on.

/* *******************************
InfectedByBugs Top Bar CSS, feel free to change the colors!
* ****************************** */
.across-the-top { color: #fff; font-size: small; font-weight: bold; background-color: #6b6b6b; background-position: 0 top; text-align: center; width: 100%; height: 10px; padding-top: 5px; padding-bottom: 5px; border-bottom: 2px solid #343434; }
.alink2 { color: #fff; font-size: small; font-weight: bold; }

/* *******************************
End InfectedByBugs Top Bar CSS
******************************* */

If you find this WP plugin helpful show your love by linking back to us somewhere on your blog! Feel free to comment below with your thoughts on this simple plugin as well!

This entry was posted in Wordpress. Bookmark the permalink.

48 Responses to WordPress Sitewide Top Bar

  1. Movies says:

    is there a way to get this dynamically from a file or db.

    Moviess last blog post..My Best Friend’s Girl (2008)

  2. Thank you … another of my regular reads just did this, and I’d been wondering how they did that.

  3. Shane says:

    You took this off.. how come? Did you not make enough from it?

  4. Cash Gifting says:

    Technology has come so far from the days past. We can do so much more with our computers these days. It’s really amazing!

  5. I noticed and i like it! great job…

  6. payday loan says:

    Great Plug in. I hope many will see it and try it. WordPress Sitewide Top Bar sounds good to me.

  7. Caralluma says:

    This looks like it could come in real handy. Mucho Appreciated!

    Susie

  8. I’m not big on commenting, but nice post. I always found beneficial quality information from this site!

    Thanks for your feedback!

  9. Julian says:

    I never knew that you didn’t have to pay finance fees for payday loans. My friend Joe from Cali sent me to this site http://www.nfoblogs.com/pbk.html that gave me a free guide on how it works. This is better than getting a bank loan because even they make you pay some type of fees, but not with this technique.

  10. It really is a great plugin!

  11. bonus casino says:

    post ok, site very interesting, very thanks for this contributions!
    Bonus Casino Online – I migliori casino online con bonus in italiano.

  12. I use and highly recommend WordPress Sitewide Top Bar,it’s the best ever!

  13. Hi
    What an advanced wordpress tips. I will try to aply this in my Business online starting blog.
    Thank’s

  14. Pretty neat plugin! I will try that.

  15. Vikash says:

    I am using Maxblogpress plugin for showing Stripe ad on my blog. But not finding it useful enough. I will certainly try yours.

    Thanks,

  16. Mutuo says:

    Thanks for this, I learned a lot! I’m very bad at headlines and copyrighting! Great tips!

  17. This looks like an excellent way to do linking. From what I understand, the first link on a page is the most important to Google.

  18. Hey Thanks buddy its a great plugin I will try it..

  19. This is looking good thanks for the code..

    Jill xx

  20. Hey this plugin looks great thanks for the informational code. Brilliant work.

  21. This looks like an excellent way to do linking. From what I understand, the first link on a page is the most important to Google.

  22. 650-180 exam says:

    Good written code.Thanks for sharing .I can write code in PHP but I know how to use CSS in Html.I want little practice to do an efficient work.I will analyze your code and after it I will implement my own.

  23. This is a great post, what a great way to do linking.

  24. Hey Bro Pretty good Plugin Thanks for the great post.

  25. Lynn says:

    Great site very helpful information

  26. How i will make money online

  27. kitchen taps says:

    It just looks great. Nice and clean plugin.

  28. Thanks, at last that has found that wished to read here. By the way, I have drawings on this theme.Evden eve nakliyat , Where it is possible to throw off?

  29. Website SEO says:

    Technology has come so far from the days past. We can do so much more with our computers these days. It’s really amazing

  30. james says:

    Cool! I love tweaking wordpress, and this is another good tweak job I would want to implement on my blog. There’s one other tweak I found somewhere related to this (I forgot the url), but it requires insertion of code in the functions.php file besides the header and css files. What’s nice with it is that when you wanna change colors or text content, you need not dive back to the header file. YOu just go to the dashboard and edit the widget it is on.

  31. Imfashion says:

    Look great, thanks for sharing.

  32. eda says:

    looks awesome to me. might install that on one of my own blogs soon and see how it goes

  33. wow that is awesome. will definitely consider trying that out

  34. Looks awesome! I think I just might have to do this to my site. Thanks for the tip!

  35. Thanks for your feedback! cool ..

  36. Pool tables says:

    wow, sounds like a great idea! I am going to make the change to my site right now!

  37. It such a nice way to attract the visitors. I will follow it for my site.

  38. Nice post, keep up the good work:?

  39. kurye says:

    good plugin and clean. thank you infectedbybugs

  40. Payday Loans says:

    Love it – good work. Nice and clean which is the way I like it.

  41. I am going to add one to my site ASAP! Thanks so much…

  42. By seeing this article, I Louis Vuittonunderstand a lot,

    learned a lot of knowledge

    Read this article, Louis Vuittonsome knowledge to

    understand, thank you, the author

  43. kurye says:

    perfect plugin thank you

  44. very good content. Do you give permission to quote.

  45. Ugg Boots says:

    An ugg lo pro button man is not made for defeat.An ugg bailey button man can be destroyed but not defeated.No rational man can die without ugg boots uneasy apprehension.Better ugg knightsbridge be unborn than untaught,for ignorance is the root of misfortune.Genius17 without education is like silver in the uggs boots mine.

  46. oes tsetnoc says:

    i will not change wordpress ever because it brings me lots of profits