<?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>digitalnature &#187; Blog</title>
	<atom:link href="https://digitalnature.eu/blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://digitalnature.eu</link>
	<description>Rise Above the Ordinary</description>
	<lastBuildDate>Fri, 11 Sep 2015 15:02:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Practical uses of PHP&#8217;s Reflection API</title>
		<link>https://digitalnature.eu/blog/2012/12/30/practical-uses-of-phps-reflection-api/</link>
		<comments>https://digitalnature.eu/blog/2012/12/30/practical-uses-of-phps-reflection-api/#comments</comments>
		<pubDate>Sun, 30 Dec 2012 13:45:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[print_r]]></category>
		<category><![CDATA[reflection]]></category>
		<category><![CDATA[var_dump]]></category>
		<category><![CDATA[var_export]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=5969</guid>
		<description><![CDATA[While I&#8217;ve been working on my CM framework, I came to realize how useful PHP&#8217;s Reflection actually is during development.
So I wrote two examples: php-highlight, which displays caller source in my custom exception handler, and php-ref, which prints detailed and nicely formatted information about a  [...]]]></description>
			<content:encoded><![CDATA[<p>While I&#8217;ve been working on my CM framework, I came to realize how useful PHP&#8217;s <a href="http://php.net/manual/en/book.reflection.php">Reflection</a> actually is during development.</p>
<p>So I wrote two examples: <a href="https://github.com/digitalnature/php-highlight" rel="external">php-highlight</a>, which displays caller source in my custom exception handler, and <a href="https://github.com/digitalnature/php-ref" rel="external">php-ref</a>, which prints detailed and nicely formatted information about a variable, for example:</p>
<p><a href="http://digitalnature.eu/wp-content/uploads/2012/12/2.png"><img class="alignleft size-full wp-image-5973" title="2" src="http://digitalnature.eu/wp-content/uploads/2012/12/2.png" alt="" width="690" height="867" /></a></p>
<p>If you&#8217;re a plugin developer (for any PHP app), these would save you some development time, which you normally use to google around documentation for a function or class <img src='https://digitalnature.eu/wp-content/themes/digitalnature/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2012/12/30/practical-uses-of-phps-reflection-api/feed/</wfw:commentRss>
		<slash:comments>240</slash:comments>
		</item>
		<item>
		<title>New plugin: Ad manager</title>
		<link>https://digitalnature.eu/blog/2012/05/08/new-plugin-ad-manager/</link>
		<comments>https://digitalnature.eu/blog/2012/05/08/new-plugin-ad-manager/#comments</comments>
		<pubDate>Tue, 08 May 2012 17:43:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=4131</guid>
		<description><![CDATA[It&#8217;s still under development, but the current version supports all functionality of the Ads mod from &#8220;Mystique&#8221; so you might as well use it instead of the mod  

Download on WordPress.org
Support Forums (post bug reports / requests here)

A quick screenshot:

In case you&#8217;re wondering if you will  [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s still under development, but the current version supports all functionality of the Ads mod from &#8220;Mystique&#8221; so you might as well use it instead of the mod <img src='https://digitalnature.eu/wp-content/themes/digitalnature/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>Download on <a href="http://wordpress.org/extend/plugins/ad-manager-for-wp/" rel="external">WordPress.org</a></li>
<li><a title="Download" href="http://digitalnature.eu/forum/plugins/ad-manager/">Support Forums</a> (post bug reports / requests here)</li>
</ul>
<p>A quick screenshot:</p>
<p><a href="http://digitalnature.eu/wp-content/uploads/2012/05/screenshot-1.png"><img class="size-medium wp-image-4137 aligncenter" title="Ad Manager dashboard interface" src="http://digitalnature.eu/wp-content/uploads/2012/05/screenshot-1-300x238.png" alt="Ad Manager dashboard interface" width="300" height="238" /></a></p>
<p>In case you&#8217;re wondering if you will loose existing ads from the theme &#8211; no, they will be imported by the plugin.</p>
<p>For theme developers &#8211; to add &#8220;ad location&#8221; support in your theme, pass an action tag to the registerAdLocation() method. Example:</p>
<pre class="php">if(defined('AdManager::VERSION'))
  AdManager()-&gt;registerAdLocation('after_header', __('After theme header'));</pre>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2012/05/08/new-plugin-ad-manager/feed/</wfw:commentRss>
		<slash:comments>144</slash:comments>
		</item>
		<item>
		<title>New plugin: Post Ratings</title>
		<link>https://digitalnature.eu/blog/2011/11/21/new-plugin-post-ratings/</link>
		<comments>https://digitalnature.eu/blog/2011/11/21/new-plugin-post-ratings/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 21:08:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post-ratings]]></category>
		<category><![CDATA[ratings]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=2417</guid>
		<description><![CDATA[Yet another post rating WordPress plugin  
What does it do:

Allow your site users to rate posts (of any kind)
Display the average post rating, vote count or weighted (bayesian) rating within your posts
Display a widget with the top rated posts in your sidebar

A few screenshots:




Download on  [...]]]></description>
			<content:encoded><![CDATA[<p>Yet another post rating WordPress plugin <img src='https://digitalnature.eu/wp-content/themes/digitalnature/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>What does it do:</p>
<ul>
<li>Allow your site users to rate posts (of any kind)</li>
<li>Display the average post rating, vote count or weighted (bayesian) rating within your posts</li>
<li>Display a widget with the top rated posts in your sidebar</li>
</ul>
<p>A few screenshots:</p>
<div class="clear-block">
<p><a href="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-11.png"><img class="alignleft size-thumbnail wp-image-2448" title="Plugin options" src="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-11-150x150.png" alt="Plugin options" width="150" height="150" /></a><a href="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-21.png"><img class="alignleft size-thumbnail wp-image-2422" title="Front-end rating links" src="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-21-150x150.png" alt="Front-end rating links" width="150" height="150" /></a><a href="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-3.png"><img class="size-thumbnail wp-image-2420 alignleft" title="&quot;Top Rated&quot; sidebar widget" src="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-3-150x150.png" alt="&quot;Top Rated&quot; sidebar widget" width="150" height="150" /></a><a href="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-4.png"><img class="alignleft size-thumbnail wp-image-2433" title="Atom version of the widget" src="http://digitalnature.eu/wp-content/uploads/2011/11/screenshot-4-150x150.png" alt="Atom version of the widget" width="150" height="150" /></a></p>
</div>
<ul>
<li>Download on <a href="http://wordpress.org/extend/plugins/post-ratings/" rel="external">WordPress.org</a></li>
<li><a href="http://digitalnature.eu/forum/plugins/post-ratings/">Support forums</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/11/21/new-plugin-post-ratings/feed/</wfw:commentRss>
		<slash:comments>136</slash:comments>
		</item>
		<item>
		<title>Featured images (thumbnails) in menus</title>
		<link>https://digitalnature.eu/blog/2011/10/27/featured-images-thumbnails-in-menus/</link>
		<comments>https://digitalnature.eu/blog/2011/10/27/featured-images-thumbnails-in-menus/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 12:27:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useless Stuff]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[menus]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=2215</guid>
		<description><![CDATA[The following code will let you use featured images as thumbnails in your custom menus. Paste this in your child theme functions.php file, or theme settings &#62; Advanced &#62; User-defined code:

atom()-&#62;setContextArgs('primary_menu', array('walker' =&#62; new ThumbMenuWalker()));

class ThumbMenuWalker  [...]]]></description>
			<content:encoded><![CDATA[<p>The following code will let you use featured images as thumbnails in your custom menus. Paste this in your child theme functions.php file, or theme settings &gt; Advanced &gt; User-defined code:</p>
<pre class="php">
atom()-&gt;setContextArgs('primary_menu', array('walker' =&gt; new ThumbMenuWalker()));

class ThumbMenuWalker extends AtomWalkerNavMenu{

  // register the thumbnail size, 64 pixel square, cropped
  function __construct(){
    add_image_size('nav-thumb', 64, 64, true);
  }

  // override start_el
  function start_el(&amp;$output, $item, $depth, $args) {

    $classes = empty($item-&gt;classes) ? array() : (array)$item-&gt;classes;

    $classes = join(' ', apply_filters('nav_menu_css_class', array_filter($classes), $item, $args));
    $classes = $classes ? ' class=&quot;'.esc_attr($classes).'&quot;' : '';

    $output .= &quot;\n&lt;li{$classes}&gt;&quot;;

    $attributes  = !empty($item-&gt;attr_title) ? ' title=&quot;'.esc_attr($item-&gt;attr_title).'&quot;' : '';
    $attributes .= !empty($item-&gt;target) ? ' target=&quot;'.esc_attr($item-&gt;target).'&quot;' : '';
    $attributes .= !empty($item-&gt;xfn) ? ' rel=&quot;'.esc_attr($item-&gt;xfn).'&quot;' : '';
    $attributes .= !empty($item-&gt;url) ? ' href=&quot;'.esc_attr($item-&gt;url).'&quot;' : '';

    $excerpt = $thumb = '';

    // 2nd level+
    if($depth &gt; 0){
      $post = new AtomObjectPost($item-&gt;object_id);

      // thumbnail image
      if(post_type_supports($item-&gt;object, 'thumbnail'))
        $thumb = $post-&gt;getThumbnail('nav-thumb');

    if($thumb)
      $attributes .= ' class=&quot;clear-block&quot;';

      // short description from the content, 100 is the max. character count
      $excerpt = $post-&gt;getContent(100, array(
        'cutoff'       =&gt; 'sentence',  // cut off just after the sentence ends
        'allowed_tags' =&gt; array(),     // no html
        'more'         =&gt; false,       // no 'more' text / link
      ));

      if($excerpt)
        $excerpt = &quot;&lt;small&gt;{$excerpt}&lt;/small&gt;&quot;;
      
      atom()-&gt;resetCurrentPost();
    }

    $content = $args-&gt;link_before.$thumb.'&lt;span class=&quot;tt&quot;&gt;'.apply_filters('the_title', $item-&gt;title, $item-&gt;ID).$excerpt.'&lt;/span&gt;'.$args-&gt;link_after;
    $output .= apply_filters('walker_nav_menu_start_el', &quot;{$args-&gt;before}&lt;a{$attributes}&gt;{$content}&lt;/a&gt;{$args-&gt;after}&quot;, $item, $depth, $args);
  }

}</pre>
<p>The CSS:</p>
<pre class="css">.nav img, .nav .no-img{
  float:left;
  margin-right: 5px;
} 

.nav .tt{
  overflow:hidden;
  display:block;
  font-weight:bold;  
}  

.nav small{
  font-size:11px;  
  display:block;
  margin-top: 5px;
}</pre>
<p>The result should be something like this:<br />
<img class="alignnone size-full wp-image-2216" title="Menu thumbanils" src="http://digitalnature.eu/wp-content/uploads/2011/10/thumb-menu.png" alt="Menu thumbanils" width="560" height="307" /></p>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/10/27/featured-images-thumbnails-in-menus/feed/</wfw:commentRss>
		<slash:comments>98</slash:comments>
		</item>
		<item>
		<title>Custom avatar images in WordPress</title>
		<link>https://digitalnature.eu/blog/2011/09/18/custom-avatar-images-in-wordpress/</link>
		<comments>https://digitalnature.eu/blog/2011/09/18/custom-avatar-images-in-wordpress/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 23:28:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useless Stuff]]></category>
		<category><![CDATA[avatars]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=1870</guid>
		<description><![CDATA[This is a short walktrough on how to let your website users upload their own avatars, without using a plugin.
First, define the maximum image sizes (note that we will only downsize, smaller images will get browser-resized):

define('MAX_AVATAR_WIDTH', 96);
define('MAX_AVATAR_HEIGHT', 96);

This  [...]]]></description>
			<content:encoded><![CDATA[<p>This is a short walktrough on how to let your website users upload their own avatars, without using a plugin.</p>
<p>First, define the maximum image sizes (note that we will only downsize, smaller images will get browser-resized):</p>
<pre class="php">
define('MAX_AVATAR_WIDTH', 96);
define('MAX_AVATAR_HEIGHT', 96);
</pre>
<p>This goes in the child theme&#8217;s functions-user.php file.</p>
<p>Next, create the form which lets users upload the image. I chose the author.php template here, but you can easily add it inside the dashboard trough some hooks.</p>
<pre class="php">
&lt;?php if(is_user_logged_in() &amp;&amp; get_current_user_id() === (int)get_query_var('author')): ?&gt;
&lt;form method=&quot;POST&quot; enctype=&quot;multipart/form-data&quot; action=&quot;&quot;&gt;
  &lt;input type=&quot;file&quot; name=&quot;user_avatar&quot; /&gt;
  &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;wp_handle_upload&quot; /&gt;
  &lt;input type=&quot;submit&quot; value=&quot;Upload new Avatar&quot; /&gt;
&lt;/form&gt;
&lt;?php endif; ?&gt;
</pre>
<p>The actual upload processing. You can have this in the same author template before get_header(), or inside the child theme&#8217;s functions:</p>
<pre class="php">
if(is_user_logged_in() &amp;&amp; isset($_FILES['user_avatar'])){

  // we need this for the wp_handle_upload function
  require_once ABSPATH.'wp-admin/includes/file.php';

  // ID of the current user
  $current_user_id = get_current_user_id();

  // just be aware that GIFs are annoying as fuck
  $allowed_image_types = array(
    'jpg|jpeg|jpe' =&gt; 'image/jpeg',
    'png'          =&gt; 'image/png',
    'gif'          =&gt; 'image/gif',
  );

  // let wp do the upload checks, file moving etc.
  $status = wp_handle_upload($_FILES['user_avatar'], array('mimes' =&gt; $allowed_image_types));

  // no errors? Get the uploaded file path and resize it
  if(empty($status['error'])){

    // resize it
    $resized = image_resize($status['file'], MAX_AVATAR_WIDTH, MAX_AVATAR_HEIGHT, $crop = true);

    // resize failed, display the reason
    if(is_wp_error($resized))
      wp_die($resized-&gt;get_error_message());

    // determine the resized file URL
    $uploads = wp_upload_dir();
    $resized_url = $uploads['url'].'/'.basename($resized);

    // insert the file URL into the current user meta
    update_user_meta($current_user_id, 'custom_avatar', $resized_url);

  // error, show it
  }else{
    wp_die(sprintf(__('Upload Error: %s'), $status['error']));

  }

}
</pre>
<p>Finally, hook into the avatar display function and get the avatar user meta field:</p>
<pre class="php">
add_filter('get_avatar', 'custom_avatars', 10, 3);

function custom_avatars($avatar, $id_or_email, $size){
  if(is_user_logged_in()){
    $current_user = wp_get_current_user();
    $image_url = get_user_meta($current_user-&gt;ID, 'custom_avatar', true);
    if($user_avatar !== false)
      return '&lt;img src=&quot;'.$image_url.'&quot; class=&quot;avatar photo&quot; width=&quot;'.$size.'&quot; height=&quot;'.$size.'&quot; alt=&quot;'.$current_user-&gt;display_name .'&quot; /&gt;';
  }

  return $avatar;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/09/18/custom-avatar-images-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>83</slash:comments>
		</item>
		<item>
		<title>How to correctly hook your filter to the post content</title>
		<link>https://digitalnature.eu/blog/2011/09/12/how-to-correctly-hook-your-filter-to-the-post-content/</link>
		<comments>https://digitalnature.eu/blog/2011/09/12/how-to-correctly-hook-your-filter-to-the-post-content/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 14:41:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=1757</guid>
		<description><![CDATA[I&#8217;m seeing a lot of plugins that just hook themselves on the the_content filter tag, without bothering to handle excerpts.
Because get_the_excerpt() / the_excerpt() will call get_the_content() if the post doesn&#8217;t have an excerpt set, in many cases you get your filter applied on excerpts as well.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m seeing a lot of plugins that just hook themselves on the <a href="http://codex.wordpress.org/Plugin_API/Filter_Reference/the_content" rel="external">the_content</a> filter tag, without bothering to handle excerpts.</p>
<p>Because get_the_excerpt() / the_excerpt() will call get_the_content() if the post doesn&#8217;t have an excerpt set, in many cases you get your filter applied on excerpts as well. This can lead to unwanted text inside them, like escaped javascript code.</p>
<p>If you don&#8217;t want your filter to be applied to excerpts, then remove it during the time in which the excerpt is being generated. Here&#8217;s one way to do it:</p>
<pre lang="php">
add_filter('the_content', 'my_plugin_filter');

// remove our filter, as early as possible
add_filter('get_the_excerpt', function($text){
  remove_filter('the_content', 'my_plugin_filter');
  return $text;
}, -999);

// add it back after wp_trim_excerpt was applied, in case the theme calls the_content after
add_filter('get_the_excerpt', function($text){
  add_filter('the_content', 'my_plugin_filter');
  return $text;
}, 999);
</pre>
<p>Another way is to check if the excerpt is being processed within your filter:</p>
<pre class="php">
add_filter('the_content', 'my_plugin_filter');

function my_plugin_filter($text){
  if(in_array('get_the_excerpt', $GLOBALS['wp_current_filter'])) return $text;

  // not the excerpt, do your stuff here...
  return $text;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/09/12/how-to-correctly-hook-your-filter-to-the-post-content/feed/</wfw:commentRss>
		<slash:comments>85</slash:comments>
		</item>
		<item>
		<title>Translating Atom themes from the Dashboard</title>
		<link>https://digitalnature.eu/blog/2011/08/23/translating-atom-themes-from-the-dashboard/</link>
		<comments>https://digitalnature.eu/blog/2011/08/23/translating-atom-themes-from-the-dashboard/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 22:54:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=1385</guid>
		<description><![CDATA[As the title says, this is a module that allows you to translate Atom themes from your WordPress Dashboard. The advantage over PoEdit is that the strings are automatically synchronized after theme updates (you don&#8217;t need to copy the theme files on your computer and set up paths anymore), and plural  [...]]]></description>
			<content:encoded><![CDATA[<p>As the title says, this is a module that allows you to translate Atom themes from your WordPress Dashboard. The advantage over <a href="http://www.poedit.net/" rel="external">PoEdit</a> is that the strings are automatically synchronized after theme updates (you don&#8217;t need to copy the theme files on your computer and set up paths anymore), and <a href="http://translate.sourceforge.net/wiki/l10n/pluralforms#plural_forms" rel="external">plural form definitions</a> are auto-detected based on your current site language.</p>
<p>Your translation will become active just after you push the save button (.mo and .po files are created in your child theme folder).</p>
<p><img src="http://digitalnature.eu/wp-content/uploads/2011/08/atom-translate.png" alt="Atom Translate module" title="Atom Translate module" width="689" height="543" class="aligncenter size-full wp-image-1386" /></p>
<p><del datetime="2011-08-25T08:35:03+00:00">Installation as usual, <a href="/download/atom-module-translate.zip">download</a> the archive and copy the module in your child theme &#8220;mods&#8221; directory.</del> (This is now included in the theme package)</p>
<p>I might port this to a plugin when I have the time, so that people can translate plugins or other themes too. Post your suggestions or encountered bugs in the comments.</p>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/08/23/translating-atom-themes-from-the-dashboard/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
		<item>
		<title>Ajaxify your theme</title>
		<link>https://digitalnature.eu/blog/2011/08/12/ajaxify-your-theme/</link>
		<comments>https://digitalnature.eu/blog/2011/08/12/ajaxify-your-theme/#comments</comments>
		<pubDate>Fri, 12 Aug 2011 17:16:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=1007</guid>
		<description><![CDATA[This is another module for Atom themes that intercepts clicks for most of the internal links, opens the linked page with Javascript and replaces relevant content into the current page.
Installation:
- download the module
- upload it into your child theme&#8217;s /mods/ folder, and activate it trough the  [...]]]></description>
			<content:encoded><![CDATA[<p>This is another module for Atom themes that intercepts clicks for most of the internal links, opens the linked page with Javascript and replaces relevant content into the current page.</p>
<p>Installation:<br />
- <a href="/download/atom-module-ajaxify.zip/">download</a> the module<br />
- upload it into your child theme&#8217;s /mods/ folder, and activate it trough the theme settings</p>
<p>You can see a demo on the <a href="http://wp.digitalnature.eu/mystique/">Mystique&#8217;s preview page</a></p>
<p>This will only work on browsers that support the new HTML 5 History API. That means all browsers, except Internet Explorer of course. IE users or users without javascript will navigate your site normally.</p>
<h3>Known Issues:</h3>
<ul>
<li>if you have any plugins that add javascript at some point in the page, then most likely they will not work well with this, because currently the module doesn&#8217;t inject javascript from the target page.</li>
<li>back/forward is not yet implemented. I&#8217;m working on it</li>
</ul>
<p>What&#8217;s the purpose of it? Apparently it decreases page load, by 20-40% from what I&#8217;ve seen so far&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/08/12/ajaxify-your-theme/feed/</wfw:commentRss>
		<slash:comments>82</slash:comments>
		</item>
		<item>
		<title>Extra social-media icons for Mystique 3+</title>
		<link>https://digitalnature.eu/blog/2011/08/08/extra-social-media-icons-for-mystique-3/</link>
		<comments>https://digitalnature.eu/blog/2011/08/08/extra-social-media-icons-for-mystique-3/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 11:25:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[lastfm]]></category>
		<category><![CDATA[mystique]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=796</guid>
		<description><![CDATA[This is a module for the Mystique theme that adds a few more icons above the menu: Facebook, Flickr, Myspace, Youtube and Lastfm, and changes the existing Twitter and RSS icons.

Installation steps:

Download the module
Unzip it to your /mystique-ext/mods/ folder (the child theme folder); if you  [...]]]></description>
			<content:encoded><![CDATA[<p>This is a module for the Mystique theme that adds a few more icons above the menu: Facebook, Flickr, Myspace, Youtube and Lastfm, and changes the existing Twitter and RSS icons.</p>
<p><img class="aligncenter size-full wp-image-1081" title="Mystique Social-Media icons" src="http://digitalnature.eu/wp-content/uploads/2011/08/mystique-media-icons.jpg" alt="" width="498" height="142" /></p>
<p><del>Installation steps:</del></p>
<ol>
<li><del><a href="/download/mystique-ext-media-icons.zip">Download</a> the module</del></li>
<li><del>Unzip it to your <span class="alt">/mystique-ext/mods/</span> folder (the child theme folder); if you don&#8217;t have one, then the main theme folder is good too, but it&#8217;s highly recommended that you create a <a href="/docs/child-themes/">child theme</a> for your customizations.</del></li>
<li><del>Activate it in the Mystique settings =&gt; modules, and configure the links from the Content options as usual&#8230;</del></li>
</ol>
<h3>Update 14/08</h3>
<p>There&#8217;s a better version of this module included in Mystique 3.0.6. Please use that one instead. Currently there are just a few icons installed by default, but you can find a more complete icon list on <a href="http://marknhewitt.co.uk/my-web-portfolio/mystique-theme-edits/extra-nav-icons-for-the-mystique-theme/" target="_blank">Mark N Hewitt</a>&#8216;s website.</p>
<p>Here&#8217;s a <a href="/download/social-media-icons-psd.zip">PSD file</a> that might help you design your own icons.</p>
<p>Need to move the icons higher? Add this CSS code:</p>
<pre class="css">.social-media{
  bottom: 30px; /* increase this value as you wish */
}</pre>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/08/08/extra-social-media-icons-for-mystique-3/feed/</wfw:commentRss>
		<slash:comments>140</slash:comments>
		</item>
		<item>
		<title>The Mystique update drama</title>
		<link>https://digitalnature.eu/blog/2011/08/07/the-mystique-update-drama/</link>
		<comments>https://digitalnature.eu/blog/2011/08/07/the-mystique-update-drama/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 11:22:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[mystique]]></category>

		<guid isPermaLink="false">http://digitalnature.eu/?p=744</guid>
		<description><![CDATA[Did you just update this theme and now your site is completely messed up? Did your widgets disappear, or got all your theme customizations reset ? Then read on&#8230;
Mystique is now available in two versions:

a light version, without any settings or custom widgets, which most likely you already have  [...]]]></description>
			<content:encoded><![CDATA[<p>Did you just update this theme and now your site is completely messed up? Did your widgets disappear, or got all your theme customizations reset ? Then read on&#8230;</p>
<p>Mystique is now available in two versions:</p>
<ul>
<li>a light version, without any settings or custom widgets, which most likely you already have updated to from WordPress.org, and replaces the old 2.4.x</li>
<li>the original version, which is now updated, and labeled as &#8220;3.0&#8243;. You can find this one <a href="/download/mystique-wordpress.zip">here</a>.</li>
</ul>
<p>So just choose which one you need for your site and install it by following these steps:</p>
<ul>
<li>de-activate the old version <strong><span style="text-decoration: underline;">and delete it</span></strong> (yes, all your theme customizations are lost &#8211; to avoid this in the future use child themes, see the docs)</li>
<li>upload the new one  trough Themes =&gt; Install themes =&gt; Upload, and activate it; do not rename the theme directory</li>
</ul>
<p>Now to answer some of the questions people posted so far&#8230;</p>
<h3>Why did my widgets disappear?</h3>
<p>This is normal because the new theme replaces almost all default WP widgets with its own. So just configure the new widgets as you did the previous ones. If for some reason you need to access data from the old widgets (like a text widget in which you had a lot of text), temporarily enable the default Twenty Ten and you&#8217;ll find them in the &#8220;Inactive Widgets&#8221; area.</p>
<h3>How do I get the tabs back?</h3>
<p>The tab system has changed. Read <a href="/docs/widgets/tabs/">this page</a>.</p>
<h3>My site still looks messed up <img src='https://digitalnature.eu/wp-content/themes/digitalnature/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </h3>
<p>Simply refresh (F5). If this doesn&#8217;t fix it, <span style="text-decoration: underline;">de-activate all plugins</span> and enable them back one by one to rule out a plugin conflict. If it is, open a new forum topic here and describe the issue in detail.</p>
<h3>I still don&#8217;t like the new version, how can I downgrade?</h3>
<p>Follow the same installation steps above, but upload the <a href="/download/mystique-wordpress-2.4.3.zip">old version</a> instead.</p>
<p>Any other questions? Post them in the comments&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>https://digitalnature.eu/blog/2011/08/07/the-mystique-update-drama/feed/</wfw:commentRss>
		<slash:comments>429</slash:comments>
		</item>
	</channel>
</rss>
