<?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; widgets</title>
	<atom:link href="http://www.longhouses.nl/tag/widgets/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>
		<item>
		<title>JSON Configuration</title>
		<link>http://www.longhouses.nl/json-configuration/</link>
		<comments>http://www.longhouses.nl/json-configuration/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 10:07:26 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[Open Graph]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=338</guid>
		<description><![CDATA[In order to make GavernWP framework more flexible, we decided to use files in JSON format for storing thme&#8217;s configuration and options layout in an administration panel. You may find files responsible for theme&#8217;s configuration in gavern/options/ catalog: fonts.json &#8211; a file which stores theme&#8217;s groups of fonts. By default, there are three main gropus [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In order to make GavernWP framework more flexible, we decided to use files in JSON format for storing thme&#8217;s configuration and options layout in an administration panel.</p>
<p>You may find files responsible for theme&#8217;s configuration in <strong>gavern/options/</strong> catalog:<strong></strong></p>
<ul>
<li><strong>fonts.json</strong> &#8211; a file which stores theme&#8217;s groups of fonts. By default, there are three main gropus created. In order to create a new group, it is enough to add a next object to the object table existing in this file.plik przechowujący grupy czcionek szablonu.</li>
<li><strong>menus.json</strong> &#8211; you will find space for menu used in a theme in this file. You have to remember that except adding a new object, you have to add PHP code generating menu data in theme&#8217;s code. It is also worth remembering that there could be one main menu (<strong>main</strong> field in menu object).<strong></strong></li>
<li><strong>opengraph.json</strong> &#8211; this file includes configuration of fields used in a block connected with metabox which is used for generating Open Graph data. We do not recommend to make any changes in it before you get acquainted with Open Graph tags implementation in GavernWP framework.</li>
<li><strong>styles.json</strong> &#8211; this file is used for generating additional theme&#8217;s styles. Except adding a new style, you have to remember about creating an additional CSS file which will be loaded while changing theme&#8217;s style.</li>
<li><strong>template.json</strong> &#8211; it is the most important configuration file. It includes information about a theme and it allows to switch off chosen elements of theme administration panel. It is NOT recommended to add new fields to this files because they will not be used without additional PHP code.</li>
<li><strong>widgets.json</strong> &#8211; a file including a list of all positions of widgets. Similarly to <strong>menus.json</strong> file, you have to remember that except adding a new widget position, you have to also add PHP code which generates it in a theme.</li>
<li><strong>widgets.styles.json</strong> &#8211; a file used for creating new widget styles. Thanks to its implementation, it allows to assign a style given to one widget type only or exclude some widget types from a style given.</li>
</ul>
<p>In order to understand better JSON files format, we recommend to visit the official website of  <a href="http://www.json.org/">this format</a>.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/json-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
