Disable comments on posts after certain commment count in wordpress

Disable comments on posts after certain commment count in wordpress

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

how to get user information in wordpress

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.

Full url path to files custom setting is removed from media library- wordpress setting

Full url path to files custom setting is removed from media library- wordpress setting

As per changes of wordpress 3.5 “Full url path to files” which is media library setting is removed from wrodpress settings. If people want to set easily the upload path or subdomain for uploaded images they are not able set … Continue reading

cron is running every time wordpress – disable the cron job

cron is running every time wordpress - disable the cron job

Before every post visit wordpress cron is running and taking too much bandwidth.  if you have a lot of visitors it can be a problem. I am convinced this is the reason why my admin has become glacially slow and my … Continue reading

How to Add the social Bookmarks Icons in WordPress without using any plugins

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

How to load the custom javascript to custom page template in wordpress

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

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

How to protect from wordpress spam comments words and increase the SEO

How to protect from wordpress spam comments words and increase the SEO

Spam comments is really major issue with wordpress. Spam comments will effect your site SEO. You should delete the spam word comments from wordpress site. For SEO of your site deleting spam word comments is good. Here are some steps … Continue reading