Author: Bandicoot Marketing

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…

Gridiculous for WordPress

I’ve been working on a WordPress theme for my Gridiculous boilerplate for quite a while and I’m finally finished. I submitted it to WordPress.org but it usually takes them a…

Using the Ternary Operator in PHP

It took me a while to actually figure out the name of this type of operator since trying to search “PHP” and “question mark” didn’t really result in anything useful.…

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…