<?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>Andrei Guzga Portfolio</title>
	<atom:link href="http://www.andreiguzga.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andreiguzga.com</link>
	<description>My personal portfolio and a place for web design resources, tutorials and other stuff like that</description>
	<lastBuildDate>Tue, 28 Feb 2012 10:52:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Remove the WordPress admin top bar</title>
		<link>http://www.andreiguzga.com/wordpress/remove-the-wordpress-admin-top-bar/</link>
		<comments>http://www.andreiguzga.com/wordpress/remove-the-wordpress-admin-top-bar/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 19:51:30 +0000</pubDate>
		<dc:creator>GzG</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.andreiguzga.com/?p=415</guid>
		<description><![CDATA[If you are as annoyed as me when it comes to the WordPress admin top bar, you can remove this for your user by going to Users &#62; Your Profile under the Show Admin Bar and disable the option you want, in dashboard or while viewing the site. If you want to completely remove the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are as annoyed as me when it comes to the WordPress admin top bar, you can remove this for your user by going to <em styles="font-style:italic;">Users &gt; Your Profile</em> under the <em style="font-style:italic;">Show Admin Bar</em> and disable the option you want, in dashboard or while viewing the site.</p>
<div style="text-align: center; margin: 20px auto;"><img class="aligncenter size-full wp-image-418" style="border: 1px solid #B8B8B8;" title="wp_admin_top_bar" src="/wp-content/uploads/2012/02/wp_admin_top_bar.jpg" alt="" width="400" height="195" /></div>
<p>If you want to completely remove the bar for all users you can enter one of the following codes in the <em style="font-style:italic;">functions.php</em> file:</p>
<pre class="brush: php">
//REMOVE ADMIN BAR
remove_action('init', 'wp_admin_bar_init');
</pre>
<pre class="brush: php">
// Disable the Admin Bar
add_filter( 'show_admin_bar', '__return_false' );
</pre>
<p>Now the admin top bar should disappear for all users on both cases, when viewing the site from backend and frontend</p>
<h3 style="padding:40px 0 10px;">WordPress 3.3.1 Update</h3>
<p>I found out that on wordpress 3.3.1 (and maybe some versions bellow) the codes from above are not working. If you have WordPress 3.3.1 the correct code is:</p>
<pre class="brush: php">
//REMOVE ADMIN BAR
remove_action('init', '_wp_admin_bar_init');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.andreiguzga.com/wordpress/remove-the-wordpress-admin-top-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable WordPress 3.0 custom menu in your theme</title>
		<link>http://www.andreiguzga.com/wordpress/enable-wordpress-3-0-custom-menu-in-your-theme/</link>
		<comments>http://www.andreiguzga.com/wordpress/enable-wordpress-3-0-custom-menu-in-your-theme/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 07:29:33 +0000</pubDate>
		<dc:creator>GzG</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom menu]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.andreiguzga.com/?p=335</guid>
		<description><![CDATA[With the release of WordPress 3 the users can now activate the new custom menu feature which let&#8217;s you easily customize menus. Custom Navigation Menus feature in WordPress 3.0 will make WordPress even more user friendly for beginners. This function let you organize your menu, create drop down menus, add new items to menu, and [...]]]></description>
			<content:encoded><![CDATA[<p>With the release of WordPress 3 the users can now activate the new custom menu feature which let&#8217;s you easily customize menus. Custom Navigation Menus feature in WordPress 3.0 will make WordPress even more user friendly for beginners. This function let you organize your menu, create drop down menus, add new items to menu, and much more. The drag-and-drop function of this feature is what makes it extremely easy to use. This feature will not be available in older themes unless the theme author(s) update their themes. In this article, we will show you how you can enable and install custom navigation menus in your themes.</p>
<h3 style="padding: 40px 0 10px;">Check if the theme has custom menus enabled</h3>
<p>To see if your theme has the new custom menus feature enabled, while in the Admin area, go to <em style="font-style: italic;">Appearence &gt; Menus</em>. If your current theme doesn’t support custom menus you’ll see this error message:</p>
<div style="margin: 0px auto; text-align: center;"><img class="size-full wp-image-340 aligncenter" title="custom-menu-error" src="http://www.andreiguzga.com/wp-content/uploads/2012/02/custom-menu-error.png" alt="custom-menu-error" width="297" height="132" /></div>
<h3 style="padding: 40px 0 10px;">Enable the custom menu feature for your theme</h3>
<p>Now, to enable the feature for your theme go to <em style="font-style: italic;">functions.php</em> file and enter the following code:</p>
<pre class="brush: php">
&lt;?php
if ( function_exists( 'register_nav_menu' ) ) {
    add_action( 'init', 'register_my_menu' );
    function register_my_menu() {
	register_nav_menu( 'primary-menu', __( 'Primary Menu' ) );
    }
}
?&gt;
</pre>
<p>The above code does the following:</p>
<ul class="doubleArrow" style="font-family:arial,sans-serif; margin:10px 0 0 20px;font-size:14px;">
<li>Check to see if the register_nav_menu function exists</li>
<li>If the function exists, after WordPress has finished loading but before any headers are sent, call the register_my_menu function</li>
<li>Register a new menu with the name of Primary Menu</li>
</ul>
<h3 style="padding: 40px 0 10px;">Display the new menu in your theme</h3>
<p>To display the newly created menu enter the following code in the <em style="font-style: italic;">header.php</em> file or where ever you want to display the menu</p>
<pre class="brush: php">
&lt;?php
$args = array('theme_location' => 'primary-menu');
wp_nav_menu($args);
?&gt;
</pre>
<p>Now your theme has the new custom menu feature enabled. To add/remove/modify the menu you can now login to WP-ADMIN and go to <em style="font-style: italic;">Appearence > Menus</em></p>
<h3 style="padding: 40px 0 10px;">Customizing the menu structure using the wp_nav_menu arguments</h3>
<p>If you want your menu to have a custom structure/class/id you can use the wp_nav_menu parameters. Bellow is a list with the parameters and their default values that the function accepts:</p>
<pre class="brush: php">
&lt;?php
$args = array(
  'theme_location'  => ,
  'menu'            => ,
  'container'       => 'div',
  'container_class' => 'menu-{menu slug}-container',
  'container_id'    => ,
  'menu_class'      => 'menu',
  'menu_id'         => ,
  'echo'            => true,
  'fallback_cb'     => 'wp_page_menu',
  'before'          => ,
  'after'           => ,
  'link_before'     => ,
  'link_after'      => ,
  'items_wrap'      => '
<ul id=\"%1$s\" class=\"%2$s\">%3$s</ul>

',
  'depth'           => 0,
  'walker'          =>
);
?&gt;
</pre>
<p>For a detailed list about each parameter check the <a href="http://codex.wordpress.org/Function_Reference/wp_nav_menu" class="external">WordPress Codex Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreiguzga.com/wordpress/enable-wordpress-3-0-custom-menu-in-your-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 and CSS3 Most Creative Features</title>
		<link>http://www.andreiguzga.com/html-css-javascript/html5-and-css3-most-creative-features/</link>
		<comments>http://www.andreiguzga.com/html-css-javascript/html5-and-css3-most-creative-features/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 19:11:15 +0000</pubDate>
		<dc:creator>GzG</dc:creator>
				<category><![CDATA[HTML, CSS and JavaScript]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.andreiguzga.com/?p=267</guid>
		<description><![CDATA[HTML5 and CSS3 brings loads of new features and functionality to the modern web. The Expressive Web site is a resource and showcase of some of the newest, and most expressive features being added to the web today. The site highlights the following HTML5 and CSS3 features: CSS3 animation CSS3 gradients CSS3 media queries CSS3 [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5 and CSS3 brings loads of new features and functionality to the modern web.</p>
<p><a class="external" title="The Expressive Web" href="http://beta.theexpressiveweb.com/">The Expressive Web</a> site is a resource and showcase of some of the newest, and most expressive features being added to the web today.</p>
<p><span id="more-267"></span></p>
<div class="cb" style="padding-top: 20px;">
<h3 style="padding-bottom: 10px;">The site highlights the following HTML5 and CSS3 features:</h3>
<ul class="square-list">
<li>CSS3 animation</li>
<li>CSS3 gradients</li>
<li>CSS3 media queries</li>
<li>CSS3 shadows</li>
<li>CSS3 transforms</li>
<li>CSS3 transitions</li>
<li>CSS3 web fonts</li>
<li>HTML5 audio</li>
<li>HTML5 canvas</li>
<li>HTML5 forms</li>
<li>HTML5 video</li>
<li>Web storage</li>
</ul>
</div>
<h3 style="padding-bottom: 10px;">Each feature page contains:</h3>
<ul class="square-list">
<li>A demo of the feature.</li>
<li>Data on browser support.</li>
<li>Links to examples in the wild that use the feature.</li>
<li>Links to more in-depth resources and tutorials.</li>
<li>Detection and fallback strategies for the feature.</li>
</ul>
<p><a class="external" href="http://beta.theexpressiveweb.com/"><img class="alignnone size-medium wp-image-270" title="beta.theexpressiveweb.com" src="http://www.andreiguzga.com/wp-content/uploads/2011/08/beta.theexpressiveweb.com-2011-8-19-21-47-27-580x400.png" alt="beta.theexpressiveweb.com" width="580" height="400" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreiguzga.com/html-css-javascript/html5-and-css3-most-creative-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The site is up</title>
		<link>http://www.andreiguzga.com/fun/the-site-is-up/</link>
		<comments>http://www.andreiguzga.com/fun/the-site-is-up/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 20:07:42 +0000</pubDate>
		<dc:creator>GzG</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[hello]]></category>

		<guid isPermaLink="false">http://89.42.137.47/gzg/?p=250</guid>
		<description><![CDATA[After quite some time, the site is finally up. You will find here some of my designs as well as resources and tutorials related to graphic/web design and HTML/CSS/JavaScript coding. I&#8217;ll try to keep the blog as updated as my time allows it so stay tuned. Next on the list is a mobile theme for [...]]]></description>
			<content:encoded><![CDATA[<p>After quite some time, the site is finally up. You will find here some of my designs as well as resources and tutorials related to graphic/web design and HTML/CSS/JavaScript coding. I&#8217;ll try to keep the blog as updated as my time allows it so stay tuned.</p>
<p>Next on the list is a mobile theme for the site. The design is already finished, so only the coding and testing part remains.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andreiguzga.com/fun/the-site-is-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

