Custom blocks for logged and non logged in users

This addon for WSHK is ready to let you use restricted blocks for logged in and non logged in users.

You have 2 classes: WSHKLOGGED and WSHKNONLOGGED to add.

 

 

You can use as you need in pages or posts and is very easy:

  1. Copy the shortcode in the page or post where you want to use.
  2. Add the class WSHKLOGGED in the element that you want to restrict and display only for logged in users.
  3. Add the class WSHKNONLOGGED in the element that you want to restrict and display only for non logged in users.