<?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>rtCafe &#187; wordpress</title>
	<atom:link href="http://cafe.rtcamp.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://cafe.rtcamp.com</link>
	<description>rtCamp Cafe</description>
	<lastBuildDate>Wed, 22 Feb 2012 10:05:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WP MVC plugin framework</title>
		<link>http://cafe.rtcamp.com/2012/02/02/wp-mvc-plugin-framework/</link>
		<comments>http://cafe.rtcamp.com/2012/02/02/wp-mvc-plugin-framework/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 11:57:13 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/02/02/wp-mvc-plugin-framework/</guid>
		<description><![CDATA[Please check &#8211; http://wpmvc.org/ Looks like outdated but very good idea&#8230;]]></description>
			<content:encoded><![CDATA[<p>Please check &#8211; <a href="http://wpmvc.org/" rel="nofollow">http://wpmvc.org/</a></p>
<p>Looks like outdated but very good idea&#8230;</p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/02/02/wp-mvc-plugin-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>No More Passwords Log Into WordPress with a&#8230;</title>
		<link>http://cafe.rtcamp.com/2012/01/30/no-more-passwords-log-into-wordpress-with-a/</link>
		<comments>http://cafe.rtcamp.com/2012/01/30/no-more-passwords-log-into-wordpress-with-a/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 18:52:12 +0000</pubDate>
		<dc:creator>Radhe</dc:creator>
				<category><![CDATA[link]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[qr-code]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2012/01/30/no-more-passwords-log-into-wordpress-with-a/</guid>
		<description><![CDATA[No More Passwords: Log Into WordPress with a QR Code http://wordpress.org/extend/plugins/wp-qr-code-login/]]></description>
			<content:encoded><![CDATA[<p>No More Passwords: Log Into WordPress with a QR Code</p>
<p><a href="http://wordpress.org/extend/plugins/wp-qr-code-login/" rel="nofollow">http://wordpress.org/extend/plugins/wp-qr-code-login/</a></p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/01/30/no-more-passwords-log-into-wordpress-with-a/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Conditional Script Loading Revisited &#124; scribu</title>
		<link>http://cafe.rtcamp.com/2012/01/20/conditional-script-loading-revisited-scribu/</link>
		<comments>http://cafe.rtcamp.com/2012/01/20/conditional-script-loading-revisited-scribu/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 12:25:41 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=670</guid>
		<description><![CDATA[Conditional Script Loading Revisited &#124; scribu.]]></description>
			<content:encoded><![CDATA[<p><a href="http://scribu.net/wordpress/conditional-script-loading-revisited.html">Conditional Script Loading Revisited | scribu</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/01/20/conditional-script-loading-revisited-scribu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Constants</title>
		<link>http://cafe.rtcamp.com/2012/01/02/wordpress-constants/</link>
		<comments>http://cafe.rtcamp.com/2012/01/02/wordpress-constants/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 15:37:10 +0000</pubDate>
		<dc:creator>umesh.nevase@rtcamp.com</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[constants]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=646</guid>
		<description><![CDATA[Here you will get a list of all constants defined in core WordPress. http://wpengineer.com/2382/wordpress-constants-overview/ &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p>Here you will get a list of all constants defined in core WordPress.</p>
<p><a href="http://wpengineer.com/2382/wordpress-constants-overview/">http://wpengineer.com/2382/wordpress-constants-overview/</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2012/01/02/wordpress-constants/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smashing Magazine for WORDPRESS</title>
		<link>http://cafe.rtcamp.com/2011/12/19/smashing-magazine-for-wordpress/</link>
		<comments>http://cafe.rtcamp.com/2011/12/19/smashing-magazine-for-wordpress/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 11:25:27 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[reading]]></category>
		<category><![CDATA[smashing magazine]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2011/12/19/smashing-magazine-for-wordpress/</guid>
		<description><![CDATA[There is a dedicated smashing magazine subdomain for wordpress. See &#8211; http://wp.smashingmagazine.com/ They have separate RSS feed also at &#8211; http://rss1.smashingmagazine.com/feed/?f=wp-std]]></description>
			<content:encoded><![CDATA[<p>There is a dedicated smashing magazine subdomain for wordpress.<br />
See &#8211; <a href="http://wp.smashingmagazine.com/" rel="nofollow">http://wp.smashingmagazine.com/</a><br />
They have separate RSS feed also at &#8211; <a href="http://rss1.smashingmagazine.com/feed/?f=wp-std" rel="nofollow">http://rss1.smashingmagazine.com/feed/?f=wp-std</a></p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/12/19/smashing-magazine-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugins and Symlinks : alexking.org</title>
		<link>http://cafe.rtcamp.com/2011/12/17/wordpress-plugins-and-symlinks-alexking-org/</link>
		<comments>http://cafe.rtcamp.com/2011/12/17/wordpress-plugins-and-symlinks-alexking-org/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 08:50:35 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[multisite]]></category>
		<category><![CDATA[paths]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=631</guid>
		<description><![CDATA[WordPress Plugins and Symlinks : alexking.org.]]></description>
			<content:encoded><![CDATA[<p><a href="http://alexking.org/blog/2011/12/15/wordpress-plugins-and-symlinks">WordPress Plugins and Symlinks : alexking.org</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/12/17/wordpress-plugins-and-symlinks-alexking-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improved Template Hierarchy Diagram</title>
		<link>http://cafe.rtcamp.com/2011/11/04/improved-template-hierarchy-diagram/</link>
		<comments>http://cafe.rtcamp.com/2011/11/04/improved-template-hierarchy-diagram/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 11:01:47 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[Chip]]></category>
		<category><![CDATA[Diagram]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[Template Hierarchy]]></category>
		<category><![CDATA[Template Hierarchy Diagram]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=603</guid>
		<description><![CDATA[Template Hierarchy » cb.blog. &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.chipbennett.net/themes/template-hierarchy/">Template Hierarchy » cb.blog</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p style="text-align: center;"><a href="http://www.chipbennett.net/themes/template-hierarchy/"><img src='http://cafe.rtcamp.com/files/2011/11/WordPressTemplateHierarchy-Rev-8.png' alt="WordPressTemplateHierarchy Rev 8 Improved Template Hierarchy Diagram"  title="Improved Template Hierarchy Diagram" /></a></p>
<p>&nbsp;</p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/11/04/improved-template-hierarchy-diagram/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Contact Form 7 Phone Validation</title>
		<link>http://cafe.rtcamp.com/2011/09/21/contact-form-7-phone-validation/</link>
		<comments>http://cafe.rtcamp.com/2011/09/21/contact-form-7-phone-validation/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 10:09:55 +0000</pubDate>
		<dc:creator>Joshua Abenazer</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[contact form 7]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2011/09/21/contact-form-7-phone-validation/</guid>
		<description><![CDATA[Using the below code in your themes functions.php would add a new phone validation to your Contact Form 7 Plugin. The following code can also be used as a reference to add any other validation to the Contact Form 7 Plugin. /* Contact Form 7 Phone Validation */ if(function_exists('wpcf7_add_shortcode')){ wpcf7_add_shortcode( 'phone', 'wpcf7_phone_shortcode_handler', true ); wpcf7_add_shortcode( [...]]]></description>
			<content:encoded><![CDATA[<p>Using the below code in your themes functions.php would add a new phone validation to your Contact Form 7 Plugin. The following code can also be used as a reference to add any other validation to the Contact Form 7 Plugin.</p>
<p><code><br />
/* Contact Form 7 Phone Validation */<br />
if(function_exists('wpcf7_add_shortcode')){<br />
wpcf7_add_shortcode( 'phone', 'wpcf7_phone_shortcode_handler', true );<br />
wpcf7_add_shortcode( 'phone*', 'wpcf7_phone_shortcode_handler', true );<br />
}</p>
<p>function wpcf7_phone_shortcode_handler( $tag ) {<br />
if ( ! is_array( $tag ) )<br />
return '';</p>
<p>$type = $tag['type'];<br />
$name = $tag['name'];<br />
$options = (array) $tag['options'];<br />
$values = (array) $tag['values'];</p>
<p>if ( empty( $name ) )<br />
return '';</p>
<p>$atts = '';<br />
$id_att = '';<br />
$class_att = '';<br />
$size_att = '';<br />
$maxlength_att = '';<br />
$tabindex_att = '';<br />
$title_att = '';</p>
<p>$class_att .= ' wpcf7-text';</p>
<p>if ( 'phone' == $type || 'phone*' == $type )<br />
$class_att .= ' wpcf7-validates-as-phone';</p>
<p>if ( 'phone*' == $type )<br />
$class_att .= ' wpcf7-validates-as-required';</p>
<p>foreach ( $options as $option ) {<br />
if ( preg_match( '%^id:([-0-9a-zA-Z_]+)$%', $option, $matches ) ) {<br />
$id_att = $matches[1];</p>
<p>} elseif ( preg_match( '%^class:([-0-9a-zA-Z_]+)$%', $option, $matches ) ) {<br />
$class_att .= ' ' . $matches[1];</p>
<p>} elseif ( preg_match( '%^([0-9]*)[/x]([0-9]*)$%', $option, $matches ) ) {<br />
$size_att = (int) $matches[1];<br />
$maxlength_att = (int) $matches[2];</p>
<p>} elseif ( preg_match( '%^tabindex:(\d+)$%', $option, $matches ) ) {<br />
$tabindex_att = (int) $matches[1];</p>
<p>}<br />
}</p>
<p>$value = (string) reset( $values );</p>
<p>if ( wpcf7_script_is() &amp;&amp; preg_grep( '%^watermark$%', $options ) ) {<br />
$class_att .= ' wpcf7-use-title-as-watermark';<br />
$title_att .= sprintf( ' %s', $value );<br />
$value = '';<br />
}</p>
<p>if ( wpcf7_is_posted() &amp;&amp; isset( $_POST[$name] ) )<br />
$value = stripslashes_deep( $_POST[$name] );</p>
<p>if ( $id_att )<br />
$atts .= ' id="' . trim( $id_att ) . '"';</p>
<p>if ( $class_att )<br />
$atts .= ' class="' . trim( $class_att ) . '"';</p>
<p>if ( $size_att )<br />
$atts .= ' size="' . $size_att . '"';<br />
else<br />
$atts .= ' size="40"'; // default size</p>
<p>if ( $maxlength_att )<br />
$atts .= ' maxlength="' . $maxlength_att . '"';</p>
<p>if ( '' !== $tabindex_att )<br />
$atts .= sprintf( ' tabindex="%d"', $tabindex_att );</p>
<p>if ( $title_att )<br />
$atts .= sprintf( ' title="%s"', trim( esc_attr( $title_att ) ) );</p>
<p>$html = '';</p>
<p>$validation_error = wpcf7_get_validation_error( $name );</p>
<p>$html = '<span class="wpcf7-form-control-wrap ' . $name . '">' . $html . $validation_error . '</span>';</p>
<p>return $html;<br />
}</p>
<p>add_filter( 'wpcf7_validate_phone', 'wpcf7_phone_validation_filter', 10, 2 );<br />
add_filter( 'wpcf7_validate_phone*', 'wpcf7_phone_validation_filter', 10, 2 );</p>
<p>function wpcf7_phone_validation_filter( $result, $tag ) {<br />
$type = $tag['type'];<br />
$name = $tag['name'];</p>
<p>$_POST[$name] = trim( strtr( (string) $_POST[$name], "\n", " " ) );</p>
<p>if ( 'phone' == $type || 'phone*' == $type ) {<br />
if ( 'phone*' == $type &amp;&amp; '' == $_POST[$name] ) {<br />
$result['valid'] = false;<br />
$result['reason'][$name] = wpcf7_get_message( 'invalid_required' );<br />
} elseif ( '' != $_POST[$name] &amp;&amp; ! is_telnum( $_POST[$name] ) ) {<br />
$result['valid'] = false;<br />
$result['reason'][$name] = wpcf7_get_message( 'invalid_phone' );<br />
}<br />
}</p>
<p>return $result;<br />
}</p>
<p>function is_telnum($telnum)<br />
{<br />
$regexp = '/^[0-9\+\-\)\(\d\s]{7,}$/'; // Change the regex here suiting your phone number format</p>
<p>if(preg_match($regexp, $telnum))<br />
return true;<br />
else<br />
return false;<br />
}</p>
<p>/* Tag generator */</p>
<p>function wpcf7_add_tag_generator_phone() {<br />
if( function_exists('wpcf7_add_tag_generator') ){<br />
wpcf7_add_tag_generator( 'phone', __( 'Phone field', 'wpcf7' ),<br />
'wpcf7-tg-pane-phone', 'wpcf7_tg_pane_phone_' );<br />
}<br />
}</p>
<p>function wpcf7_tg_pane_phone_( &amp;$contact_form ) {<br />
wpcf7_tg_pane_phone( 'phone' );<br />
}</p>
<p>function wpcf7_tg_pane_phone( $type = 'phone' ) { ?&gt;<br />
&lt;div id="wpcf7-tg-pane-" class="hidden"&gt;</p>
<form action="">
<table>
<tbody>
<tr>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td><code>id</code> ()</td>
<td><code>class</code> ()</td>
</tr>
<tr>
<td><code>size</code> ()</td>
<td><code>maxlength</code> ()</td>
</tr>
<tr>
<td>()</td>
<td></td>
</tr>
</tbody>
</table>
<div class="tg-tag">&lt;input type="text" name="" class="tag" readonly="readonly" onfocus="this.select()" /&gt;</div>
<div class="tg-mail-tag"><span class="arrow">⬇</span></div>
</form>
<p>'Phone number format is invalid',<br />
'default' =&gt; 'The phone number format is invalid.'<br />
) ;<br />
return $message;<br />
}<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/09/21/contact-form-7-phone-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add images and styles to the WordPress custom menu &#124; WP Garage</title>
		<link>http://cafe.rtcamp.com/2011/06/11/how-to-add-images-and-styles-to-the-wordpress-custom-menu-wp-garage/</link>
		<comments>http://cafe.rtcamp.com/2011/06/11/how-to-add-images-and-styles-to-the-wordpress-custom-menu-wp-garage/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 09:32:33 +0000</pubDate>
		<dc:creator>Rahul Bansal</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[custom-css]]></category>
		<category><![CDATA[custom-menu]]></category>
		<category><![CDATA[nav-menu]]></category>
		<category><![CDATA[naviagtion]]></category>
		<category><![CDATA[screen-options]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/?p=511</guid>
		<description><![CDATA[How to add images and styles to the WordPress custom menu How many of you knew this already! Please comment.]]></description>
			<content:encoded><![CDATA[<p><a href="http://wpgarage.com/css/how-to-add-images-and-styles-to-the-wordpress-custom-menu/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+wordpressgarage+%28WP+Garage%29&amp;utm_content=Google+Reader">How to add images and styles to the WordPress custom menu</a></p>
<p>How many of you knew this already! Please comment.</p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/06/11/how-to-add-images-and-styles-to-the-wordpress-custom-menu-wp-garage/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Save Database Queries for Analysis http codex wordpress&#8230;</title>
		<link>http://cafe.rtcamp.com/2011/06/01/save-database-queries-for-analysis-http-codex-wordpress/</link>
		<comments>http://cafe.rtcamp.com/2011/06/01/save-database-queries-for-analysis-http-codex-wordpress/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 02:43:19 +0000</pubDate>
		<dc:creator>Joshua Abenazer</dc:creator>
				<category><![CDATA[link]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cafe.rtcamp.com/2011/06/01/save-database-queries-for-analysis-http-codex-wordpress/</guid>
		<description><![CDATA[Save Database Queries for Analysis http://codex.wordpress.org/es:Editing_wp-config.php#Save_queries_for_analysis]]></description>
			<content:encoded><![CDATA[<p>Save Database Queries for Analysis</p>
<p><a href="http://codex.wordpress.org/es:Editing_wp-config.php#Save_queries_for_analysis" rel="nofollow">http://codex.wordpress.org/es:Editing_wp-config.php#Save_queries_for_analysis</a></p>]]></content:encoded>
			<wfw:commentRss>http://cafe.rtcamp.com/2011/06/01/save-database-queries-for-analysis-http-codex-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

