Trim Your Text with wp_trim_words() in WordPress
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…
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…
I just stumbled across these two little pieces of code and thought that they might be useful to some people out there who want to mess around with the default…
I have already mentioned a few ways to do this but I have discovered a few problems with my old code. I have improved this one quite a bit so…
After I posted Limiting the Number of Words in Your Excerpt or Content in WordPress I thought it would be a good idea to actually create a little plugin for…
This is just a revamp of a function I wrote a while back to add the ability to limit the number of words displayed when you call the excerpt or…
I was just putting together a WordPress widget for a client and I came across a small road block. I was using <?php query_post(); ?> to set the loop to…
WordPress is great and I pretty much love everything about it. But it does have it’s little idiosyncrasies that can often give you a headache if you don’t really know…