WordPress Themeing Cheat Sheet

WP Theme Cheat Sheet

WpCandy has released an awesome PDF which contains helpful information related to developing themes for WordPress. The cheat sheet includes the following:

  • Basic Template Files
  • PHP Snippets for the Header
  • PHP Snippets for the Templates
  • And Extra Stuff for WordPress

The resource has been translated into Spanish and Romanian in case English is not your native language. At any rate, click here to view the PDF within your browser. Alternatively, you can right-click and save the file to your desktop.

Considering Matt Mullenweg and company are considering a WP-Theme Marketplace where unique theme designers can be paid for their designs, it might be a good time to pump up that WP theme knowledge.

Highlight Blog Author Comments

For a long time, I’ve been looking for a plugin that would change the commenting area for the blog author so that regular commenter’s or visitors would be able to tell at a glance when the author of a post or blog replied to a comment. Thank goodness the search is over. Thanks to the recent mention on the WeblogToolsCollection blog, I have found Highlight Author Comments.

Highlight Author comments was exceptionally easy to install. Once you download the plugin, unzip the contents to your desktop or a folder of your choosing. Upload the highlight-author.php file into your plugins directory and activate the plugin.

The plugin options were located on my install by clicking on the OPTIONS link and then HIGHLIGHT COMMENTS. There is only one configurable option for this plugin and that is the CSS styling. This is where knowing CSS helps. All I wanted to do was change the background color of my comments. Here is a screenshot showing how I did it.

My Highlight Author Options

The plugin homepage actually contains a few examples of CSS code that you can edit, copy and paste into this box. One thing worth noting is that you don’t need to place a { or } at the beginning and end of your CSS. The plugin does this automatically.

I have this plugin installed and running. You’ll notice my comments now have a shade or two darker grey when compared to everyone else’s comments. I think it’s a good plugin for every blog to have. It’s nice to browse through a post that may have 100 comments and being able to pick which ones were from the article author at a glance. It also let’s visitors do a quick Who’s Who.

I suppose I can set my unreplied forum topic requesting this plugin to RESOLVED. Thanks goes out to Rob Marsh for creating this plugin. I and many others really appreciate it.

List Of WordPress Plugins I Use

Wordpress PluginsOver the past few weeks, I have had a number of individuals ask me questions regarding the plugins I use on this site. I thought I would take the time today to tell you every plugin installed and in use on this blog. This article took 2 hours to write and I hope it answers most of your questions. If not, ask away within the commenting section of the article. At the end of this list, let us know which plugins you suggest to use. Enjoy!

Plugin//Version//Description

AddThis Sidebar Widget 1.2 – AddThis is an awesome plugin that gives users the ability to bookmark a specific page to one of any number of bookmarking services such as Digg, Delicious, Technorati, ect. Instead of having a ton of icons or badges for each service, I can use one image which makes it easy to implement and use. You can see this plugin in action by clicking on addthis plugin at work

Akismet 2.02 – I don’t think enough can be said about Akismet. Akismet was created by Automattic as an anti spam application. It’s one of the best around and without it, I would of had to manually delete 2,500 entries which have been detected as spam. If you are running WordPress, make sure this plugin is activated.

AskApache Google 404 2.2 – This plugin has turned my WordPress 404 Page into something useful. I wrote a detailed review of this plugin here ( Add Google Ajax To Your WP 404 Page ) and it has become the second most viewed article on this blog. Google 404 adds an Ajax powered search into your 404 page. When someone ends up on a 404 page, the terms that generated the error are automatically plugged into the search bar which generates a Google search amongst your own blog, the internet, images ect. To see it in action, visit https://jeffc.me/blabla

Dagon Design Sitemap Generator 3.1.2 – This is one of two sitemap generator plugins that I use. This plugin is highly customizable and gives me the options of how I would like to display my sitemap to the public. When you visit https://jeffc.me/my-sitemap/ the output comes from this plugin. Works seamlessly in combination with my Google XML Sitemap generator.

Digg This 1.0.2 – There are many WordPress plugins that center around Digg but this one is still one of my favorites. When anyone submits one of my blog posts to Digg.com, I am notified by email and a Digg button is automatically placed on the right side of the post. The plugin works by detecting a referral url from Digg. You can customize where the digg button shows up within your post as well as a few other options. To see the plugin in action, visit ( Migratr – Backup And Migrate Your Online Photos )

Dofollow 2.1 – I covered this plugin more in depth here ( You Comment I Follow ) Essentially, this plugin strips the “REL=NoFollow” attribute from a commenter’s URL. This is good for Google juice to be applied to those that comment on your blog. It’s also a good showing of appreciation to those that engage in the conversation through comments.

FeedBurner FeedSmith 2.3 – This plugin finds all the ways to subscribe to your blog and consolidates them into one feed using FeedBurner. This ensures accurate feed reader statistics. It’s one of the first plugins you should install when you begin a WordPress blog so that it’s as accurate as possible.

Get Recent Comments 2.0.2 – This displays the most recent comments/trackbacks on the sidebar. I have implemented this plugin near the top center of the page called MOST RECENT COMMENTs by adding the hook into it’s own div container. There are a number of different formatting options to display this plugin which make it highly customizable for your situation.

Google XML Sitemaps 3.0 – This is purely a Google only sitemap plugin. What I like most about this plugin is that it creates sitemap.org compatible sitemaps which are supported by Ask.com, Google, MSN and Yahoo. This plugin combined with my other sitemap plugin covers my blog at all angles.

JS Toggle Boxes 1.4 – Js Toggle Boxes provides a means to add a plus symbol or a minus symbol to a div element that contains an unordered list. Using a combination of Javascript, CSS and cookies, readers of this site can now show or hide at least 6 different content blocks.

Live 0.4.1 – Wrote about here ( WordPress Real Time Browsing Stats ) Live gives WordPress admins the chance to see who is browsing what in real-time. The plugin provides information such as IP address, whether the user is on a page, comment, or a hit from an RSS aggregator, and referral URL. This is probably one of the most used plugins I have installed to monitor what’s going on. I’ve been anxiously awaiting a new version which promises additional functionality.

Live Comment Preview 1.7 – I came across this plugin while reading a blog post on how to make your WordPress blog Web 2.0ish. Powered by Ajax, this plugin gives readers a chance to preview their comment in real-time before it’s published. You can use the provided preview function to add a PREVIEW area anywhere on your site. It’s nice to know what your comment will look like before it’s published.

Most Viewed Widget 1.0 – This is an addon for another plugin called WP-Postviews which I’ll get to later. This widget will take the posts with the most number of views and display them as a widget or wherever you place the hook. You can modify the plugin code to determine how many articles are shown in the widget.

MyAvatars 0.2b – I covered MyAvatars here ( MyBlogLog And Gravatar Support ) in light of the recent Gravatar acquisition. MyAvatars displays avatars from both MyBlogLog and Gravatar. The best of both worlds it would seem.

MyBlogLog Widget 2.0 – In order to use a MyBlogLog widget, you first have to visit MyBlogLog.com and create one. Once you get the code for the widget, paste it into a TEXT based widget. This is essentially how you add any 3rd party widget to your site.

Optimal Title 3.0 – One of the first plugins I’ve ever installed, Optimal Title mirrors the function of wp_title() exactly, but moves the position of the ’separator’ to after the title rather than before. This is what enables me to have links within the title bar of your browser that look like this

Optimal Title

Notice how the name of the post comes before the actual title of my page. I read this was supposed to help with SEO but I’m not sure if it has or not.

Related Posts 2.04 – This plugin returns a list of related entries based on active/passive keyword matches. The relation happens automatically and so far, it has worked out pretty well. This plugin becomes more accurate as you publish more posts. Not a good plugin to use if you have under 30-50 posts.

SezWho WP1.2 – SezWho is a comment rating/reputation based service. Users rate on comments for a given post which can in turn, leverage ratings of a commenter on other blogs. Replace the concepts of Gravatar with comment rating and user reputation and you should get the idea behind the service.

Share This 1.4 – Another awesome plugin that consolidates what would be a number of different images or badges into one easy to access control panel. ShareThis gives your users the oppurtunity to share a post with others through social bookmarking or by email. This is one of my favorite plugins as it provides so much functionality in such a tidy, neat package.

Subscribe To Comments 2.1.1 – This plugin adds a check box to a comment form which gives users the chance to subscribe to a particular page and it’s comments. After you subscribe to a post, each time a user comments on that blog entry, an email will be sent to your account letting you know someone has carried on the conversation. In my opinion, this is a function that should be supported out of the box.

What Would Seth Godin Do 1.3 – This plugin gives me the chance to configure a default welcome message to brand new visitors of the site. It uses cookies so that after a configured amount of times, the welcome message disappears. The welcome message contains the text “Welcome to my blog, if you enjoyed reading this, perhaps you would like to subscribe for more RSSLINK” Not sure if this has contributed to my RSS subscriber count but I haven’t had any complaints.

wp-cache 2.1.2 – The oh so infamous Wp-Cache. You almost have to use this plugin if your using WordPress. Wp-Cache is a very fast caching module that is actually modules within modules. This plugin has been known to withstand the Digg effect as well as the Slashdot effect. How’s that for noteworthy. I have quite a few issues with WP-Cache that I can’t seem to figure out but I’ll post about those some other day.

WP-PageNavi 2.20 – If you scroll to the bottom of this blog’s home page, you should see the numbers 1, 2, 3, ect in little squares. That is actually the PageNavi plugin in action. This plugin is just an advanced version of pagination which gives users more control over the navigation of the blog.

WP-Polls 2.21 – What good is a blog or website without a poll? This plugin is pretty much the defacto standard for polls within WordPress based sites. The poll is powered by Ajax, can be customized to match your template, supports multiple selections for answers, and the ability to use more than one poll at a time. There is also a Poll Archive page that be added to your site if you so choose.

WP-Polls Widget 2.21 – This widget works along side WP-Polls and displays the actual polls as a widget within your WordPress Template.

WP-PostViews 1.20 – This plugin provides a way for you to see how many views a particular blog post has. You can configure this plugin to show guest views, registered member views or both. I use this plugin just to provide me with “at a glance” statistics for posts. It’s a good feeling to be reassured that people are reading what I write.

WP-Print 2.20 – WP-Print adds the ability for users to print specific articles. The plugin contains options to allow users to print comments, posts, pages, or a combination of everything. I’ve added this functionality to my blog just in case someone feels to the need to print out a tutorial or something.

WP-Stats 2.20 – Displays your WordPress blog statistics. This plugin ranges from general blog statistics to plugin statistics. The plugin statistics are actually stats from a number of other plugins created by Lester Chan that you may have installed on your blog.

WP-UserOnline 2.20 – This plugin gives you and your user’s a chance to see who is currently browsing your blog. The plugin shows which registered members, guests and search engine bots are on your site and which URL they are currently browsing. It also provides a referral url to see where that user came from.

WP AJAX Edit Comments 1.1.1.4 – Reviewed here ( Digg Like Comment Editor For WordPress ) is a plugin written by Ronald Huereca of the Readers Appreciation Project. This plugin gives administrators and regular users the ability to edit their own comments within a given time frame. The plugin pretty much works in the same way that the Digg commenting system works. As I have always said, every blog should provide some sort of way for a user to edit their comments. This plugin is a nice solution to that problem.

WP_EasyReply 1.0 – It becomes tiring typing out something like @whoever each time you want to reply to someones comment. This plugin does that task for you, albeit with a little bit of help. Out of the box, EasyReply provides a link which automatically puts each user account name that has commented since your last reply into the comment box. With a little bit of hacking, I was able to get this plugin to perform the mundane task of typing out @username which is a time saver and a blessing for my fingers. To read how I hacked this plugin for my own purpose, please read ( WordPress Comment Reply Plugin )

Conclusion:

Wow. Can’t believe I’m finally finished with this article, 2 hours later. At any rate, I hope this article answers everyone’s questions as to which plugins I’m using. Installing and configuring the plugin is one thing, how you implement the plugin into your template is a different ballgame. I’ve used a bit of creativity on my blog but it shouldn’t be too hard to discover which content blocks are using which plugin.

Please share your experiences and or implementations of the plugins above if you use them. If not, please tell us which plugins you use and why.

WordPress 2.3.1 Ready For Download

WordPress LogoWordPress 2.3.1 has been released for download. The latest version contains bug and security fixes. According to WordPress.org, 2.3.1 contains over twenty bug fixes. Some of the fixes that are highlighted in this release are as follows: Tagging support for Windows Live Writer , Fixes for a login bug that affected those with a Blog Address different than their WordPress Address, Faster taxonomy database queries, especially tag intersection queries and Link importer fixes.

Unfortunately, some security issues were found in 2.3. Janek Vind found an XSS problem that can be exploited if your php setup has register_globals enabled. For this reason, upgrading to 2.3.1 is advised.

The full set of changes between 2.3 and 2.3.1 is available for viewing on trac.

Get 2.3.1 from the download page and enjoy.

I’ll be upgrading this site later tonight and will let you know how it went. If you upgrade this evening, let us know how it goes.

20 Weird Blogging Terms

Here is a list of 20 blogging terms with their supposed definitions. I’ve never seen most of these terms used which is why they qualify as weird to me. Let me know if you recognize any of these terms and be sure to add on to the list in the commenting area.

Weborexic – Referring to tiny (width-wise) layouts. Coined by Rhiannon Phillips.

instalanche – Sudden and possibly overwhelming increase in traffic to a site after being linked to by the Instapundit

K-log – aka “knowledge log”, a type of blog usually used by knowledge workers and posted on a company intranet for sharing company knowledge.

Gulog – A portmanteau of “gulag” and “blog”. Used when a blog is so dismal and depressing, it’s as if it were written in a Soviet labour camp.

Glog – A first-person recording of an activity, in which the person doing the recording is a participant in the activity. Probably a portmanteau of “gonzo” and “blog”.

Blooger – A blogger who exhibits adolescent tendencies and lacks basic social graces or good manners. A portmanteau of “blog” and “booger.”

Blistless or B-listless – When a blogger becomes listless or apathetic about posting. It is also indicative of what will happen to the blogger’s mailing list.

Bleg – A blog entry consisting of a request to the readers, such as for information or contributions. A portmanteau of “blog” and “beg”. Also called “Lazyweb.”

Biblioblogosphere – A humorous reference to the world of librarian blogging

Fisking – To rebut a blog entry in a line-by-line fashion.

Phlog – Type of blog utilising the Gopher protocol instead of HTTP

Scribosphere – Term to encompass blogs written by professional and aspiring screenwriters. A portmanteau of “scribe” and “blogosphere”.

Svithe – A spiritually themed post on a blog not normally focused on spiritual matters.

Vorage – A marriage between the words forage and video defined as “The act of foraging for video on the internet and sharing it with others.” Bloggers or vloggers who share streaming or downloaded video content on the web often engage in voraging, scouring search engines and obscure websites to present a curated collection of videos that usually fall within a set theme or editorial perspective.

Blogorrhea – A portmanteau of “blog” and “logorrhea”, meaning excessive and/or incoherent talkativeness in a weblog.

BlogRush Upsets 10,000 Bloggers

BlogRush.com Logo

I received an email this morning from BlogRush letting me know that my blog had passed their strict guidelines. However, 10,000 blogs apparently didn’t get approved and among those that weren’t approved were valid blogs that were following the guidelines without any problems. Some of those blog authors that owned a valid blog that was removed from the BlogRush service have published rants against the service and John Reese himself.

After reading quite a few of these rants on various blogs and reading the responses of John Reese, it would appear as though that most of what was complained about is not true. First of all, if your blog fails to pass the strict guidelines by BlogRush, your account is moved into an InActive state which is considerably different than being banned.

Secondly, it has to said that the blogs were reviewed by humans. There are going to be mistakes made and each human being may interpret something differently than the next. This is apparent because John Reese himself has commented on various blogs that were deemed InActive when in reality, that particular blog was following the guidelines.

It is really easy to jump on a THIS COMPANY SUCKS bandwagon but come on, put a little sense into your post and stop jumping to conclusions before the real story unveils itself. I believe the best example of how this situation was handled correctly was by LocalSEOGuide. Although the post content is questionable, the way Andrew handled it in his comments section with John Reese is a good example of how to solve the situation. Believe it or not, Andrew mistyped his BlogURL which came up as “locaseoguide.com” which when reviewed, the site wouldn’t load causing the reviewer to mark his site as inactive.

Just remember something people, nothing is usually as it seems.

As for myself, my blog passed the guidelines but I have since removed the widget from this site. I am now a fond supporter of CLIQ which I reviewed here ( Share Blog Traffic Via CLIQ ) and I go into detail as to why it may one day kill BlogRush here ( Why CLIQ May Kill BlogRush ) Calm down bloggers, being InActive on BlogRush is not the end of the world.

MyBlogLog And Gravatar Support

MyAvatars LogoIn a previous post I mentioned that I would highlight a plugin that enables avatars from both MyBlogLog and Gravatar to be displayed at the same time. That plugin is called MyAvatars MyAvatars displays avatar images from MyBlogLog and Gravatar yet, Gravatar support is not enabled by default. Among the obvious, MyAvatar sports the following features:

  • Added nofollow for avatars (from 0.2b)
  • “No image bug” solved (from 0.2b)
  • Title attribute for avatars in english ;) (from 0.2b)
  • “Big images” bug fixed (from 0.2a)
  • Improved XHTML validation (but we still use onload=””) (from 0.2)
  • Gravatar support (not active by default) (from 0.2)
  • Trackbacks/Pingback support (Works good, but it’s not perfect) (from 0.2)
  • Support for blogs with more than 1 author, works very well (from 0.2)
  • Separated CSS Style (from 0.2)
  • Email address is now safe!!! (from 0.2)
  • Customizable title for the avatars (from 0.2)
  • Gets MyBlogLog avatars of your commenters
  • Links directly to their MyBlogLog profiles
  • Easy installation & template integration
  • Added email support for retrieving profiles (from 0.1a)
  • If not MyBlogLog member will prompt the registration page (from 0.1a)

I believe everyone’s comments.php file is different but here is a screenshot depicting where I have placed the MyAvatar function.

Placement Of My Avatar Plugin

I’m not sure what impact the recent acquisition of Gravatar will hold for this plugin but so far, everything still appears to be working normally. One of the cool aspects of this plugin is that, if WordPress integrates Gravatar support within the WP core, you can turn Gravatar support off so it only displays MyBlogLog avatars. This will allow you to keep the functionality of displaying avatars from both services.

WordPress 2.3 And Fantastico

WordPress Fantastico Script

I’ve noticed that this site is receiving quite a bit of search engine traffic from people looking for information in regards to WordPress 2.3 and Fantastico. Fantastico is an auto installer for popular scripts such as content management systems, forums and the like. WordPress is one of the scripts supported by Fantastico that will auto install if you choose to go that route however, your then left at the mercy of Netenberg. Until Netenberg updates the Fantastico auto installer to include the upgrade to 2.3, your stuck at 2.2.

The image displayed up above is from Fantastico through my own webhosting account. It’s been three weeks since the release of 2.3 but I imagine its taking them some time as WordPress 2.3 was a major upgrade and Fantastico is wildly popular. Most webhosting providers use CPANEL as their user control panel verse any other control panel.

According to their official forum, WordPress 2.3 support will be part of their next release. So hang in there!

Work In Progress

After struggling to move my hosted WordPress installation onto my local pc, I have completed the theme edits that I have been wanting to make for some time now. I have moved the Chatter box from the footer of the site and to the top to see if more people will use it. Having it at the top of the site should make it easier for everyone to see if their are any new messages. This is still an experiment and if I discover it’s of little to no use to this site, I”ll remove it. However, I would really like to have some real-time conversations with you, the readers.

I’ve removed the ARTICLE SUBMISSION link from the top navigation area. Last but not least, I have added the FeedBurner Subscriber chiclet to the footer. Since I now have a somewhat respectable number of subscribers, thanks to you of course, I can now display those numbers prominently on the blog. The reason I waited so long before adding the chiclet revolves around human perception. If I were to display this chiclet while it showed a low number, say below 50, this site would automatically be perceived as a piece of trash. But now that the chiclet shows around 100 subscribers or so, people who notice the chiclet may realize that this site is somewhat interesting or worthy of their time considering 100 of their peers already think so.

Feedback on the changes is always appreciated. I’m open to all suggestions and ideas to improve the readability and functionality of this site.

By the way, would anyone be interested in a tutorial on how to install your web hosted WordPress installation to your local PC in order to change themes or text plugins?

I See Your WordPress Plugins

Wordpress.com LogoSimonne of AllTipsAndTricks.com has posted a helpful tip for WordPress users. By default, the permissions for your WordPress directory are set up in such a way to allow the public viewing access. Like Simonne, I’m not sure what the practicality would be except for those snooping around or those trying to figure out which plugins you have installed in which they can then look for vulnerabilities or exploits in those plugins to hack your site.

The fix is quite simple. You can do one of two things, change the permissions of that directory from 0755 to 0750 or, you can upload a blank index.html file. When I set my plugin folder to 0750, some of my plugins decided to stop working. So I opted for option two. In fact, I added a redirect within my index.html page that redirects the browser to my homepage.

Here is the code I used in my index.html file if you would like to do the same.

Redirect Code I Used In My Index.html File

UPDATE -Thanks to LGR for adding this in via the comments. You can simply add Options -Indexes to your .htaccess file. This will redirect anyone who is trying to view a folder index to your 404 error page without the need of creating empty index.html files. Thanks again LGR.