How to Change Placeholder In Post Title
In WordPress Admin, You can change Placeholder of `Post Title` by using following code into your theme’s `functions.php` file. Add this Code into your theme’s functions.php file
In WordPress Admin, You can change Placeholder of `Post Title` by using following code into your theme’s `functions.php` file. Add this Code into your theme’s functions.php file
Here is little Snippets of WordPress that I’d like to share with you.Following code will help you to display complete list of all the settings from `options` table of database. You can see this page in “wp-admin –> Setting –> All Settings“. Add Following code to your theme’s `functions.php` file: function enable_all_settings_link() { add_options_page(__(‘All Settings’),… Continue reading Enable Hidden Admin Feature Displaying ALL Site Settings
Using following three steps, you can add your custom fields in WordPress Registration Form. 1). Add a hook to registration form to add a new form element, 2). Validating registration form after submission using the filter registration_errors hook. 3). Add below code to Updating user meta in database after successful registration. Have fun!
Here is a way to restrict registration to a specific email domain using following WordPress hook. You can add more domains to restrict list by adding domain into $blockDomains. and also you can edit your custom error message(By changing $error_message)…
Here you can build a dynamic Calendar with PHP, Following function will generate table structure of calender… Simple uses:- Also, You can add Css to this calender. Eg:-
To Enable Shortcodes In Text Widgets, Add the following code into your theme’s function.php
WordPress hooks are very useful because they allow you to “surcharge” an existing WP function with your own code. But when things goes wrong, it should be useful to be able to list all hooked WordPress functions. Here is the code to it. The first thing to do is to paste the following function in… Continue reading List All Hooked Functions
Use this code to change the permalink settings from your functions.php file. The .htaccess mod_rewrite it is still necessary.
Add This code in theme’s function.php file…