{"id":103201,"date":"2011-06-08T08:00:00","date_gmt":"2011-06-08T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/logged-in-conditional-text-widget\/"},"modified":"2014-03-19T10:43:00","modified_gmt":"2014-03-19T10:43:00","slug":"logged-in-conditional-text-widget","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/logged-in-conditional-text-widget\/","title":{"rendered":"Logged In Conditional Text Widget"},"content":{"rendered":"<p>Adds three widgets \u2013 \u201cText\/List\u201d, \u201cText\/List (If Logged In)\u201d and \u201cText\/List (Not Logged In)\u201d. These can be used much like the normal Text widget, except two of them only display if the condition is met.<\/p>\n<p>Potential Uses:<br \/>\n* Add a link to a Register page, along with some text promoting registration (for example on a site with the bbPress plugin)<br \/>\n* Display adverts to users who are not logged in<br \/>\n* Display useful links to users who are logged in.<br \/>\n* Display a nice list to everyone.<\/p>\n<p>Because the widgets are separate, you can have the logged-in widget in a different place to a logged-out widget. You don\u2019t even have to have pairs of widgets.<\/p>\n<p>Unlike the normal Text widget which just has a toggle for paragraph on\/off, this widget has four display options:<\/p>\n<ul>\n<li>No formatting<\/li>\n<li>Add paragraphs<\/li>\n<li>Bullet list (ul)<\/li>\n<li>Numbered list (ol)<\/li>\n<\/ul>\n<p>The list options are useful if you are adding a number of links \u2013 simply add each one on a new line and they\u2019ll 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.<\/p>\n<p>You may find that the Text\/List widget is useful even without the logged-in \/ logged-out conditional.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adds text\/list widgets - one only shows if user is logged in, and the other only shows if a user is not logged in. A third shows regardless.<\/p>\n","protected":false},"author":65,"featured_media":302473,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Logged In Conditional Text Widget - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Adds text\/list widgets - one only shows if user is logged in, and the other only shows if a user is not logged in. A third shows regardless."},"footnotes":""},"categories":[1],"tags":[1342,181,1295,120],"class_list":["post-103201","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-conditional","tag-login","tag-register","tag-widget"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/103201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=103201"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/103201\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/302473"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=103201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=103201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=103201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}