Tag Archives: wordpress

How to change url behind the logo in WordPress

If you are running a blog alongside the main site or using wordpress to run in a subdomain you may want to update the standard logo click from returning a usage to the blog homepage to another location.

If you have a regular WordPress setup you can hack this together quite quickly.

Don’t forget to copy the contents to somewhere safe just in case you have a keyboard slip!

Follow these simple steps:-

  • In “Appearance”, choose “Editor”
  • From the right hand-side find the file called “header.php”
  • Use control+F [cmd+F for you pesky Mac users] to find
    <a href="'; bloginfo('url'); echo '/">
  • change it to
    <a href="HTTP://WWW.EXAMPLE.COM/">
    • However, if you update your theme you may loose your personal hacks/updates. If you clever and need to make many alterations, you should look into Child Themes, but that is for another day. Hope that helps a little.

How to put an embed code box in your post

If you need to use an embed code section on your site to get this effect. This is example embed code from a live example infographic we recently put lived.


To embed our infographic/image/assets to your wordpress blog or site, simply just cut and paste the code below:


You need to use a few different tags and attributes including

  • textarea to get the box
  • cols and rows for the width and height of the textarea
  • onclick for how to select all the text
  • And the usual stuff for the image source and links

Your code will look something like this:

<textarea id="copytext" cols="60" rows="5" onclick="SelectAll('copytext'); pageTracker._trackEvent(['Infographics', 'copy_share', 'embed_code']);">
<a href="http://example.com"><img src="http://images.example.com/infographic_lq.jpg" alt="Alt text" width="490px" height="4605px" border="0"></a>
<p>Made by My Company with credits and maybe a link.</p>
</textarea>

Hope that helps. We all learn through doing!

This blog is ready for the iPhone, iPad and Android etc etc

I have just installed WPTouch on this wordpress blog.  This plug-in – I think is genius.  Its from the guys at BraveNewCode. I have the free version, as I am an individual, this suits me fine.  But this is clever and shows a custom version for people on mobile devices.  If you are like me and do most of my industry/SEO reading on my iPhone or their ilke; then a website that renders properly is really quite handy. This currently makes me more advanced than many companies or professional bloggers! Well for a couple of weeks at least.

Here is a screen-grab of this site using the default user-agent set to iPhone and re-sized to 320px by 480px (believe is the iPhone screen size).

this site on the iPhone