Archive for the 'WordPress' Category
I added the Image Headlines WordPress plugin to my blog tonight. This is the same plugin I use on the average admins blog. Since my listing of entries has the nifty little calendar thing going on with the cool title background, I only added the image headlines to the single posts (the page returned when you click on a post title from a post listing) and pages (About, About: Cocoa Crusty, etc.).
I created a link to the comments RSS feed. I had to steal a little code from the average admins site to remember how to do it but its there.
I also created me a favicon this evening since my site has been missing one since it’s inception. It’s nothing fancy, just a “
“. Anyway, I have one until I can be more creative and come up with something else.
Until next time…
I’ve been making some additions to my WordPress blog, better known as this site or www.cocoacrusty.com. Some of the changes were CSS changes, some were some enhancements to the blog via WordPress plugins, and I also added some links to some friend sites to the blogroll. I have documented the different things I have done to the site below:
… or vice versa.
I use Bloglines for keeping up with the many blog and news feeds I read. For some reason, and this may be a WordPress 2.1 thing, when I check my feed in Bloglines there are never any new posts showing up. I always have to tell it to show me posts for the last “X” number of days in order to see any of my posts.
I’m going to have to look into that. Something’s not right here. If anyone else out there is subscribed to my feed, do you experience this, too? Do you use Bloglines or another RSS feed aggragator? If anyone out there knows the solution for correcting this issue, I’d love to hear it.
Until next time…
I just got my blogroll working on this site. I had previously posted an entry about WordPress version 2.1 breaking my blogroll because the theme I am using used a reference to a database table, linkcategories, that no longer existed in version 2.1. When I wrote my original post I mentioned that I would be using the wp_list_bookmarks() function to correct my problem. However, I could not get that function to display my links the way I wanted them to look so they would be consistent within my theme. So, I ended up using the get_links() function and everything worked out as I wanted it to.
I upgraded the cocoacrusty.com blog to WordPress version 2.1 on Monday of this week and my theme doesn’t seem to appreciate the new layout for the new links structure in 2.1. It seems that the link tables used for blogrolls has changed dramatically and the table linkcategories doesn’t even exist any longer. I started getting a “SELECT cat_id, cat_name FROM” error because my theme utilized some code that made direct queries to the database instead of using the built-in functions of WordPress which are updated when a new release comes out and changes are needed.
I did some research and found these two threads on the WordPress Support Forums. The first link shows others who are experiencing the same problem. They show code examples from their themes and their was another post in there that pointed to this thread.
The second link above describes the new functions to use when accessing links within WordPress. I looked further in the WordPress Codex and looked at the actual function information for wp_list_bookmarks. This is supposedly the new way to list links in the theme as it uses the new database functions and also allows for a ton of customization by passing arguments to the function in the style of wp_list_bookmarks('arg1=foo&arg2=bar');. The arguments are basically passed in the same style you would pass arguments in a URL query string.
So, now all I have to do is find a little time to mess around with the new bookmarks/links/blogroll function to get the output to work with my theme. Hopefully I can jack with it a little this evening and get my blogroll back online.
Until next time…
