Logged In Conditional Text Widget

Adds a pair of text widgets – one only shows if user is logged in, and the other only shows if a user is not logged in.

Author:Paul Gregory (profile at wordpress.org)
WordPress version required:2.8
WordPress version tested:3.7.41
Plugin version:0.9.2
Added to WordPress repository:08-06-2011
Last updated:19-03-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://paulgregory.org.uk/wp-plugin/logged-in...
Total downloads:3 315
Active installs:10+
plugin download
Click to start download

Adds three widgets – “Text/List”, “Text/List (If Logged In)” and “Text/List (Not Logged In)”. These can be used much like the normal Text widget, except two of them only display if the condition is met.

Potential Uses:
* Add a link to a Register page, along with some text promoting registration (for example on a site with the bbPress plugin)
* Display adverts to users who are not logged in
* Display useful links to users who are logged in.
* Display a nice list to everyone.

Because the widgets are separate, you can have the logged-in widget in a different place to a logged-out widget. You don’t even have to have pairs of widgets.

Unlike the normal Text widget which just has a toggle for paragraph on/off, this widget has four display options:

  • No formatting
  • Add paragraphs
  • Bullet list (ul)
  • Numbered list (ol)

The list options are useful if you are adding a number of links – simply add each one on a new line and they’ll be turned into a bullet. Please note that this plugin adds no CSS. Often themes style the lists within a widget to make menus look nice, so your theme may (for example) prevent numbers from showing. See FAQ.

You may find that the Text/List widget is useful even without the logged-in / logged-out conditional.


Screenshots
FAQ
ChangeLog