<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Longhouses &#187; widget rules</title>
	<atom:link href="http://www.longhouses.nl/tag/widget-rules/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longhouses.nl</link>
	<description>creëert business</description>
	<lastBuildDate>Mon, 10 Feb 2014 12:13:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Widget rules</title>
		<link>http://www.longhouses.nl/widget-rules-2/</link>
		<comments>http://www.longhouses.nl/widget-rules-2/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 07:59:29 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[widget rules]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=370</guid>
		<description><![CDATA[Widget rules is a mechanism which introduces a completely new way to manage widgets on a website. Thanks to it, it is possible to specify widget features such as: displaying on subpages chosen, displaying on devices chosen, displaying for a group of users chosen, displaying with a widget style use chosen. After switching on widget [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Widget rules is a mechanism which introduces a completely new way to manage widgets on a website. Thanks to it, it is possible to specify widget features such as:</p>
<ul>
<li>displaying on subpages chosen,</li>
<li>displaying on devices chosen,</li>
<li>displaying for a group of users chosen,</li>
<li>displaying with a widget style use chosen.</li>
</ul>
<p>After switching on widget rules in theme&#8217;s advanced settings, under each widget, the following options should be displayed:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1.jpg"><img class="aligncenter size-full wp-image-371" title="Widgets ‹ Meet Gavern WP — WordPress-1" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1.jpg" alt="" width="258" height="200" /></a></p>
<p>The most extensive options are those connected with a widget visibility on subpages chosen &#8211; after choosing an option to show a widget on pages chosen (or an option not showing a widget on pages chosen), such a panel will appear:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1-1.jpg"><img class="aligncenter size-full wp-image-372" title="Widgets ‹ Meet Gavern WP — WordPress-1-1" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1-1.jpg" alt="" width="240" height="203" /></a></p>
<p>Then, you have to choose a page&#8217;s type to add, e.g. Category, and then give category ID:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-2.jpg"><img class="aligncenter size-full wp-image-373" title="Widgets ‹ Meet Gavern WP — WordPress-2" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-2.jpg" alt="" width="242" height="216" /></a></p>
<p>After clicking &#8220;Add page&#8221; button, a page will appear on a list of pages chosen on which in our case a widget will be displayed:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-3.jpg"><img class="aligncenter size-full wp-image-374" title="Widgets ‹ Meet Gavern WP — WordPress-3" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-3.jpg" alt="" width="233" height="77" /></a></p>
<p>Of course, it is possible to add more pages:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-4.jpg"><img class="aligncenter size-full wp-image-375" title="Widgets ‹ Meet Gavern WP — WordPress-4" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-4.jpg" alt="" width="230" height="100" /></a></p>
<p>To make it clearer, , each page&#8217;s type is displayed with a different color. A page added can be removed by clicking a removing icon placed on the right side of each page.</p>
<p>In this way, you may set a widget so as to be shown on pages chosen or to be shown on all pages except the chosen ones.</p>
<p>Generally, widgets are shown on all pages.</p>
<p>An option of displaying a widget on devices chosen has five options to choose:</p>
<ul>
<li><strong>All devices</strong> &#8211; a widget will be displayed everytwhere &#8211; on every device</li>
<li><strong>Desktop</strong> &#8211; a widget will be displayed only when neither a <strong>tablet.css</strong> file nor a <strong>mobile.css</strong> is loaded <strong></strong></li>
<li><strong>Tablets</strong> &#8211; a widget displays only when a <strong>tablet.css</strong> file will be loaded and, at the same time, a <strong>mobile.css</strong> file will not be loaded <strong></strong></li>
<li><strong>Smartphones</strong> &#8211; a widget will be displayed only when a <strong>mobile.css</strong> file will be loaded</li>
<li><strong>Tablets/Smartphones</strong> &#8211; a widget will be displayed when at least one file will be loaded: <strong>tablet.css</strong> or <strong>mobile.css</strong>.</li>
</ul>
<p>Thanks to these settings, it is possible to limit significantly the amount of content displayed on devices with small screens.</p>
<p>An option of displaying widget for a chosen groups of users has four options to choose:</p>
<ul>
<li><strong>All users</strong> &#8211; a widget will be displayed to all users</li>
<li><strong>Only guests</strong> &#8211; a widget will be displayed to not logged in users</li>
<li><strong>Only registered users</strong> &#8211; a widget will be displayed to logged in users only</li>
<li><strong>Only administrator</strong> &#8211; a widget will be displayed to administrators only</li>
</ul>
<p>Thanks to this option, it is possible e.g. to display messages specified by using widgets for a group of users chosen.</p>
<p>The last optio from widget rules is an option for choosing a widget style &#8211; it causes appending to a widget main container an additional class giving styling specified by a user.</p>
<p>Widget styles are defined in widget.styles.json file and in CSS code &#8211; in this case in <strong>css/wp.extensions.css</strong>.<strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/widget-rules-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
