<?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>Marius&#039; Blog &#187; WordPress</title>
	<atom:link href="http://mariuscristiandonea.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://mariuscristiandonea.com</link>
	<description>A collection of code samples I use for my work ... and my work.</description>
	<lastBuildDate>Sat, 02 Jul 2011 09:35:49 +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>Front End AJAX in WordPress</title>
		<link>http://mariuscristiandonea.com/2011/06/29/front-end-ajax-in-wordpress/</link>
		<comments>http://mariuscristiandonea.com/2011/06/29/front-end-ajax-in-wordpress/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 08:14:36 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=451</guid>
		<description><![CDATA[This code will help you use AJAX in WordPress Front End.]]></description>
			<content:encoded><![CDATA[<p>Copy the below code in a file (frontend-ajax.php) and call it as an AJAX url.</p>
<p><strong>PHP code:</strong></p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span><span class="st0">&quot;DOING_AJAX&quot;</span><span class="sy0">,</span> <span class="kw4">true</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
<span class="kw1">require_once</span><span class="br0">&#40;</span><span class="st0">&quot;../../../wp-load.php&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// Add wp-load.php file.</span><br />
<span class="kw1">if</span><span class="br0">&#40;</span><span class="sy0">!</span><a href="http://www.php.net/isset"><span class="kw3">isset</span></a><span class="br0">&#40;</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st0">&quot;action&quot;</span><span class="br0">&#93;</span><span class="br0">&#41;</span> <span class="sy0">||</span> <a href="http://www.php.net/trim"><span class="kw3">trim</span></a><span class="br0">&#40;</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st0">&quot;action&quot;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">==</span><span class="st0">&quot;&quot;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/die"><span class="kw3">die</span></a><span class="br0">&#40;</span><span class="st0">&quot;-1&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span><br />
&nbsp; &nbsp; <br />
<span class="sy0">@</span><a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span><span class="st0">&quot;Content-Type: text/html; charset=&quot;</span><span class="sy0">.</span>get_option<span class="br0">&#40;</span><span class="st0">&quot;blog_charset&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="kw1">include_once</span><span class="br0">&#40;</span><span class="st0">&quot;filePath&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// Including your plugin&#8217;s main file where ajax actions are defined.</span><br />
send_nosniff_header<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <br />
<span class="kw1">if</span><span class="br0">&#40;</span>has_action<span class="br0">&#40;</span><span class="st0">&quot;wp_ajax_&quot;</span><span class="sy0">.</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st0">&quot;action&quot;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; do_action<span class="br0">&#40;</span><span class="st0">&quot;wp_ajax_&quot;</span><span class="sy0">.</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st0">&quot;action&quot;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/exit"><span class="kw3">exit</span></a><span class="sy0">;</span><br />
<span class="br0">&#125;</span></p>
<p>status_header<span class="br0">&#40;</span>404<span class="br0">&#41;</span><span class="sy0">;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2011/06/29/front-end-ajax-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thumbnail Gallery (WordPress Plugin)</title>
		<link>http://mariuscristiandonea.com/2011/06/17/thumbnail-gallery-wordpress-plugin/</link>
		<comments>http://mariuscristiandonea.com/2011/06/17/thumbnail-gallery-wordpress-plugin/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 07:05:54 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress Plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=442</guid>
		<description><![CDATA[Description: This Plugin will help you to easily add a thumbnail gallery to your WordPress website or blog. The gallery is completely customizable, resizable and is compatible with all browsers and devices (iPhone, iPad and Android smartphones). You will be able to insert it in any page or post you want with inbuilt short code [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://codecanyon.net/item/thumbnail-gallery-wordpress-plugin/294024?ref=MariusCristianDonea" target="_blank"><img class="post-image" title="Thumbnail Gallery (WordPress Plugin)" src="http://mariuscristiandonea.com/wp-content/uploads/2011/06/thumbnail-gallery-wordpress.png" alt="Thumbnail Gallery (WordPress Plugin)" width="460" height="345" /></a></p>
<p><strong>Description:</strong> This Plugin will help you to easily add a thumbnail gallery to your WordPress website or blog. The gallery is completely customizable, resizable and is compatible with all browsers and devices (iPhone, iPad and Android smartphones). You will be able to insert it in any page or post you want with inbuilt<br />
short code generator.<br />
<strong>Download &amp; Preview:</strong> <a title="CodeCanyon" href="http://codecanyon.net/item/thumbnail-gallery-wordpress-plugin/294024?ref=MariusCristianDonea" target="_blank">CodeCanyon</a><br />
<strong>Technologies: </strong>AJAX, CSS, HTML, JavaScript, jQuery, PHP, WordPress</p>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2011/06/17/thumbnail-gallery-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wall/Grid Gallery (WordPress Plugin)</title>
		<link>http://mariuscristiandonea.com/2011/06/14/wallgrid-gallery-wordpress-plugin/</link>
		<comments>http://mariuscristiandonea.com/2011/06/14/wallgrid-gallery-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 14 Jun 2011 10:04:11 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress Plugin]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=438</guid>
		<description><![CDATA[Description: This Plugin will help you to easily add a grid gallery to your WordPress website or blog. The gallery is completely customizable, resizable and is compatible with all browsers and devices (iPhone, iPad and Android smartphones). You will be able to insert it in any page or post you want with inbuilt short code [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://codecanyon.net/item/wallgrid-gallery-wordpress-plugin/270895?ref=MariusCristianDonea" target="_blank"><img class="post-image" title="Wall/Grid Gallery (WordPress Plugin)" src="http://mariuscristiandonea.com/wp-content/uploads/2011/06/wall-grid-gallery-wordpress.png" alt="Wall/Grid Gallery (WordPress Plugin)" width="460" height="345" /></a></p>
<p><strong>Description:</strong> This Plugin will help you to easily add a grid gallery to your WordPress website or blog. The gallery is completely customizable, resizable and is compatible with all browsers and devices (iPhone, iPad and Android smartphones). You will be able to insert it in any page or post you want with inbuilt short code generator.<br />
<strong>Download &amp; Preview:</strong> <a title="CodeCanyon" href="http://codecanyon.net/item/wallgrid-gallery-wordpress-plugin/270895?ref=MariusCristianDonea" target="_blank">CodeCanyon</a><br />
<strong>Technologies: </strong>AJAX, CSS, HTML, JavaScript, jQuery, PHP, WordPress</p>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2011/06/14/wallgrid-gallery-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The New Cinema</title>
		<link>http://mariuscristiandonea.com/2010/12/21/the-new-cinema/</link>
		<comments>http://mariuscristiandonea.com/2010/12/21/the-new-cinema/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 15:17:42 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=332</guid>
		<description><![CDATA[The New Cinema website and blog.]]></description>
			<content:encoded><![CDATA[<p>[nggallery id=2 template=slideshow]</p>
<p><strong>Description:</strong> The New Cinema website and blog.<br />
<strong>Website:</strong> <a title="The New Cinema" href="http://www.thenewcinemamagazine.com/" target="_blank">http://www.thenewcinemamagazine.com/</a><br />
<strong>Design:</strong> Vifil Prunner<br />
<strong>Technologies: </strong>CSS, HTML, PHP, WordPress</p>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2010/12/21/the-new-cinema/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Smooci 2.1.0 WordPress Theme</title>
		<link>http://mariuscristiandonea.com/2010/01/21/smooci-210-wordpress-theme/</link>
		<comments>http://mariuscristiandonea.com/2010/01/21/smooci-210-wordpress-theme/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 12:18:46 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[cellphone]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile phone]]></category>
		<category><![CDATA[mobile theme]]></category>
		<category><![CDATA[pda]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=169</guid>
		<description><![CDATA[Smooci is a WordPress theme for mobile phones and devices.]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://mariuscristiandonea.com/wp-content/uploads/2010/01/screenshot.png"></a><img class="size-full wp-image-177 aligncenter" title="Smooci 2.1.0" src="http://mariuscristiandonea.com/wp-content/uploads/2010/01/screenshot21.png" alt="" width="200" height="376" /></p>
<p style="text-align: left;">Smooci is a WordPress theme for mobile phones and devices. Use <a href="http://wordpress.org/extend/plugins/smooci-wordpress-on-mobiles/" target="_blank">this WordPress plugin</a> to display the theme when your WordPress site is visited on mobiles</p>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2010/01/21/smooci-210-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Smooci (WordPress on Mobiles) &#8211; WordPress Plugin</title>
		<link>http://mariuscristiandonea.com/2010/01/21/smooci-wordpress-on-mobiles-wordpress-plugin/</link>
		<comments>http://mariuscristiandonea.com/2010/01/21/smooci-wordpress-on-mobiles-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 11:18:58 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugin]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[cellphone]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[mobile phone]]></category>
		<category><![CDATA[mobile theme]]></category>
		<category><![CDATA[pda]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[touch]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=164</guid>
		<description><![CDATA[Smooci (WordPress on Mobiles) plugin can be used to display a diferent theme when your WordPress site is visited on mobile phones or devices.]]></description>
			<content:encoded><![CDATA[<p>Smooci (WordPress on Mobiles) plugin can be used to display a diferent theme when your WordPress site is visited on mobile phones or devices.<br />
The plugin detects the mobile device and displays the theme of your choice. If you encounter a mobile phone or device that doesn&#8217;t display the selected theme, please leave a comment to this post.</p>
<p style="text-align: center;"><img class="aligncenter" title="Smooci (WordPress on Mobiles) – WordPress Plugin" src="http://www.smooci.com/extras/plugin.png" alt="" width="500" height="467" /></p>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2010/01/21/smooci-wordpress-on-mobiles-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>DOP Player WordPress Plugin</title>
		<link>http://mariuscristiandonea.com/2009/05/31/dop-player-wordpress-plugin/</link>
		<comments>http://mariuscristiandonea.com/2009/05/31/dop-player-wordpress-plugin/#comments</comments>
		<pubDate>Sun, 31 May 2009 23:02:59 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugin]]></category>
		<category><![CDATA[3q2]]></category>
		<category><![CDATA[3qp]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[m4a]]></category>
		<category><![CDATA[m4v]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[mov]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[mp4v]]></category>
		<category><![CDATA[player]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://mariuscristiandonea.com/?p=120</guid>
		<description><![CDATA[Dop Player is intended for users that want an easy to use player to integrate in their blog.
Dop Player can be easily customized from an admin panel to match your template's colors.]]></description>
			<content:encoded><![CDATA[<p>After several tests and favorable comments, I can officialy launch DOP Player WordPress Plugin 1.0.<br />
Dop Player is intended for users that want an easy to use player to integrate in their blog.<br />
Dop Player can be easily customized from an admin panel to match your template&#8217;s colors.</p>
<p><span style="color: #ff0000;"><strong>Warning</strong></span><br />
You have to copy the content from dop-player folder from the zip file. If you don&#8217;t you will see only a space where the player should be.<br />
You have in the zip file:<br />
- ZIP/dop-player/<strong>dop-player.php</strong><br />
- ZIP/dop-player/<strong>dop-player/dop-player-admin.php</strong><br />
- ZIP/dop-player/<strong>dop-player/dop-player.swf</strong><br />
In your plugin folder you should have:<br />
- WWW/wp-content/plugins/<strong>dop-player.php</strong><br />
- WWW/wp-content/plugins/<strong>dop-player/dop-player-admin.php</strong><br />
- WWW/wp-content/plugins/<strong>dop-player/dop-player.swf</strong></p>
<p><strong>You can download it from:</strong><br />
<a href="http://dop-p.com/wordpress/" target="_blank">http://dop-p.com/wordpress/</a><br />
<a href="http://wordpress.org/extend/plugins/dop-player/" target="_blank">http://wordpress.org/extend/plugins/dop-player/</a></p>
<p><strong>An example</strong><br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="470" height="265" align="middle"><param name="movie" value="http://mariuscristiandonea.com/wp-content/plugins/dop-player/dop-player.swf" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="sameDomain" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="flashvars" value="videoURL=http://mariuscristiandonea.com/wp-content/uploads/2009/05/dop_player_video.flv&bgColor=ffffb3&bgAlpha=100&cpBgColor=ffffb3&cpBtnBgColor=ffffb3&cpBtnOutlineColor=FF6300" /><embed src="http://mariuscristiandonea.com/wp-content/plugins/dop-player/dop-player.swf" allowFullScreen="true" allowScriptAccess="sameDomain" quality="high" wmode="transparent" flashvars="videoURL=http://mariuscristiandonea.com/wp-content/uploads/2009/05/dop_player_video.flv&bgColor=ffffb3&bgAlpha=100&cpBgColor=ffffb3&cpBtnBgColor=ffffb3&cpBtnOutlineColor=FF6300" width="470" height="265" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></p>
<p><strong>Admin Panel Screenshot</strong><br />
<img class="aligncenter" title="Admin Panel Screenshot" src="http://mariuscristiandonea.com/wp-content/uploads/2009/05/admin-panel-screenshot.jpg" alt="" width="640" height="434" /></p>
]]></content:encoded>
			<wfw:commentRss>http://mariuscristiandonea.com/2009/05/31/dop-player-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>92</slash:comments>
<enclosure url="http://mariuscristiandonea.com/wp-content/uploads/2009/05/dop_player_video.flv" length="584008" type="video/x-flv" />
		</item>
	</channel>
</rss>

