<?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; typography</title>
	<atom:link href="http://www.longhouses.nl/tag/typography/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>Typography button</title>
		<link>http://www.longhouses.nl/typography-button/</link>
		<comments>http://www.longhouses.nl/typography-button/#comments</comments>
		<pubDate>Wed, 11 Jul 2012 14:52:14 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme back-end]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=386</guid>
		<description><![CDATA[To simplify shortcodes use available in themes based on GavernWP framework, a button for theme&#8217;s typography has been implemented which is available in a posts editor: &#160; By clicking this button, you will see a list of available typography elements: &#160; It is possible to choose a version with a stylistic specified for the majority [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>To simplify shortcodes use available in themes based on GavernWP framework, a button for theme&#8217;s typography has been implemented which is available in a posts editor:<a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-4.jpg"><img class="aligncenter size-full wp-image-705" title="button typo" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-4.jpg" alt="" width="474" height="118" /></a></p>
<p>&nbsp;</p>
<p>By clicking this button, you will see a list of available typography elements:<a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-5.jpg"><img class="aligncenter size-full wp-image-706" title="typo button popup" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-5.jpg" alt="" width="265" height="353" /></a></p>
<p>&nbsp;</p>
<p>It is possible to choose a version with a stylistic specified for the majority of elements. After choosing a particular style, a shortcode will appear which will be replaced in entry content by scripts to structure styled in a way given.</p>
<p>Please, note that adding a new Shortcode code requires three operations:</p>
<ul>
<li>adding an entry in shortcodes.js configuration file</li>
<li>adding PHP code supporting a shortcode given</li>
<li>adding optional CSS and JavaScript code (if a shortcode given requires it)</li>
</ul>
<p><strong>shortcodes.js</strong> file in <strong>config</strong> catalog includes entries which are replaced to menu structure visible after clicking a typography button &#8211; it includes <strong>$GAVERNWP_SHORTCODES</strong> variable which is a table including objects representing elements of a menu. Each object has three features: <strong>title</strong>, <strong>code</strong> and <strong>submenu</strong>. Let&#8217;s analyze this structure with a <strong>Highlight</strong> position:</p>
<pre class="gk-code" data-style="style1"><code>{
"title": "Highlight",<br />
"code": "[highlight]Your text[/highlight]",<br />
"submenu": [<br />
{<br />
"title": "Style I",<br />
"code": "[highlight style=\"1\"]Your text[/highlight]"<br />
},<br />
{<br />
"title": "Style II",<br />
"code": "[highlight style=\"2\"]Your text[/highlight]"<br />
},<br />
{<br />
"title": "Style III",<br />
"code": "[highlight style=\"3\"]Your text[/highlight]"<br />
}<br />
]<br />
},</code></pre>
<ul>
<li><strong>title</strong> &#8211; it includes a menu positon name displayed by a script</li>
<li><strong>code</strong> &#8211; it is a shortcode code which will be added to an entry when clicking a menu position given &#8211; you have to remember that not all menu positions on the first level have a value in this field &#8211; if it was an empty sequence of symbols, it means for a script that clicking on a menu position given does not request any action.</li>
<li><strong>submenu</strong> &#8211; it is a table  of a submenu of a menu position given. Each submenu position is built the same as menu positions as these on the first level but with one difference &#8211; a submenu cannot have the next submenu, so you do not add a <strong>submenu</strong> feature in a submenu object.</li>
</ul>
<p>Let&#8217;s say, we added our shortcode to a typography button using shortcodes.js file. So, there is one thing left to do &#8211; support our shortcode from a theme side.</p>
<p>To do this, you have to open <strong>gavern/helpers/helpers.shortcodes.php</strong> file.</p>
<p>This file is divided into three main sections starting with lines similar to:</p>
<pre class="gk-code" data-style="style1"><code>if(get_option($tpl-&gt;name . '_shortcodes1_state', 'Y') == 'Y') {</code></pre>
<p>It is a conditional  IF instruction connected with a group of typography elements given. Gavern icludes three groups:</p>
<ul>
<li>typography elements &#8211; functions connected with it have <strong>gavern_ts_</strong> prefix in the title</li>
<li>interactive elements &#8211; functions connected with it have <strong>gavern_ies_</strong> prefix in the title</li>
<li>elements characteristic for a particular theme &#8211; functions connected with it have <strong>gavern_tss_</strong> prefix in the title</li>
</ul>
<p>We recommend to add new typography elements in the last group &#8211; in Meet GavernWP theme, it is empty by default. Please, remember about using an appropriate prefix in a function name for a group given, e.g. in the case of the third group, it will be <strong>gavern_tss_</strong>. The code itself of a shortcode given has to be created according to guidelines described in<a href="http://codex.wordpress.org/Shortcode_API"> Shortcode API</a>.</p>
<p>The last step is rather optional and depends on your Shortcode type. If your Shortcode requires additional CSS or JavaScript code, you have to define it in <strong>shortcodes.*.css</strong> i <strong>shortcodes.*.js</strong> files, where <strong>*</strong> is a group name to which a Shortcode given was assigned.</p>
<p>It is very important to place elements of CSS and JavaScript code in an appropriate file, as it will give a possibility of optimizing whole theme code when switching off given group of Shortcodes codes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/typography-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typography</title>
		<link>http://www.longhouses.nl/typography/</link>
		<comments>http://www.longhouses.nl/typography/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 11:42:54 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=207</guid>
		<description><![CDATA[GavernWP allows to access a lot of additional typography elements created with Shortcodes use. The use is very simple thanks to an additional button in a posts editor. A typography description from a programistic side has been divided into two parts, namely: front-end and back-end. Below, there are all elements available in theme&#8217;s typography. Typography [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP allows to access a lot of additional typography elements created with <a title="Shortcode API" href="http://codex.wordpress.org/Shortcode_API" target="_blank">Shortcodes</a> use. The use is very simple thanks to <a title="Typography button" href="http://www.longhouses.nl/back-end-features/typography-button/" target="_blank">an additional button</a> in a posts editor. A typography description from a programistic side has been divided into two parts, namely: <a title="Typography API" href="http://www.longhouses.nl/template-api/typography-api/">front-end</a> and <a title="Typography API – back-end" href="http://www.longhouses.nl/back-end-api/typography-api-back-end/">back-end</a>.</p>
<p>Below, there are all elements available in theme&#8217;s typography. Typography elements can be divided into three main groups:</p>
<ul>
<li>typography elements,</li>
<li>interactive elements,</li>
<li>elements prepared especially for a particular theme.</li>
</ul>
<h2>Warnings / Infos / Notices / Errors</h2>
<p>These elements are used for highlighting text fragments together with their importance / type of information by using appropriate colors.</p>
<p class="gk-warning">Warning text example using Shortcodes</p>
<p class="gk-info">Info text example using Shortcodes</p>
<p class="gk-notice">Notice text example using Shortcodes</p>
<p class="gk-error">Error text example using Shortcodes</p>
<h2>Labels</h2>
<p>Labels are useful for marking the importance of the text fragment or a word given. In the case of longer texts, we recommend to use elements from <em>Warnings / Infos / Notices</em> group.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style1">labeled text</strong> using the first style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style2">labeled text</strong> using the second style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style3">labeled text</strong> using the third style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style4">labeled text</strong> using the fourth style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style5">labeled text</strong> using the fifth style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style6">labeled text</strong> using the sixth style.</p>
<h2>Badges</h2>
<p>Badges in their look are similar to Labels, however, you may use them mainly for highlighting shorter texts, e.g. numerical values.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style1">12</strong> using the first style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style2">12</strong> using the second style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style3">12</strong> using the third style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style4">12</strong> using the fourth style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style5">12</strong> using the fifth style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style6">12</strong> using the sixth style.</p>
<h2>Code listings</h2>
<p>We recommend to use an element creating code listings in one out of three styles available for presenting source codes:</p>
<pre class="gk-code" data-style="style1"><code>function helloWorld() {
alert('Hello World!');
}</code></pre>
<pre class="gk-code" data-style="style2"><code>function helloWorld() {
alert('Hello World!');
}</code></pre>
<pre class="gk-code" data-style="style3"><code>function helloWorld() {
alert('Hello World!');
}</code></pre>
<h2>Text blocks</h2>
<p>Text blocks are useful for generating an element highlighting a particular part of an  entry:</p>
<div class="gk-textblock" data-style="style1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-textblock" data-style="style2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-textblock" data-style="style3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-textblock" data-style="style4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<p class="gk-numblock" data-style="style1"><span>01</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-numblock" data-style="style2"><span>02</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-numblock" data-style="style3"><span>03</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-numblock" data-style="style4"><span>04</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. <div class="gk-floated" data-align="left">Lorem ipsum dolor sit amet</div></p>
<p>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. <div class="gk-floated" data-align="right">Lorem ipsum dolor sit amet</div></p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. <div class="gk-floated" data-align="center">Lorem ipsum dolor sit amet</div> Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
<h2>Quote and Citations</h2>
<p>Quotes elements are useful for highlighting the author of a sentence given:</p>
<blockquote class="gk-quote" data-style="style1"><p>The content of the quote in style 1</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style2"><p>The content of the quote in style 2</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style3"><p>The content of the quote in style 3</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style4"><p>The content of the quote in style 4</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style5"><p>The content of the quote in style 5</p><cite>Author</cite></blockquote>
<h2>Dropcap</h2>
<p>Elements creating the first letter highlighted:</p>
<p class="gk-dropcap" data-style="style1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-dropcap" data-style="style2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-dropcap" data-style="style3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<h2>Lists</h2>
<p>Ordered and unordered lists:</p>
<div class="gk-columns" data-column-count="4">
<div><ol data-style="style1">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
<div><ol data-style="style2">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
<div><ol data-style="style3">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
<div><ol data-style="style4">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
</div>
<div class="gk-columns" data-column-count="4">
<div><ul data-style="style1">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
<div><ul data-style="style2">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
<div><ul data-style="style3">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
<div><ul data-style="style4">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
</div>
<h2>Buttons</h2>
<p>Buttons in many different variations:</p>
<p><button class="gk-button" data-style="style1">Your text</button> <button class="gk-button" data-style="style2">Your text</button> <button class="gk-button" data-style="style3">Your text</button> <button class="gk-button" data-style="style4">Your text</button> <button class="gk-button" data-style="style5">Your text</button> <button class="gk-button" data-style="style6">Your text</button> <button class="gk-button" data-style="style7">Your text</button></p>
<h2>Legends</h2>
<p>Elements with legend useful while creating text blocks in a frame provided with an appropriate title.</p>
<div class="gk-legend" data-style="style1"><strong>Legend style 1</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style2"><strong>Legend style 2</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style3"><strong>Legend style 3</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style4"><strong>Legend style 4</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style5"><strong>Legend style 5</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<h2>Raw text</h2>
<p>An element useful for generating text without formatting:</p>
<pre class="gk-raw" data-style="style1">Your text</pre>
<h2>Tooltips</h2>
<p>Tooltips may occur in two forms: a link to a different website with a tooltip or a text connected with the text:</p>
<a href="URL" class="gk-tooltip" data-style="style1">Default style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style2">Blue style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style3">Red style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style4">Green style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style5">Yellow style<dfn>Text of the tooltip</dfn></a>
<h2>Other typography elements</h2>
<p>Elements which could not be groupped to other categories.</p>
<p>Columns allow to place text in multicolumn layout:</p>
<div class="gk-columns" data-column-count="3">
<div>Content for the first column</div>
<div>Content for the second column</div>
<div>Content for the third column</div>

</div>
<p>Toggle text &#8211; elements useful for creating blocks with text to toggle:</p>
<div class="gk-toggle closed"><h3>Header text</h3><div>Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas sed diam eget risus varius blandit sit amet non magna. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Sed posuere consectetur est at lobortis.</div></div>
<div class="gk-toggle opened"><h3>Header text</h3><div>Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas sed diam eget risus varius blandit sit amet non magna. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Sed posuere consectetur est at lobortis.</div></div>
<p>Shortcode pageurl allows to place an address to a blog:</p>
http://www.longhouses.nl
<p>A link to a RSS channel:</p>
<a class="gk-rss" href="URL"><i class="icon-bullhorn"></i>Link text</a>
<p>A link to a PDF document:</p>
<a class="gk-pdf" href="http://docs.google.com/viewer?url=URL"><i class="icon-file"></i>Text of the link</a>
<p>A private note in an entry, visible for an author only:</p>

<p>Mail illegible for bots creating data bases for spammers:</p>
<a href="mailto:&#101;&#109;&#97;&#105;&#108;&#46;&#116;&#111;&#64;&#111;&#98;&#102;&#117;&#115;&#99;&#97;&#116;&#101;&#46;&#99;&#111;&#109;">&#101;&#109;&#97;&#105;&#108;&#46;&#116;&#111;&#64;&#111;&#98;&#102;&#117;&#115;&#99;&#97;&#116;&#101;&#46;&#99;&#111;&#109;</a>
<p>Content visible for logged in users only:</p>
<div class="gk-members">Content for the members only</div>
<p>Related posts:</p>
<ol class="gk-related"><li><a title="Typography button" href="http://www.longhouses.nl/typography-button/">Typography button</a></li><li><a title="Widget rules" href="http://www.longhouses.nl/widget-rules-2/">Widget rules</a></li><li><a title="Custom Page Styles" href="http://www.longhouses.nl/custom-page-styles-2/">Custom Page Styles</a></li><li><a title="Threaded comments" href="http://www.longhouses.nl/threaded-comments-2/">Threaded comments</a></li><li><a title="Theme CSS" href="http://www.longhouses.nl/template-css/">Theme CSS</a></li></ol>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/typography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
