How to Add Logo to Wordpress Site, and Show Code In Worpress
Posted in: Other Software, Tutorials
Hi I just have a quick PHP/wordpress question and was wondering if could help me out? I can transfer a small sum to your paypal
My client explained that he was trying to follow a Solutions To Your Wordpress Problems blog article to replace his site name with a logo. Alex, the author of the article, did an excellent job at responding to the same question left as a comment on his blog.
How to Show Your Readers HTML or PHP Code
Only if Alex knew about the Code Auto Escape plugin, he’d be able to display code as text instead of an image. However, the Code Auto Escape doesn’t appear to work with the newer wordpress versions. Hopefully, he’ll try HTMLizer, a tool that can convert code into readable text. I read all about writing and publishing code in your wordpress blog post at BlogHerald.
Back to helping my client…
Even when solutions are explained very well, php code is very foreign to non-programmers. I provided my client a simple line of code that achieved his goal and rendered me a fast paypal gift.
<a href=”<?php bloginfo(’url’); ?>”><img src=”http://i151.photobucket.com/albums/s139/msmoneygirl/GrowLongerNails/drink.jpg” alt=”" /></a>
Well not quite. I’ve replaced the clients image url with one of my own that I’m using on My TopSite List for confidentiality. Use the code above in your header.php file to add your logo to your wordpress site.
That’s all. Don’t forget to subscribe now for free site updates.
Here’s a totally un-related web design video for your fancy.
Related Tutorials:
Return to: How to Add Logo to Wordpress Site, and Show Code In Worpress
Social Web