Many people want to disable the post comments for some posts which has too many comments. Using simple code you can easily disable the comments for your posts which has many comments. Here I written simple code. Using following code … Continue reading
Category Archives: wordpress tutorials
Change the wordpress admin login page logo
There are milions of wordpress CMS user. Many people want to remove the wordpress admin login page wordpress logo and put there site logo. Using following code you can easily add your custom logo in wordpress admin page. You just … Continue reading
how to get user information in wordpress
You can print the user information using following information. You can put following code in your theme folder.
How to create custom shortcode for your wordpress site
There are many wordpress plugins which are using the shortcode. Since Version 2.5 WordPress support so called Shortcodes. They have been introduced for creating macros to be use in a posts content. For more information visit following page. For creating … Continue reading
Remove theme editor from WordPress setting menu
Many wordpress developers want to remove the theme editor option from wordpress appearance settings menu. Using following code you can easily remove editor.
Hook/Filter – In wordpress Admin -Add new Post section -Display the authors in a dropdown menu using wp_dropdown_users
One of my client faced issue with Autor drop down which is in Admin section While creating the New post there was problem with the Author field. There are hundreds of irrelevant selections (users) and it’s difficult to select the … Continue reading
How to Add the social Bookmarks Icons in WordPress without using any plugins
All wordpress sites use the social bookmarks for sharing there content. For adding social bookmark they always use the wordpress plugins. But that plugins will add some mysql quries and apache requests to your server. I recommend not to use … Continue reading
Using get_post_meta in wordpress post in the functions.php file: Smart way
The get_post_meta method is very useful in wordpress If you want to shorthand the get_post_meta call for the current post then you can use following: you can use above method through functions.php file. You need to put following code in … Continue reading
How to load the custom javascript to custom page template in wordpress
For many pupose and designs we use the page template in wordpress site. Some time we need to load the custom javascript to page template. For that we can use following code. For loading any script or any custom code … Continue reading
How to save the meta data in wordpress custom post type
Custom post type are very important in wordpress. There are some nice plugins for creating the post type but I recommend custom code in function.php file. I already written about custom post type. If you want to know about custom … Continue reading








