Àpèjúwe
Adds three widgets Ìtumọ̀ Yorùbá: – “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 Ìtumọ̀ Yorùbá: – simply add each one on a new line and theyÌtumọ̀ Yorùbá: ’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.
Ìgbéwọlẹ̀
There isnÌtumọ̀ Yorùbá: ’t much to do.
- Upload
logged-in-conditional-text-widget.phpto the/wp-content/plugins/directory (or install via Add Plugins Ìtumọ̀ Yorùbá: – search for Logged In Conditional Text Widget or author Paul Gregory) - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Widgets where youÌtumọ̀ Yorùbá: ’ll see three new widgets: “Text/List (If Logged In)”, “Text/List (Not Logged In)”, “Text/List”.
- Add and configure widget instances in the normal way.
- You may need to tweak your theme’s CSS to get numbered lists to show as desired. See FAQ. The UL and OL have a class of ‘textlistconditional’ which you can target if required.
FAQ
- Why doesn’t my numbered list have numbers?
-
Most likely, your theme is overriding the default styling of the LI (list item) element so that the number/bullet is hidden. This plugin does not include any CSS. However, the UL and OL have a class of ‘textlistconditional’ which you can target if required in your theme’s CSS.
- What about internationalisation?
-
All text strings are in the pgloggedintext domain. If you’d like to submit a translation, please do.
Àwọn àgbéyẹ̀wò
Àwọn Olùkópa & Olùgbéejáde
“Logged In Conditional Text Widget” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaTúmọ̀ “Logged In Conditional Text Widget” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
0.9.3
- Readme changes
0.9.2
- Logged in and Logged Out reuse same widget code, actually from the new third type which is a text widget without conditions.
- Shows title in editor when widget minimised
- Some labelling changes, e.g. now “Text/List”.
- Allows shortcodes
- Class on the UL and OL to assist CSS targeting
0.9.1
- Bugfix release (2014).
0.9
- First release (2011)
