Trim Characters using PHP
August 13, 2012
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…
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…
When I first started putting out Premium themes for WordPress, I create a custom excerpt function that would trim your post content to a certain number of words. Today, I…
This is just a little snippet I discovered in the WordPress codex that allows your to display the time since your post was published. I wrote it into a little…
WordPress shortcodes are macro codes that allow you to perform certain actions within the post content. By default they only display on single post pages within the post content. The…
I wrote a little function a while back to Check if a Page is a Child of Another Page in WordPress called is_child(). It used the page ID to return…
Over the past month I have been working on a large project that has taken up a lot of my time, but I wanted to quickly share two small functions…
If you use a word multiple times on your site and you don’t feel like going through all your posts to replace every instance of it, you can use jQuery…
A little while back, I updated Magazine Basic and added the Ajax save function. When I uploaded it to WordPress to await approval, I received some feedback on how I…
This is not a function that you would need to use often, but I came across a reason to use it recently and I thought it might be a good…
As it stands, jQuery is an amazingly efficient JavaScript framework, but there are a few things that you can do when creating your code that will end up slowing it…