WordPress: Rearrange category order

on October 21st, 2011 in Tutorial, Wordpress

Just recently I ran into a problem with the category order. The oldest category was “New Publications”. So dividing the items based on their category and then looping over them would always put items from the “New Publications”-category at the end of the page, which is rather unpleasant. WordPress sadly has no option to rearrange the order of categories (at least I couldn’t find it).
Read more

WordPress: Improved dynamic Excerpt

on April 4th, 2011 in Tutorial, Wordpress

Let’s be honest, the default WordPress excerpt function is bad. It is nice to have access to a quick post summary but the only thing you can control is the length, which refers to the first x words of the post’s content. But that is not enough if you have limited space. The length will differ widely from word to word. Aside from that the excerpt will almost always cut off mid-sentence, which doesn’t look very nice in my opinion (even if there is the good old [...] at the end).

This post will explain how to display an excerpt, which is not longer than a predetermined length and doesn’t cut off in mid-sentence.
Read more