Add custom menu, Add theme locations & register new menu

Wordpress developers guide to add custom menu in a new wordpress theme. Adding theme locations, menu locations, register new menu, menu locations and integrate menu in templates using register_nav_menu & wp_nav_menu functions.

A WordPress developers guide / tutorial – for adding custom menu in new wordpress theme, add one or multiple new theme locations for the custom WordPress menus, so that menu can appear in those places. Register new menu items. Enable your new wordpress theme to add custom user defined nav menus from the admin dashboard. Continue reading “Add custom menu, Add theme locations & register new menu”

Password protecting WordPress Page / Post in which you need to enter password every time

Special type of password protection of Wordpress Pages or Posts in which you need to enter password every time. Normally you need to enter password only once.

Password protecting WordPress Page or Post : in which you need to enter password every time.

The Problem is : I have set a password for a  page/post in my wordpress blog. I need to ensure that the information should be protected by a password. Normally if you enter a password its kept by the browser cookies. So you don’t need to re-enter passwords. But if I don’t want that. Then what- if I need to re-enter password for each visit..???? Continue reading “Password protecting WordPress Page / Post in which you need to enter password every time”

No plugin required- remove the pending spam comments in wordpress

Are you in trouble by 1000s of spam comments of WordPress? Everyday you are getting hundreds of spam comments and you are deleting them via WordPress dashboard -> comments link manually?

Do you know without a plugin you can do this and just you need to write SQL command for it. And you need your website database access for it. Use this SQL command

select * from wp_comments where comment_approved = “0″; Continue reading “No plugin required- remove the pending spam comments in wordpress”

How to create wordpress plugins: tutorials

WP Plugin Creation – Create a Custom WordPress Plugin From Scratch. Create feedback form plugins. Create plugins that access databases and wordpress admin section.

I have found the following WordPress tutorials very useful for the beginners to write a plugin in WordPress. Here few plugins tutorial has been listed below. You will be able to build simple contact forms in WordPress after reading one, another tutorial will guide you to change the administration section and login page logo etc. Just go through them and enjoy… Continue reading “How to create wordpress plugins: tutorials”

WebRoot access permission, Cannot write in /www/var/html

To install WordPress, to update WP themes in ubuntu, to install or update plugins (WP), to install new WP themes in the WEBROOT of local web servers like Apache, you may have faced the following type of access problems & permission errors.

To install WordPress, to update WP themes in ubuntu, to install or update plugins (WP), to install new WP themes in the WEBROOT of local web servers like Apache, you may have faced the following type of problems. Normally web server folder in local Ubuntu installations are located in /var/www/html . Continue reading “WebRoot access permission, Cannot write in /www/var/html”