Wordpress Hacks
Limit Wordpress Posts Text Length Without The Use Of Plugins
Sometimes when creating wordpress themes you might want to automatically limit the length of post text that is displayed in the main page post teaser view to make things easier for clients when writing articles. You could use a plugin like limit-post etc but I always find it much easier to contain all these type of modifications within the themes own functions.php file. This little wordpress hack will allow you to limit the displayed post text by a defined number of words on your blogs home page.
A Cool Little Wordpress Hack To Help Protect Your Blog From Comment Spammers
If you own a Wordpress powered website you will most surely have Askimet enabled to help detect and easily manage spammers from posting comments. Askimet is a great plugin that has worked pretty successfully for me on all wordrpess sites that I own or administer. This little wordpress comment hack adds another layer of protection though by looking for the HTTP referrer (the page where the request comes from) and automatically blocks the comment if the referrer is incorrect or not defined.
Search this Site
Stuart on Twitter
- @wptaverncan you imagine dealing with every customer support request by email each day \o/ at least with a forum old answers solve issues
- @wptavern it's a very competitive marketplace and if you enter it without a great support network your going to have headaches in my opinion
- @wptavern cool see it now :) their support setup looks ropey to me? fill in a form seriously? at bare mimum i would expect forum support.
- @wptavern do you know if they are following the GPL approach on their themes like others have done, Couldn't see any info on their site.
- @wptavern didn't notice that. strange i would just have used ejunkie for everything, maybe they don't like the ejunkie aff settings.
Recent Comments
- hack on A Cool Little Wordpress Hack To Help Protect Your Blog From Comment Spammers
- Lawrence Krubner on WPQuestions A Paid Problem Solving Site For Wordpress
- You are now listed on FAQPAL on Limit Wordpress Posts Text Length Without The Use Of Plugins
- Brad Mahaffey on Are Wordpress Premium Themes Becoming Too Heavy and Bloated With PHP Code
- Brad Mahaffey on Why I Am Being Forced By VirginMedia’s New Spying Tactic Cview DPI To Encrypt My Overall Internet Connection



