How to check if a user is logged in on WordPress blog

Below code will check if a user is logged in, this code can use when you want to show a custom message (Eg: welcome MSG) to users who logged in.

	  if (is_user_logged_in()) {
				  /* Show welcome MSG here */
				  /* no user is not logged in */

Related posts:

HTML5 page structure

HTML5 offers more powerful structure comparing to older versions of Html. There are many new …

Partner with Us

We are providing an exclusive partnership offer to individuals and companies who are interested in setting up their own web design & development company. For more information about how to partner with us, please contact us