Post thumbnail has been developed since WordPress 2.9, and it's being used more and more widely in every WordPress websites. But there're still old-version WordPress websites out there still doesn't use this great feature (yet). And there're also … [Read more...]
How To Get Post Thumbnail URL In WordPress
WordPress has had post thumbnail feature since version 2.9. But untill now, there isn't offical function to get post thumbnail url. The get_the_post_thumbnail() function is very close, but it only returns HTML code. Of course we can parse this code … [Read more...]
Quick Tip: “e” Modifier For Regular Expression
There's a question about regular expression on WPQuestions yesterday that received some interesting solutions. The question is replace all semicolons between [[ and ]]. I myself found a solution uses "e" modifier which I think interesting. … [Read more...]
Validate Email Address In WordPress
Validate email address is very common task for all web developers. An usual method is using regular expression. This is strong method and works in most cases. But in WordPress, we don't have to spend plenty of time thinking about validation pattern. … [Read more...]
Insert Content After Some Posts In WordPress
This is a very common usage when you want to add content after some posts in WordPress, like Google Ads, divider or something like that. When reading WPQuestions, I found a good solution for this problem created by Michael Fields. … [Read more...]




Recent Comments