Today I'd like to share with you a very cool WordPress tip how to change post revision number, auto save interval and disable it completely. What is a post revision? Let me quote WordPress Codex: The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to […]
WordPress Tip: How to Limit Or Turn Off Post Revisions
10 Handy Code Snippets For WordPress
Today I would like to share with you 10 very useful WordPress code snippets. The can be used to enhance website security, performance or functionality. They are very easy to use, all to do is just paste in your WordPress theme functions.php file. You can use them on regular WordPress installation, but remember to make […]
Quick And Easy WordPress Maintenance Mode
Today quick script to put your wordpress site in maintenance mode. Just paste the code that in functions.php and only logged in user will see the front end of the site: <?php /*************************************************************************** * @Author: Boutros AbiChedid * @Date: November 14, 2011 * @Websites: http://bacsoftwareconsulting.com/ ; http://blueoliveonline.com/ * @Description: Function that puts WordPress Website in […]
How To Display Code In Post Or Pages
Today I'll show you how to fast and easy display code in WordPress post or page. The solution is to change < ? php to < ;? it's effective, but what when you want to show a long code? Nothing easier, just go to http://www.elliotswan.com/postable/ and "translate" it. Here's the example <?php get_header(); ?>
How To Make Different Admin And Theme Languages
Hey folks! WP-Snippet.com gave us a great solution, how to manage different language for dashboard and theme in WordPress. But remember to delete language define in wp-config.php first! <?php // setup one language for admin and the other for theme // must be called before load_theme_textdomain() function set_my_locale($locale) { $locale = ( is_admin() ) ? […]