<?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>Bobz&#039;s playground &#187; Wordpress</title>
	<atom:link href="http://www.bobz.com.hr/blog/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bobz.com.hr/blog</link>
	<description>Bobz&#039;s playground, tech stuff web related</description>
	<lastBuildDate>Mon, 07 Mar 2011 21:37:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Feedwordpress strip selected tags</title>
		<link>http://www.bobz.com.hr/blog/wordpress/feedwordpress-strip-selected-tags.php</link>
		<comments>http://www.bobz.com.hr/blog/wordpress/feedwordpress-strip-selected-tags.php#comments</comments>
		<pubDate>Tue, 08 Feb 2011 18:55:19 +0000</pubDate>
		<dc:creator>Bobz</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bobz.com.hr/blog/?p=498</guid>
		<description><![CDATA[<a href="http://www.bobz.com.hr/blog/wordpress/feedwordpress-strip-selected-tags.php"><img align="left" hspace="5" width="150" height="150" src="http://www.bobz.com.hr/blog/wp-content/uploads/2011/02/fwp-strip-150x150.gif" class="alignleft wp-post-image tfe" alt="Feedwordpress strip selected=" title="Feedwordpress strip selected=" /></a>A little hack for &#8220;FWP+: Strip HTML Tags from Posts&#8221; plugin. If you are using Feedwordpress plugin to aggregate and import RSS in your posts, the you probably sometimes need a feature to strip some tags from syndicated content. FWP+: Strip HTML Tags from Posts plugin is a right thing then, because with this plugin [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bobz.com.hr/blog/wp-content/uploads/2011/02/fwp-strip.gif"><img class="alignnone size-full wp-image-503" title="Feedwordpress strip selected=" src="http://www.bobz.com.hr/blog/wp-content/uploads/2011/02/fwp-strip.gif" alt="Feedwordpress strip selected=" width="540" height="265" /></a></p>
<p>A little hack for &#8220;<a title="FWP+: Strip HTML Tags from Posts" href="http://projects.radgeek.com/fwp-strip-html-tags-from-posts/" target="_blank">FWP+: Strip HTML Tags from Posts</a>&#8221; plugin.<br />
If you are using <a title="Feedwordpress" href="http://feedwordpress.radgeek.com/" target="_blank">Feedwordpress</a> plugin to aggregate and import RSS in your posts, the you probably sometimes need a feature to strip some tags from syndicated content.<br />
<a title="FWP+: Strip HTML Tags from Posts" href="http://projects.radgeek.com/fwp-strip-html-tags-from-posts/" target="_blank">FWP+: Strip HTML Tags from Posts</a> plugin is a right thing then, because with this plugin you can enable/disable strip tags function.</p>
<p>Only one thing about this plugin is that if it&#8217;s active, then it strips all HTML tags from a feed and sometimes that is not the right choice.<br />
By editing line 120 of a plugin you can define which tags you don&#8217;t want to strip from content.</p>
<p>Find line:</p>
<p>$text = &#8216;&lt;p&gt;&#8217;.strip_tags($text).&#8217;&lt;/p&gt;&#8217;;</p>
<p>And replace it with:</p>
<p>$text = &#8216;&lt;p&gt;&#8217;.strip_tags($text, &#8216;&lt;a&gt;&lt;p&gt;&lt;br&gt;&#8217;).&#8217;&lt;/p&gt;&#8217;;</p>
<p>where &lt;a&gt;, &lt;p&gt; and &lt;br&gt; are allowd tags, and they will not be striped from html.</p>
<p>You can see on image above right place in plugin where this should be added. And remember if you sometime update you plugin, then you will have to manualy update this line again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobz.com.hr/blog/wordpress/feedwordpress-strip-selected-tags.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple fields repeatable field groups</title>
		<link>http://www.bobz.com.hr/blog/codeing/simple-fields-repeatable-field-groups.php</link>
		<comments>http://www.bobz.com.hr/blog/codeing/simple-fields-repeatable-field-groups.php#comments</comments>
		<pubDate>Sun, 07 Nov 2010 20:04:20 +0000</pubDate>
		<dc:creator>Bobz</dc:creator>
				<category><![CDATA[Codeing]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bobz.com.hr/blog/?p=452</guid>
		<description><![CDATA[<a href="http://www.bobz.com.hr/blog/codeing/simple-fields-repeatable-field-groups.php"><img align="left" hspace="5" width="150" height="150" src="http://www.bobz.com.hr/blog/wp-content/uploads/2010/11/simple-fields-1-150x150.gif" class="alignleft wp-post-image tfe" alt="" title="simple-fields-1" /></a>This tutorial shows how to get content from repeatable field groups for WordPress plugin Simple fields. It will not cover creating of fields because process is pretty streight forward, so you should visit developers site for info on how to create and manage custom fields. Ok, now&#8230; I have created repetable field with 2 fields [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to get content from repeatable field groups for <a href="http://eskapism.se/code-playground/simple-fields/" target="_blank">WordPress plugin Simple fields</a>. It will not cover creating of fields because process is pretty streight forward, so you should <a href="http://eskapism.se/code-playground/simple-fields/" target="_blank">visit developers site</a> for info on how to create and manage custom fields.</p>
<p>Ok, now&#8230; I have created repetable field with 2 fields Image and URL.<br />
I&#8217;m going to use this with <a href="http://nivo.dev7studios.com/" target="_blank">jquery nivo slider</a> so what I need is ability to add image and link.</p>
<p>Here is how it looks in my post&#8230; Very nice i know :)<br />
<img class="alignnone size-full wp-image-456" title="simple-fields-1" src="http://www.bobz.com.hr/blog/wp-content/uploads/2010/11/simple-fields-1.gif" alt="" width="540" height="292" /></p>
<p>So, when we have inserted image and URL, it&#8217;s time to get those values into our loop. You can do that just like this:</p>
<pre class="brush: php">
$sliderID = $post-&gt;ID;
$slider = simple_fields_get_post_group_values($sliderID, &quot;Homepage slide&quot;, false, 2);

foreach ($slider as $value) {
echo &#039;&lt;a href=&quot;&#039;.$value[2].&#039;&quot;&gt;&#039;.wp_get_attachment_image($value[1], $size=&#039;full&#039;).&#039;&lt;/a&gt;&#039;;
}
</pre>
<p>Let me explain this a little bit&#8230;</p>
<pre class="brush: php">
$sliderID = $post-&gt;ID;
$slider = simple_fields_get_post_group_values($sliderID, &quot;Homepage slide&quot;, false, 2);
</pre>
<p>With this piece of code, we get all values for all fields in a field group at the same time and it is returned as an array.<br />
Next what we will do is print out values, like this:</p>
<pre class="brush: php">
foreach ($slider as $value) {
echo &#039;&lt;a href=&quot;&#039;.$value[2].&#039;&quot;&gt;&#039;.wp_get_attachment_image($value[1], $size=&#039;full&#039;).&#039;&lt;/a&gt;&#039;;
}
</pre>
<p>where $value[1] is Image and $value[2] is URL.</p>
<p>What i get printed from my example above is:</p>
<pre class="brush: html">
&lt;a href=&quot;http://www.bobz.com.hr&quot;&gt;&lt;img width=&quot;720&quot; height=&quot;275&quot; src=&quot;http://path-to-my-image.jpg&quot; class=&quot;attachment-full&quot; alt=&quot;name-of-my-image&quot; title=&quot;name-of-my-image&quot; /&gt;&lt;/a&gt;
</pre>
<p>And, that&#8217;s all folks!<br />
You can add as much images and URLs as you want, they will be printed one below other.<br />
And don&#8217;t forget, if you like this post, share it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobz.com.hr/blog/codeing/simple-fields-repeatable-field-groups.php/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>eShop custom cart widget</title>
		<link>http://www.bobz.com.hr/blog/codeing/eshop-custom-cart-widget.php</link>
		<comments>http://www.bobz.com.hr/blog/codeing/eshop-custom-cart-widget.php#comments</comments>
		<pubDate>Mon, 01 Nov 2010 21:19:50 +0000</pubDate>
		<dc:creator>Bobz</dc:creator>
				<category><![CDATA[Codeing]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bobz.com.hr/blog/?p=440</guid>
		<description><![CDATA[<a href="http://www.bobz.com.hr/blog/codeing/eshop-custom-cart-widget.php"><img align="left" hspace="5" width="150" height="150" src="http://www.bobz.com.hr/blog/wp-content/uploads/2010/11/eshop-preview-150x150.gif" class="alignleft wp-post-image tfe" alt="" title="eshop-preview" /></a>Custom eShop cart widget, for use with eShop WordPress plugin. To make this work, you need to: 1. Download eshop_widget_custom.php file 2. Edit eshop.php file on line 83. 3. Paste this: include_once &#8216;eshop_widget_custom.php&#8217;; 4. Upload file eshop_widget_custom.php in eshop plugin folder 5. Go to &#8220;Appearance > Widgets&#8221; and you should see your custom widget named: [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.bobz.com.hr/blog/wp-content/uploads/2010/11/eshop-preview.gif" alt="" title="eshop-preview" width="540" height="265" class="alignnone size-full wp-image-445" /><br />
Custom eShop cart widget, for use with <a href="http://quirm.net/" target="_blank">eShop WordPress plugin</a>.</p>
<p>To make this work, you need to:<br />
1. <a href='http://www.bobz.com.hr/blog/wp-content/uploads/2010/11/eshop_widget_custom.php_.zip'>Download eshop_widget_custom.php file</a><br />
2. Edit eshop.php file on line 83.<br />
3. Paste this: <em>include_once &#8216;eshop_widget_custom.php&#8217;;</em><br />
4. Upload file eshop_widget_custom.php in eshop plugin folder<br />
5. Go to &#8220;Appearance > Widgets&#8221; and you should see your custom widget named: eShop Cart (Custom)</p>
<h2>[Update]</h2>
<p>Better solution would be to:<br />
1. Upload file <a href='http://www.bobz.com.hr/blog/wp-content/uploads/2010/11/eshop_widget_custom.php_.zip'>eshop_widget_custom.php</a> to your theme directory<br />
2. In your <em>functions.php</em> file add <em>include_once &#8216;eshop_widget_custom.php&#8217;;</em></p>
<p>This would be better solution, because when you upgrade eShop plugin to newer versions you will not have to change anything</p>
<p>Then all you need to do is edit eshop_widget_custom.php file and adjust it for your needs.<br />
And last but not the least, <a href="http://quirm.net/download/" target="_blank">support the developer of this greate plugin</a> with some donations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobz.com.hr/blog/codeing/eshop-custom-cart-widget.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to reset your lost WordPress password with PhpMyAdmin</title>
		<link>http://www.bobz.com.hr/blog/wordpress/how-to-reset-your-lost-wordpress-password-with-phpmyadmin.php</link>
		<comments>http://www.bobz.com.hr/blog/wordpress/how-to-reset-your-lost-wordpress-password-with-phpmyadmin.php#comments</comments>
		<pubDate>Sun, 17 May 2009 17:15:52 +0000</pubDate>
		<dc:creator>Bobz</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.bobz.com.hr/blog/?p=414</guid>
		<description><![CDATA[<a href="http://www.bobz.com.hr/blog/wordpress/how-to-reset-your-lost-wordpress-password-with-phpmyadmin.php"><img align="left" hspace="5" width="150" height="150" src="http://www.bobz.com.hr/blog/wp-content/uploads/2009/05/reset-wp-pass-phpmyadmin-150x150.gif" class="alignleft wp-post-image tfe" alt="reset-wp-pass-phpmyadmin" title="reset-wp-pass-phpmyadmin" /></a>Here is a simple way of reseting your lost password with phpmyadmin. This is method is useful if you have trouble with your mail settings and you can not resend yourself password in default way. So here is what you have to do: Login to your cpanel and go to PhpMyAdmin Open your WordPress databes [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bobz.com.hr/blog/wp-content/uploads/2009/05/reset-wp-pass-phpmyadmin.gif" onclick="return hs.expand(this)" class="highslide"><img src="http://www.bobz.com.hr/blog/wp-content/uploads/2009/05/reset-wp-pass-phpmyadmin.gif" alt="reset-wp-pass-phpmyadmin" title="reset-wp-pass-phpmyadmin" width="540" height="265" class="alignnone size-full wp-image-416" /></a>Here is a simple way of reseting your lost password with phpmyadmin. This is method is useful if you have trouble with your mail settings and you can not resend yourself password in default way. So here is what you have to do:</p>
<ol>
<li>Login to your cpanel and go to PhpMyAdmin</li>
<li>Open your WordPress databes</li>
<li>Browse tabel &#8220;wp_users&#8221;</li>
<li>Edit username for which you want to reset password</li>
<li>For the Field &#8220;user_pass&#8221; change &#8220;Function&#8221; to &#8220;MD5&#8243;</li>
<li>In text &#8220;Value&#8221; enter your new password</li>
<li>Click &#8220;Go&#8221;</li>
</ol>
<p>And you just got a new password, go to your WordPress login page and try to login with your new password, it should work now.<br />
Next time write down your password, not every time reset will be simple as this.<br />
Also consider to use one of password manager tools it will simplify your everyday work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobz.com.hr/blog/wordpress/how-to-reset-your-lost-wordpress-password-with-phpmyadmin.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

