Add a Twitter Icon to your WordPress Sidebar

Filed under: Technology, Tutorials by: brennan

Want to add a button to your sidebar that links to your Twitter feed? This post will show you how to find, customize, and place a Twitter icon on your WordPress sidebar.

Step 1: Find an icon

Here are a few links to sites that provide various Twitter icons:

Twitter Icon Factory
100 Remarkable Twitter Icons
Search Google Images

(more…)

Modify footer.php in WordPress Theme and Cannot Access Blog

Filed under: Technology, Troubleshooting by: brennan

*** Update 23/05/2010

There are two techniques, that I know of, used to cause this behavior. One is to encrypt the contents of footer.php, and the other is to insert scrambled code into functions.php. In my case, there were two blocks of code in the functions.php file that started like this:

eval(str_rot13(‘shapgvba purpx_sbbgre()…

I was able to simply delete these two blocks of code, save functions.php, and then edit the contents of footer.php without having the blog disabled. I would, however, recommend that you keep a backup copy of both functions.php and footer.php in case your attempt doesn’t go as smoothly as mine. You could then upload both files, via FTP, in case something goes wrong.

On morality, I do believe that the authors of the theme should be given credit, however, they were inserting links (advertisements) in the footer that had nothing to do with the theme’s author. For this reason, I decided to remove the links.

Further information here.

***

You may have attempted to modify the footer.php file of your WordPress theme and the following error message appeared:

“This theme is released under creative commons licence, all links in the footer should remain intact”

Resulting error after modifying the footer.php file

Resulting error after modifying the footer.php file

The message appears whether you try to access your blog or the back-end administrative interface.

The reason for this is that the footer contains links to the author of the WordPress theme. The theme has been programmed to lock you out of the blog if these links are removed or altered.

One solution to this problem is to find a backup copy of the footer.php file and re-upload it to the appropriate theme folder via FTP. Your web hosting provider should provide an FTP tool that you can use to do this.

(more…)

Hiding Pages In WordPress

Filed under: Technology, Tutorials by: brennan

If you want to create a new page in your WordPress blog, but you don’t want it to show up as a link or button on your webpage, then this post should help you.

As you probably know, when you create a new page in WordPress, it automatically appears on your auto generated list of pages. A lot of the time, that’s not what we want to happen. For example, I wanted to create a new page in my blog called “Special Offers”, but I didn’t want to waste any space on my navigation bar. I just wanted a simple page that I could link to from another page. I did some research and here’s the solution I found:

(more…)