I’d like to use the tags I have made for posts as their keywords in the Meta field. It makes good SEO, even if keyword tags are going out of style, it can’t hurt. This is what I have so far:

[php]
< ?php if (function_exists('UTW_ShowCurrentTagSet')) {
// Check if UTW exists, if so then do this: ?>
<meta name=”keywords” content=”< ?php echo UTW_ShowCurrentTagSet('tagsettextonly'); ?>“>
< ?php } ?>
[/php]

I place this little tidbit of code within the header PHP within the following if statement so that it only shows up on pages or posts:
» Read the rest of the entry..

Over at the K2 forums, people are diligintly helping other people out. Its a great place to get answers about php coding for your wordpress site and the K2 theme. One of the members of the forum (steveo) wrote up the following code for a dynamic sticky using K2. Originally, I had written up a short tutorial on how to make certain posts ’sticky’, or stay at the top of your blog while other posts lined up behind. This allows you to feature some posts over others. The original code for Kubrick, the default theme for wordpress is here.

Steveo has gone and tweaked it up for K2. His original post is here, with the code pasted below: » Read the rest of the entry..

Please read the article and comments.

Open Source is about transparency. Talk to the authors and ask for permission or authorization. If they don’t agree, fork the projects and create a new one based on their projects.

» Read the rest of the entry..

I need a wordpress plugin or method that allows me to show code in posts such that readers can cut and paste it out of the page and into their own application and have it work. Any ideas?

Not that at this time, these intructions are valid for V163 only. Thats not to say they won’t work with later versions (I’m sure it will), but finding the exact code to change may be hard. Anyway, read through them all before starting. In some cases, you may want to just comment things out instead of deleting them (read how to do this at the end). And feel free to ask questions.

1. Install http://semiologic.com/software/static-front/ and don’t activate just yet
2. Create a page and give it the slug of home. This will become your static front page.
3. Create a category called blog, and shove all posts into this category or just move all other categories into it. (you don’t have to call it blog FYI)

4. [optioinal] Edit your permalink structure. You cannot remove /category/ from the permalink structure so I changed

» Read the rest of the entry..

One of the good things about moving from 1and1 is that I now have access to an excellent web stats package(s). 1and1 stats were garbage (in fact, we had to install our own), but the new host (asmallorange) are not so. Perhaps the first thing I noticed is that my old image gallery sure was getting a lot of hits — 600 a day. Wow, my pictures sure must be awesome! Who is linking to me and what accolades do they bestow upon them?

Upon reviewing the logs, I notice a trend. Most of the hits to the website look like so:

/albums/underwater/uw2.jpg
Http Code: 200 Date: Jan 09 12:23:58 Http Version: HTTP/1.1 Size in Bytes: 3491
Referer: http://profile.myspace.com/index.cfm?
fuseaction=user.viewprofile&friendid=XXXXXXX
Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YPC 3.2.0; SV1; .NET CLR 1.0.3705)

Strange eh? So what to do…

No pageviews, no browsing around. These people just take the image(s) and run. Wikipedia says that hotlinking

is the placing of a linked object, often an image, from one site in a page belonging to a second site. The second site is said to have an inline link to the one where the object is located. It is used for such activities as linking images from personal home page storage into the online diary of the person controlling the personal home page.

This has sometimes been controversial because it is possible that the site where the object is stored and from which it is retrieved will not like the new placement or will consider it to be bandwidth theft. This term refers to the unauthorized use of someone else’s bandwidth. Inline linking to an image stored on another site increases the bandwidth use of that site, even though their site is not being viewed in its intended form. Since bandwidth is a commodity, unauthorized use can increase the maintenance costs of the website hosting the image, hence the term bandwidth theft.

» Read the rest of the entry..

This code has been updated for K2.

Recently, I showed how to create a dynamic sticky for wordpress. This allows you to keep a post of a certain category at the top of your blog while posts from other categories are ordered as normal below it. You can see it in action here at maxpower. If this is new to you I suggest you read the first post, creating a dynamic sticky for wordpress, for a more indepth explanation of why and what this does. » Read the rest of the entry..