WordPress tip: Get all custom fields from a page or a post
No comments yetSometimes you may need to get all custom fields from a specific post or page. Thanks to Paul, who contributed to WpRecipes, for sharing a function that do the job.
Sometimes you may need to get all custom fields from a specific post or page. Thanks to Paul, who contributed to WpRecipes, for sharing a function that do the job.
Nick of ElegantThemes.com just released a killer option page for all his themes. To celebrate this great achievement, Nick decided to offer an ElegantThemes subscription to two of my readers. Just read this post to know more about Nick’s options page and the contest.
By default, the loop is the easiest way to display WordPress posts. Though, we can create a shortcode that will make post displaying ven simpler. Perfect for sites who are using WordPress as a CMS!
When working with lots and lots of plugins, it can be useful for developers to be able to check if a particular WordPress plugin is active or not. Just read this recipe to find out.
Did you know that in WordPress, the $theme variable control the apparence of your blog? In fact, its value is the name of your theme. In this recipe, I’m going to show you how you can switch themes using a simple code snippet.
Theses days, there’s a lot of talk about WordPress security due to recent issues. Is your blog secure? Here is a quick tip that you can easily implement to prevent displaying useful message to potential blog hackers.
The the_title(); function allow you to simply display the title of a post or page. Sometimes, you may need to be able to overwrite this function and use a custom title. here is how to do it, using a custom field.