Tag: functions.php

Filtering wp_title() for Better SEO

When I last submitted Magazine Basic to the WordPress theme directory, I was told that they no longer allowed direct modification of certain elements within the header.php file. That meant…

Trim Characters using PHP

I had previously written about how you can easily trim your text using a build in WordPress function called wp_trim_words() but sometimes you actually want to trim your text to…

A Better wp_link_pages() for WordPress

If you’ve written a long post, WordPress provides the <!–nextpage–> quicktag so you can divide it into multiple pages. All you need to do is make sure that the theme…

Get Latest Contributors in WordPress

If you have a WordPress blog with multiple contributors, you might want to display a list of which ones have been recently active. There isn’t a direct way to gather…