Search result is one then land or redirect to single wordpress post

Search result is one then land or redirect to single wordpress post

Users always use the search the keywords in wordpress sites. Many times clients wish about this functionality. If there is only one result came from search result then user should redirect to single landing post.

You should open the functions.php file and put following code in functions.php file. Continue reading

how to add the guest author custom field in wordpress admin

how to add the guest author custom field in wordpress admin

Some times you need people want to add the guest author’s articles in your site. If you want to add the guest author custom field in wordpress admin. you can use the following code. You need to open your functions.php … Continue reading

How to secure the wordpress file uploads using apache rules

How to secure the wordpress file uploads using apache rules

Website security is most important point of any website. In wordpress we need to give 777 permission to wp-content/uploads folder. Some time we dont want to give the 777(read, write and execute) permission to folder due to security reason but … Continue reading

Disable or Remove the comments to wordpress pages

Disable or Remove the comments to wordpress pages

Many people want to disable the page comments. Using simple code you can easily disable the comments for your pages by default. Here I written simple code. Using following code you can disable the comments for your wordpress pages. you … Continue reading

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

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 it very easily. 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