<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>John Martel</title>
	<atom:link href="http://johnmartel.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnmartel.wordpress.com</link>
	<description>Code Guides</description>
	<lastBuildDate>Sun, 25 Sep 2011 02:14:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='johnmartel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>John Martel</title>
		<link>http://johnmartel.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://johnmartel.wordpress.com/osd.xml" title="John Martel" />
	<atom:link rel='hub' href='http://johnmartel.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Send emails with multiple attachments using wordpress</title>
		<link>http://johnmartel.wordpress.com/2011/09/25/send-emails-with-multiple-attachments-using-wordpress/</link>
		<comments>http://johnmartel.wordpress.com/2011/09/25/send-emails-with-multiple-attachments-using-wordpress/#comments</comments>
		<pubDate>Sun, 25 Sep 2011 01:58:55 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[email attachment wordpress]]></category>
		<category><![CDATA[multiple attachement email wordpress]]></category>
		<category><![CDATA[sendimg email in wordpress]]></category>
		<category><![CDATA[wordpress mail attachment]]></category>
		<category><![CDATA[wordpress wp_mail()]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=730</guid>
		<description><![CDATA[// values are just samples&#8230; $to = &#8220;$inq_email&#8221;; $subject = &#8220;Form Inquiry&#8221;; $headers = &#8216;From: John Martel &#8216; . &#8220;\r\n&#8221;; $target_path = array(WP_CONTENT_DIR . &#8216;/uploads/sample1.pdf&#8217;); array_push($target_path, WP_CONTENT_DIR . &#8216;/uploads/sample2.zip&#8217;); $message = &#8220; Thank you {$inq_name} for your inquiry and we will contact you as soon as we reviewed your message. &#8220;; if(wp_mail($to, $subject, $message, $headers, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=730&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/09/25/send-emails-with-multiple-attachments-using-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
		<item>
		<title>Registering a custom menu on your wordpress theme</title>
		<link>http://johnmartel.wordpress.com/2011/09/12/registering-a-custom-menu-on-your-wordpress-theme/</link>
		<comments>http://johnmartel.wordpress.com/2011/09/12/registering-a-custom-menu-on-your-wordpress-theme/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 18:45:08 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom menu in wordpress]]></category>
		<category><![CDATA[register_nav_menu()]]></category>
		<category><![CDATA[wordpress custom menu support]]></category>
		<category><![CDATA[wp_nav_menu]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=728</guid>
		<description><![CDATA[// Add this on function.php add_theme_support( &#8216;menus&#8217; ); register_nav_menus( array( &#8216;menu_name&#8217; =&#62; __( &#8216;Menu Description&#8217;) ) ); //add this on your theme. example is header.php wp_nav_menu( array( &#8216;theme_location&#8217; =&#62; &#8216;menu_name&#8217; ) ); Filed under: Wordpress Tagged: custom menu in wordpress, register_nav_menu(), wordpress custom menu support, wp_nav_menu<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=728&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/09/12/registering-a-custom-menu-on-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
		<item>
		<title>cat_is_ancestor_of</title>
		<link>http://johnmartel.wordpress.com/2011/08/27/cat_is_ancestor_of/</link>
		<comments>http://johnmartel.wordpress.com/2011/08/27/cat_is_ancestor_of/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 03:22:36 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=725</guid>
		<description><![CDATA[Returns true if $childcategory is a sub category of $parentcategory Filed under: Wordpress<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=725&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/08/27/cat_is_ancestor_of/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
		<item>
		<title>Get current category id and slug</title>
		<link>http://johnmartel.wordpress.com/2011/08/27/get-current-category-id-and-slug/</link>
		<comments>http://johnmartel.wordpress.com/2011/08/27/get-current-category-id-and-slug/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 03:20:29 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=723</guid>
		<description><![CDATA[//Check if the page is a category one and display the current category id and slug.. if ( is_category()) { $cat = get_query_var(&#8216;cat&#8217;); $currentcat = get_category ($cat); echo &#8216;current category id is &#8216;. $yourcat . &#8216;&#8216;; echo &#8216;current category slug is &#8216;. $yourcat-&#62;slug } Filed under: Wordpress<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=723&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/08/27/get-current-category-id-and-slug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
		<item>
		<title>wp_list_categories() exclude by slug name wordpress</title>
		<link>http://johnmartel.wordpress.com/2011/07/07/wp_list_categories-exclude-by-slug-name-wordpress/</link>
		<comments>http://johnmartel.wordpress.com/2011/07/07/wp_list_categories-exclude-by-slug-name-wordpress/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 15:54:43 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[exclude by slug name wordpress wp_list_categories()]]></category>
		<category><![CDATA[wordpress wp_list_categories() exclude by name]]></category>
		<category><![CDATA[wp_list_categories() exclude]]></category>
		<category><![CDATA[wp_list_categories() exclude by category name]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=718</guid>
		<description><![CDATA[&#60;?php $category = get_category_by_slug(&#8216;uncategorized&#8217;); $catid = $category-&#62;term_id; wp_list_categories(&#8216;orderby=order&#38;title_li=&#38;hide_empty=0&#38;exclude=116,&#8217;.$catid); ?&#62; Filed under: Wordpress Tagged: exclude by slug name wordpress wp_list_categories(), wordpress wp_list_categories() exclude by name, wp_list_categories() exclude, wp_list_categories() exclude by category name<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=718&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/07/07/wp_list_categories-exclude-by-slug-name-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
		<item>
		<title>Displaying Static Blocks in Magento</title>
		<link>http://johnmartel.wordpress.com/2011/05/29/displaying-static-blocks-in-magento/</link>
		<comments>http://johnmartel.wordpress.com/2011/05/29/displaying-static-blocks-in-magento/#comments</comments>
		<pubDate>Sun, 29 May 2011 08:08:29 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Displaying Static Blocks in Magento]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=715</guid>
		<description><![CDATA[// replace the identifier name with the Identifier * field value of your static block getLayout()-&#62;createBlock(&#8216;cms/block&#8217;)-&#62;setBlockId(&#8216;identifier&#8217;)-&#62;toHtml() ?&#62; Filed under: Magento Tagged: Displaying Static Blocks in Magento<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=715&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/05/29/displaying-static-blocks-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
		<item>
		<title>Force one column layout for wordpress post area</title>
		<link>http://johnmartel.wordpress.com/2011/05/14/force-one-column-layout-for-wordpress-post-area/</link>
		<comments>http://johnmartel.wordpress.com/2011/05/14/force-one-column-layout-for-wordpress-post-area/#comments</comments>
		<pubDate>Sat, 14 May 2011 16:49:46 +0000</pubDate>
		<dc:creator>john martel</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[one column layout wordpress post area]]></category>

		<guid isPermaLink="false">http://johnmartel.wordpress.com/?p=713</guid>
		<description><![CDATA[This will make the wordpress post area default to one column and force current users to use one column layout //Add this on function.php function one_screen_column_layout( $columns_width ) { $columns_width['post'] = 1; return $columns_width; } add_filter( &#8216;screen_layout_columns&#8217;, &#8216;one_screen_column_layout&#8217; ); function sone_screen_column_layout() { return 1; } add_filter( &#8216;get_user_option_screen_layout_post&#8217;, &#8216;one_screen_column_layout&#8217; ); Filed under: Wordpress Tagged: one column [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=johnmartel.wordpress.com&#038;blog=7390163&#038;post=713&#038;subd=johnmartel&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
		<wfw:commentRss>http://johnmartel.wordpress.com/2011/05/14/force-one-column-layout-for-wordpress-post-area/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/ffa652cb029f874bceb98807521f93ab?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">john martel</media:title>
		</media:content>
	</item>
	</channel>
</rss>
