<?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; menus</title>
	<atom:link href="http://www.longhouses.nl/tag/menus/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>Navigation settings</title>
		<link>http://www.longhouses.nl/navigation-settings-2/</link>
		<comments>http://www.longhouses.nl/navigation-settings-2/#comments</comments>
		<pubDate>Thu, 12 Jul 2012 13:39:30 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme back-end]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=401</guid>
		<description><![CDATA[GavernWP gives a possibility of advanced menu managing on a website. There is a list of menus available in a theme in a configuration file &#8211; menus.json. These menus are displayed in a Navigation tab: There are a few options available for each menu available on a website. Website&#8217;s main menu has more options than [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP gives a possibility of advanced menu managing on a website. There is a list of menus available in a theme in a configuration file &#8211; <strong>menus.json</strong>. These menus are displayed in a <strong>Navigation</strong> tab:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/MeetGavernWP-‹-Meet-Gavern-WP-—-WordPress-15.jpg"><img class="aligncenter size-full wp-image-709" title="Nav menu" src="http://www.longhouses.nl/wp-content/uploads/2012/07/MeetGavernWP-‹-Meet-Gavern-WP-—-WordPress-15.jpg" alt="" width="548" height="539" /></a></p>
<p>There are a few options available for each menu available on a website. Website&#8217;s main menu has more options than a menu placed e.g. in a page&#8217;s footer.</p>
<p>The difference is that a main menu has additional options connected with animation:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/MeetGavernWP-‹-Meet-Gavern-WP-—-WordPress-16.jpg"><img class="aligncenter size-full wp-image-710" title="Nav menu options" src="http://www.longhouses.nl/wp-content/uploads/2012/07/MeetGavernWP-‹-Meet-Gavern-WP-—-WordPress-16.jpg" alt="" width="537" height="99" /></a></p>
<p>These options allow to specify the type and speed of animation of a submenu.</p>
<p>Additionally, all menu types have the two options:</p>
<ul>
<li>an option specifying whether a menu given was switched on &#8211; a menu given can be switched on only on a particular subpages thanks to a <strong>Conditional rule</strong> option &#8211; then, you have to insert a rule from  <a href="http://codex.wordpress.org/Conditional_Tags">Conditional Tags</a> and logic operators of a PHP language in  a Conditional rule field, e.g. a rule displaying a menu on the homepage and in a category called &#8220;Meet GavernWP&#8221; will have the following form:  <pre class="gk-code" data-style="style1"><code>is_homepage() || is_category('Meet GavernWP')</code></pre></li>
<li>an option specifying menu depth i.e. a maximal nesting level for all menu positions displayed. If e.g. you want to skip the second menu level and display menu positions which are on the first menu level, you have to set this option to <strong>1</strong>. Of course <strong>All levels</strong> value will cause displaying all menu postions available for a menu given.</li>
</ul>
<p>You have to remember that adding a menu, except adding an appropriate entry in an configuration file <strong>menus.json</strong>, also requires creating appropriate code in a theme.</p>
<p>This code uses a standard <a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu">wp_nav_menu</a> function but you have to remember about three crucial things:</p>
<ul>
<li>code of <strong>wp_nav_menu</strong> function has to be placed inside IF condition in a form:<strong></strong> <pre class="gk-code" data-style="style1"><code>if(gk_show_menu('MENU_NAME')) {</code></pre> where <strong>MENU_NAME</strong> is a menu name, e.g. <strong>mainmenu</strong><strong></strong>. Thanks to it, there will be a functionality which allows to display a menu only on subpages chosen.</li>
<li>in the case of main menu, it is very useful to create a duplicate in a mobile version so as while displaying a website on mobile devices, a menu will be adjusted to mobile devices.</li>
<li>in the case of a main menu, you have to use a special class derived from <strong>Walker</strong>: <strong>GKMenuWalker</strong> class; however, for a mobile menu, you have to use <strong>GKMenuWalkerMobile</strong> class. Thanks to it, appropriate menu structure will be generated.</li>
</ul>
<p>CSS code connected with a menu is in <strong>css/wp.css</strong> and <strong>css/mobile.css</strong> files.</p>
<p>Scripts creating main menu animations are in <strong>js/gk.menu.js</strong> file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/navigation-settings-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>
