<?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>PSD to Wordpress &#187; Wordpress</title> <atom:link href="http://www.sramekdesign.com/category/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://www.sramekdesign.com</link> <description>Get your PSD sliced into the XHTML valid Wordpress theme. SramekDesign offers cheap and fast PSD to Wordpress conversion service.</description> <lastBuildDate>Wed, 20 Apr 2011 04:33:37 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>New WordPress HTML5 Starter theme on the way</title><link>http://www.sramekdesign.com/wordpress/new-wordpress-html5-starter-theme-on-the-way/</link> <comments>http://www.sramekdesign.com/wordpress/new-wordpress-html5-starter-theme-on-the-way/#comments</comments> <pubDate>Wed, 09 Mar 2011 06:55:49 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=948</guid> <description><![CDATA[I am now working on the HTML5 WordPress theme that should be successor of the theme I am using when working on PSD to WordPress conversions. Unlike the previous theme this one I plan to relase under GPL license in WordPress.org themes&#8217; directory. Stay tuned Related Posts:Convert PSD to WordPress today! Basically, when you have [...]]]></description> <content:encoded><![CDATA[<p>I am now working on the HTML5 WordPress theme that should be successor of the theme I am using when working on <a
href="http://www.sramekdesign.com">PSD to WordPress</a> conversions. Unlike the previous theme this one I plan to relase under GPL license in WordPress.org themes&#8217; directory.<br
/> Stay tuned <img
src='http://www.sramekdesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/about-psd-to-wordpress-service/convert-psd-to-wordpress-today/" rel="bookmark" class="crp_title">Convert PSD to WordPress today!</a><span
class="crp_excerpt"> Basically, when you have a WP theme, it serves as ...</span></li><li><a
href="http://www.sramekdesign.com/about-psd-to-wordpress-service/how-to-start-with-psd-to-wordpress/" rel="bookmark" class="crp_title">How to start with PSD to WordPress</a><span
class="crp_excerpt"> Like most of us know, refers to a WordPress blog ...</span></li><li><a
href="http://www.sramekdesign.com/about-psd-to-wordpress-service/experts-in-the-field-of-psd-to-wordpress-conversions/" rel="bookmark" class="crp_title">Experts in the field of PSD to WordPress conversions</a><span
class="crp_excerpt"> A strong web presence can only built when the company's ...</span></li><li><a
href="http://www.sramekdesign.com/about-psd-to-wordpress-service/i-have-design-and-want-to-get-it-converted-to-wordpress/" rel="bookmark" class="crp_title">I have design and want to get it converted to WordPress</a><span
class="crp_excerpt"> As most of us know, WordPress refers to an open ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/new-wordpress-html5-starter-theme-on-the-way/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Show number of Twitter followers function</title><link>http://www.sramekdesign.com/wordpress/show-number-of-twitter-followers-function/</link> <comments>http://www.sramekdesign.com/wordpress/show-number-of-twitter-followers-function/#comments</comments> <pubDate>Sat, 05 Feb 2011 08:23:37 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=929</guid> <description><![CDATA[You can show number of your Twitter followers by using this function. If you are a WordPress user, simply copy and paste it into the functions.php file. Call the function like: That&#8217;s it. Now you can brag with your popular Twitter account Related Posts:How to add field to user profile page Justin Tadlock published a [...]]]></description> <content:encoded><![CDATA[<p>You can show number of your Twitter followers by using this function. If you are a WordPress user, simply copy and paste it into the functions.php file.</p><pre class="brush: php; title: ; notranslate">
&lt;?php
function get_twitter_followers($username) {
$twitter_count = get_option(&quot;twitterfollowerscount&quot;);
if ($twitter_count['lastcheck'] &lt; ( mktime() - 3600 ) )
{
$xml=file_get_contents('http://twitter.com/users/show.xml?screen_name= . &quot;$username&quot;');
if (preg_match('/followers_count&gt;(.*)&lt;/',$xml,$match)!=0) {
$twitter_count['count'] = $match[1];
}
$twitter_count['lastcheck'] = mktime();
update_option(&quot;twitterfollowerscount&quot;,$twitter_count);
}
return $twitter_count['count'];
}
?&gt;
</pre><p>Call the function like:</p><pre class="brush: php; title: ; notranslate">
&lt;?php echo get_twitter_followers(&quot;sramekdesign&quot;); ?&gt;
</pre><p>That&#8217;s it. Now you can brag with your popular Twitter account <img
src='http://www.sramekdesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/" rel="bookmark" class="crp_title">How to add field to user profile page</a><span
class="crp_excerpt"> Justin Tadlock published a piece of code I needed recently. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-get-user-info/" rel="bookmark" class="crp_title">How to get user info</a><span
class="crp_excerpt"> This function allows you to get info about any user:
1
$userinfo ...</span></li><li><a
href="http://www.sramekdesign.com/php/is-a-number-divisible-by-another-number/" rel="bookmark" class="crp_title">Is a number divisible by another number?</a><span
class="crp_excerpt"> This is yet another very useful function. Especially when you ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-recent-comments-with-avatar/" rel="bookmark" class="crp_title">Display recent comments with avatar</a><span
class="crp_excerpt"> From time to time clients ask me implement recent posts. ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/show-number-of-twitter-followers-function/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Ultimate Google Fonts with beautiful CSS3 effects</title><link>http://www.sramekdesign.com/wordpress/plugins/ultimate-google-fonts-with-beautiful-css3-effects/</link> <comments>http://www.sramekdesign.com/wordpress/plugins/ultimate-google-fonts-with-beautiful-css3-effects/#comments</comments> <pubDate>Mon, 31 Jan 2011 06:08:41 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Plugins]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=888</guid> <description><![CDATA[This plugin allows easy implementation of Google fonts. Unlike Cufon, the text using Google fonts is selectable. All fonts in the directory are available for use on your website under an open source license and are served by Google servers. Latest version 1.0.0 Download the latest version Features Choose from more than 90 fonts Load [...]]]></description> <content:encoded><![CDATA[<p>This plugin allows easy implementation of Google fonts. Unlike Cufon, the text using Google fonts is selectable. All fonts in the directory are available for use on your website under an open source license and are served by Google servers.</p><h3>Latest version 1.0.0</h3><p><a
class="ibox download" rel="nofollow" href="http://wordpress.org/extend/plugins/ultimate-google-fonts/">Download the latest version</a></p><h3>Features</h3><ul><li>Choose from more than 90 fonts</li><li>Load only fonts you want to display</li><li>Choose fonts directly from your admin panel</li><li>Let your creativity run wild with Google fonts code tips</li></ul><div
id="attachment_908" class="wp-caption alignnone" style="width: 560px"><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/01/Ultimate_Google_Fonts-550x814.jpg" alt="" title="Ultimate_Google_Fonts" width="550" height="814" class="size-large wp-image-908" /><p
class="wp-caption-text">You can choose from more than 90 open source fonts.</p></div><h3>How-to</h3><p><span
class="ibox warning">IMPORTANT:<br
/> Please, do not forget to save settings each time you change them!</span></p><h4>Installation</h4><ul><li>Download the plugin from WordPress repository.</li><li>Unzip and upload it to \wp-content\plugins\. Or you can go to the admin panel:<ul><li>Plugins &#8211;&gt; Add New</li><li>Type &#8220;ultimate google fonts&#8221; into the search field.</li><li>Install.</li><li>Go to the admin panel Settings-&gt;Utlimate Google Fonts.</li><li>That&#8217;s it. Now you can choose from more than 90 fonts directly from your admin panel!</li><li>Type in the field &#8220;Your CSS&#8221; your CSS code.</li></ul></li></ul><h3>Examples of CSS text effects</h3><p>Note, all texts are selectable.</p><h4 class="ug-simpleshadow">1. This is a simple shadow.</h4><p>CSS code for a simple shadow effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-simpleshadow {
 font-family: 'Lobster', arial, serif;
 text-shadow: 2px 2px 2px #000; }
</pre><h4 class="ug-fire">2. Burning letters&#8230;</h4><p>CSS code for burning letter effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-fire {
text-align: center;
background: #000;
color: #fff;
font-family: 'Lobster', arial, serif;
text-shadow: 0 0 4px white, 0 -5px 4px #FFFF33, 2px -10px 6px #FFDD33, -2px -15px 11px #FF8800, 2px -25px 18px #FF2200; }
</pre><h4 class="ug-white">3. Beautiful white text</h4><p>CSS code for beautiful white text effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-white {
 font-family: 'Lobster', arial, serif;
 text-shadow: 2px 2px 7px #111;
 color: #f5f5f5; }
</pre><h4 class="ug-emboss">4. Embossed text</h4><p>CSS code for embossed text effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-emboss {
font-family: 'Lobster', arial, serif;
text-align: center;
background: #ccc;
color: #ccc;
text-shadow: -1px -1px white, 1px 1px #333; }
</pre><h4 class="ug-blurry">5. Blurry text</h4><p>CSS code for blurry text effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-blurry {
text-align: center;
background: #000;
font-family: 'Lobster', arial, serif;
color: transparent;
text-shadow: #fff 0 0 5px; }
</pre><h4 class="ug-stroked">6. Stroked text</h4><p>CSS code for stroked text effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-stroked {
font-family: 'Lobster', arial, serif;
color:#00CCFF;
font-weight: bold;
text-shadow: 1px 1px 0px #000, -1px -1px 0px #000; }
</pre><h4 class="ug-threedee">7. 3D text</h4><p>CSS code for 3D text effect:</p><pre class="brush: css; title: ; notranslate">
h4.ug-threedee {
font-family: 'Lobster', arial, serif;
color:rgba(255,255,0,.7) ;
font-weight: bold;
text-shadow: 1px 1px rgba(255,128,0,.7), 2px 2px rgba(255,128,0,.7), 3px 3px rgba(255,128,0,.7), 4px 4px rgba(255,128,0,.7), 5px 5px rgba(255,128,0,.7); }
</pre><p>If you have any comments, suggestions or found a bug, please let me know. Share your customization of the fonts with us!</p><h4>Plugin versions</h4><p>1.0.0     2010/11/29 Initial release<br
/> <a
class="ibox donate" rel="nofollow" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&#038;hosted_button_id=5NYMZCMEHZP9U">Did you find this plugin useful?<br
/> Please, consider a small donation.<br
/> Thank you very much!</a></p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/plugins/all-in-one-cufon/" rel="bookmark" class="crp_title">All-In-One Cufon</a><span
class="crp_excerpt"> All-In-One Cufon plugin allows you an easy replacement of standard ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/plugins/all-in-one-slideshow/" rel="bookmark" class="crp_title">All-In-One Slideshow</a><span
class="crp_excerpt"> All-In-One Slideshow plugin implements jCycle, Easing and Cufon scripts into ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/plugins/advanced-videobox/" rel="bookmark" class="crp_title">Advanced Videobox</a><span
class="crp_excerpt"> With this plugin you can add videos to your sidebar ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-create-custom-login-page/" rel="bookmark" class="crp_title">How to create custom login page</a><span
class="crp_excerpt"> Customizing WordPress login page is a pretty easy issue. We ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/plugins/ultimate-google-fonts-with-beautiful-css3-effects/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>Display comments on index page</title><link>http://www.sramekdesign.com/wordpress/display-comments-on-index-page/</link> <comments>http://www.sramekdesign.com/wordpress/display-comments-on-index-page/#comments</comments> <pubDate>Thu, 27 Jan 2011 06:53:42 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=829</guid> <description><![CDATA[This is a code snippet that allows you to display comments below each post on index pages or any other archive page. Just paste it in the loop in the appropriate file (index.php, archive.php etc). Related Posts:Does the page have subpages? That's the question. You can find out if a page ...How to add field [...]]]></description> <content:encoded><![CDATA[<p>This is a code snippet that allows you to display comments below each post on index pages or any other archive page. Just paste it in the loop in the appropriate file (index.php, archive.php etc).</p><pre class="brush: php; title: ; notranslate">
&lt;?php
  $withcomments = &quot;1&quot;;
  comments_template();
?&gt;
</pre><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/does-the-page-have-a-subpages/" rel="bookmark" class="crp_title">Does the page have subpages?</a><span
class="crp_excerpt"> That's the question. You can find out if a page ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/" rel="bookmark" class="crp_title">How to add field to user profile page</a><span
class="crp_excerpt"> Justin Tadlock published a piece of code I needed recently. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-recent-comments-with-avatar/" rel="bookmark" class="crp_title">Display recent comments with avatar</a><span
class="crp_excerpt"> From time to time clients ask me implement recent posts. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-random-background-on-each-page-load/" rel="bookmark" class="crp_title">Display random background on each page load</a><span
class="crp_excerpt"> A client asked me to implement function that allows to ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/display-comments-on-index-page/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>All-In-One Slideshow</title><link>http://www.sramekdesign.com/wordpress/plugins/all-in-one-slideshow/</link> <comments>http://www.sramekdesign.com/wordpress/plugins/all-in-one-slideshow/#comments</comments> <pubDate>Mon, 29 Nov 2010 10:23:25 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Plugins]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=740</guid> <description><![CDATA[All-In-One Slideshow plugin implements jCycle, Easing and Cufon scripts into the highly customizable slideshow gallery. You can combine 27 transition and 8 easing effects! The plugin comes with a package of 8 cufon fonts. This plugin is based on Nathan Rice&#8217;s WP_Cycle plugin. Latest version 1.3.1 Download the latest version Since version 1.3.0 I added [...]]]></description> <content:encoded><![CDATA[<p>All-In-One Slideshow plugin implements jCycle, Easing and Cufon scripts into the highly customizable slideshow gallery. You can combine 27 transition and 8 easing effects! The plugin comes with a package of 8 cufon fonts.<br
/> This plugin is based on Nathan Rice&#8217;s WP_Cycle plugin.</p><h3>Latest version 1.3.1</h3><p><div
id="aio-slideshow"><ul><li><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/02/aios1-resized.jpg" width="560" height="300" class="20110202102551" alt="" /><div
class="text-bg"><h2>All-In-One Slideshow</h2></div></li><li><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/02/aios2-resized.jpg" width="560" height="300" class="20110202102611" alt="" /><div
class="text-bg"><h2>27 transition effects</h2></div></li><li><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/02/aios3-resized.jpg" width="560" height="300" class="20110202102626" alt="" /><div
class="text-bg"><h2>8 easing effects</h2></div></li><li><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/02/aios4-resized.jpg" width="560" height="300" class="20110202102710" alt="" /><div
class="text-bg"><h2>Upload images easily</h2></div></li><li><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/02/aios5-resized.jpg" width="560" height="300" class="20110202102734" alt="" /><div
class="text-bg"><h2>Set color, gradient, shadow and background of the text</h2></div></li><li><img
src="http://www.sramekdesign.com/wp-content/uploads/2011/02/aios6-resized.jpg" width="560" height="300" class="20110202102839" alt="" /><div
class="text-bg"><h2>Choose Cufon font</h2></div></li></ul><div
id="prevnext"><a
id="prev" href="#prevslide">Prev</a> <a
id="next" href="#nextslide">Next</a></div></div> <br
/> <a
class="ibox download" rel="nofollow" href="http://wordpress.org/extend/plugins/all-in-one-slideshow/">Download the latest version</a></p><h3>Since version 1.3.0</h3><p>I added 3 new options into the &#8220;general&#8221; section of the plugin options:</p><ul><li>Show slideshow on these single posts</li><li>Show slideshow on these pages</li><li>Show on archive pages</li></ul><ul
class="green"><li>If you need to load slideshow scripts on all pages, leave the input field empty.</li><li><span
class="ibox warning">IMPORTANT:<br
/> If you do NOT want to load slideshow scripts on any page at all, type in an unused page ID like 999999 or so. The same you can do with single posts.</span></li><li>If you need to load slideshow scripts only on pages with IDs 10,20 and 35, you just have to type these values separated by comma into the input field of &#8220;Show slideshow on these pages&#8221;. So you should type in the values like:<pre class="brush: php; title: ; notranslate">
10,20,35
</pre></li><li>The same you have to do if you want to load slideshow scripts only on certain single posts. Of course this time you have to type the values into the &#8220;Show slideshow on these single posts&#8221; input field.</li><li>If you need to load slideshow scripts on the archive pages keep the option &#8220;Show on archive pages&#8221; checked.</li><li>One more &#8220;Save settings&#8221; button was added below the options.</li></ul><h3>Features</h3><ul><li>Upload images via plugin&#8217;s options panel</li><li>Option to set loading of the slideshow scripts/styles only when you need them (since 1.3.0)</li><li>Add title to each image</li><li>Add destination URL to each image</li><li>Choose from 27 transition effects</li><li>Choose from 8 easing effects</li><li>Set delay and length of the effect</li><li>Set image dimensions</li><li>Set CSS ID of the slideshow</li><li>Choose Cufon font</li><li>Easily add your own Cufon fonts</li><li>Display arrow navigation</li><li>Display numbered navigation</li><li>Set position of the text</li><li>Set color, gradient, shadow and background of the text.</li><li>Implement your own CSS via admin panel</li><li>XHTML valid</li></ul><h3>TODO</h3><ul><li><del
datetime="2011-02-02T08:47:22+00:00">Load scripts only on chosen pages/posts</del> since 1.3.0</li><li>Transparency fix for IE</li><li><del
datetime="2011-02-02T08:47:22+00:00">One more save button below settings</del> since 1.3.0</li><li>Random images loading option</li></ul><h3>How-to</h3><p><span
class="ibox warning">IMPORTANT:<br
/> Please, do not forget to save settings each time you change them!</span></p><h4>Installation</h4><ul><li>Download the plugin from WordPress repository.</li><li>Unzip and upload it to \wp-content\plugins\. Or you can go to the admin panel:<ul><li>Plugins &#8211;&gt; Add New</li><li>Type &#8220;all-in-one slideshow&#8221; into the search field.</li><li>Install.</li><li>Go to the admin panel Settings-&gt;All-In-One Slideshow.</li><li>That&#8217;s it. Now you can start playing with your new slideshow.</li></ul></li></ul><h4>Widget and Code</h4><p>There are 3 ways how to implement the slideshow on your page. You can use only one per page.<br
/> <strong>1. Widget</strong></p><ul><li>Go to admin panel-&gt;appearance-&gt;widgets</li><li>Drag All-In-One Slideshow widget to a widgetized area.</li></ul><p><strong>2. Shortcode</strong><br
/> This is how the shortcode looks (<span
class="red">without spaces!</span>):</p><pre class="brush: php; title: ; notranslate">
[ aio_slideshow ]
</pre><p>Simply add it to your post.<br
/> <strong>3. PHP function</strong><br
/> This is how the function looks:</p><pre class="brush: php; title: ; notranslate">
&lt;?php aio_slideshow(); ?&gt;
</pre><h4>Images</h4><ul><li>The image should be not smaller than the dimension you set in the admin panel. (The default dimensions of the image is 400&#215;200 pixels.)</li><li>Upload and delete your images via plugin&#8217;s option panel.</li><li>In the same place you can set destination URL and title of the image</li><li><span
class="red">If you have a problem with uploading of the images</span>, please read carefully <a
rel="nofollow" href="http://www.nathanrice.net/plugins/wp-cycle/">this post</a>.</li></ul><h4>Adding new Cufon fonts</h4><p>By default you can choose from 8 Cufonized fonts. If you want to add new fonts, please follow these steps:</p><ul><li>First you have to generate JavaScript file of your .otf, .ttf etc. font file. To generate this you have to go the <a
rel="nofollow" href="http://cufon.shoqolate.com/generate/">Cufon generator</a>.</li><li>Upload the font into the /wp-content/plugins/all-in-one-slideshow/cufon/fonts folder.</li><li>The file and fontFamily parameter will be automatically detected.</li><li>Now you can choose your font in the option general-&gt;font.</li></ul><p>If you have any comments, suggestions or found a bug, please let me know. I&#8217;ll be more than happy if you share your All-In-One slideshow with us!<br
/> P.S. Don&#8217;t be afraid to experiment. In worst case you can use &#8220;Reset Settings&#8221;  button at the left bottom corner.</p><h4>Plugin versions</h4><p>1.0.0     2010/11/29 Initial release<br
/> 1.1.0     2010/11/29 minor fix<br
/> 1.2.0     2010/12/01 conflict with custom menus solved.<br
/> 1.2.1   2010/12/02 identifier #nav changed to #aio-nav, added upload tutorial.</p><p><a
class="ibox donate" rel="nofollow" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=GK36ZXQZB5CUS">Did you find this plugin useful?<br
/> Please, consider a small donation.<br
/> Thank you very much!</a></p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/plugins/ultimate-google-fonts-with-beautiful-css3-effects/" rel="bookmark" class="crp_title">Ultimate Google Fonts with beautiful CSS3 effects</a><span
class="crp_excerpt"> This plugin allows easy implementation of Google fonts. Unlike Cufon, ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/plugins/all-in-one-cufon/" rel="bookmark" class="crp_title">All-In-One Cufon</a><span
class="crp_excerpt"> All-In-One Cufon plugin allows you an easy replacement of standard ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/plugins/advanced-videobox/" rel="bookmark" class="crp_title">Advanced Videobox</a><span
class="crp_excerpt"> With this plugin you can add videos to your sidebar ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/hacking-contact-form-7-add-onfocus-and-onblur-function/" rel="bookmark" class="crp_title">Hacking Contact form 7 – add onFocus and onBlur function</a><span
class="crp_excerpt"> There is a great WordPress plugin Contact form 7. It ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/plugins/all-in-one-slideshow/feed/</wfw:commentRss> <slash:comments>222</slash:comments> </item> <item><title>Hacking Contact form 7 – add onFocus and onBlur function</title><link>http://www.sramekdesign.com/wordpress/hacking-contact-form-7-add-onfocus-and-onblur-function/</link> <comments>http://www.sramekdesign.com/wordpress/hacking-contact-form-7-add-onfocus-and-onblur-function/#comments</comments> <pubDate>Sun, 19 Sep 2010 08:36:23 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=689</guid> <description><![CDATA[There is a great WordPress plugin Contact form 7. It has a lot of customizable features that make my clients life easier. I missed just one thing and my PSD to WordPress clients missed that too. It is support of onFocus and onBlur functions; click on the input field and the default value disapears. This [...]]]></description> <content:encoded><![CDATA[<p>There is a great WordPress plugin Contact form 7. It has a lot of customizable features that make my clients life easier.<br
/> I missed just one thing and my <a
href="http://www.sramekdesign.com">PSD to WordPress</a> clients missed that too. It is support of onFocus and onBlur functions; click on the input field and the default value disapears. This is a simple jQuery script that does what I needed:</p><pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
	$('input[type=&quot;text&quot;]').focus(function() {
        if (this.value == this.defaultValue){
        	this.value = '';
    	}
        if(this.value != this.defaultValue){
	    	this.select();
        }
    });
    $('input[type=&quot;text&quot;]').blur(function() {
        if (this.value == ''){
        	this.value = this.defaultValue;
    	}
    });
});
&lt;/script&gt;
</pre><p>Here is a small clarification of the code above:<br
/> The first we click on the input field. Upon the clicking the input field with the default value, the default value automatically disapears:</p><pre class="brush: jscript; title: ; notranslate">
$('input[type=&quot;text&quot;]').focus(function() {
        if (this.value == this.defaultValue){
        	this.value = '';
    	}
</pre><p>If we click the input field with value that is not default, the text becomes highlighted.</p><pre class="brush: jscript; title: ; notranslate">
if(this.value != this.defaultValue){
	    	this.select();
        }
</pre><p>If we click outside of our input field and we leave it empty ,the default value is automatically inserted.</p><pre class="brush: jscript; title: ; notranslate">
$('input[type=&quot;text&quot;]').blur(function() {
        if (this.value == ''){
        	this.value = this.defaultValue;
    	}
</pre><p>Don&#8217;t forget to load jQuery library before loading this script.<br
/> This way we can achieve onFocus and onBlur support not only for WordPress Contact form 7 plugin but for any form <img
src='http://www.sramekdesign.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/jquery/jquery-link-nudging-script/" rel="bookmark" class="crp_title">jQuery link nudging script</a><span
class="crp_excerpt"> My clients love when everything is moving upside down, from ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/" rel="bookmark" class="crp_title">How to add field to user profile page</a><span
class="crp_excerpt"> Justin Tadlock published a piece of code I needed recently. ...</span></li><li><a
href="http://www.sramekdesign.com/javascript/email-to-a-friend-script/" rel="bookmark" class="crp_title">Email to a friend script</a><span
class="crp_excerpt"> Maybe you'll want to add a link that allows sending ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/show-number-of-twitter-followers-function/" rel="bookmark" class="crp_title">Show number of Twitter followers function</a><span
class="crp_excerpt"> You can show number of your Twitter followers by using ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/hacking-contact-form-7-add-onfocus-and-onblur-function/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>How to add field to user profile page</title><link>http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/</link> <comments>http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/#comments</comments> <pubDate>Fri, 10 Sep 2010 10:27:15 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=685</guid> <description><![CDATA[Justin Tadlock published a piece of code I needed recently. This snippet allows you to add any fields to the user&#8217;s profile page. Just copy and paste the code in to the functions.php. Related Posts:How to get user info This function allows you to get info about any user: 1 $userinfo ...Show number of Twitter [...]]]></description> <content:encoded><![CDATA[<p>Justin Tadlock published a piece of code I needed recently. This snippet allows you to add any fields to the user&#8217;s profile page.</p><pre class="brush: php; title: ; notranslate">
&lt;?php
add_action( 'show_user_profile', 'my_show_extra_profile_fields' );
add_action( 'edit_user_profile', 'my_show_extra_profile_fields' );

function my_show_extra_profile_fields( $user ) { ?&gt;

	&lt;h3&gt;Extra profile information&lt;/h3&gt;

	&lt;table class=&quot;form-table&quot;&gt;

		&lt;tr&gt;
			&lt;th&gt;&lt;label for=&quot;twitter&quot;&gt;Classes&lt;/label&gt;&lt;/th&gt;

			&lt;td&gt;
				&lt;input type=&quot;text&quot; name=&quot;classes&quot; id=&quot;classes&quot; value=&quot;&lt;?php echo esc_attr( get_the_author_meta( 'classes', $user-&gt;ID ) ); ?&gt;&quot; class=&quot;regular-text&quot; /&gt;&lt;br /&gt;
				&lt;span class=&quot;description&quot;&gt;Please enter your Classes' URL&lt;/span&gt;
			&lt;/td&gt;
		&lt;/tr&gt;

	&lt;/table&gt;
&lt;?php }

add_action( 'personal_options_update', 'my_save_extra_profile_fields' );
add_action( 'edit_user_profile_update', 'my_save_extra_profile_fields' );

function my_save_extra_profile_fields( $user_id ) {

	if ( !current_user_can( 'edit_user', $user_id ) )
		return false;

	/* Copy and paste this line for additional fields. Make sure to change 'twitter' to the field ID. */
	update_usermeta( $user_id, 'classes', $_POST['classes'] );
}

?&gt;
</pre><p>Just copy and paste the code in to the functions.php.</p><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/how-to-get-user-info/" rel="bookmark" class="crp_title">How to get user info</a><span
class="crp_excerpt"> This function allows you to get info about any user:
1
$userinfo ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/show-number-of-twitter-followers-function/" rel="bookmark" class="crp_title">Show number of Twitter followers function</a><span
class="crp_excerpt"> You can show number of your Twitter followers by using ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/hacking-contact-form-7-add-onfocus-and-onblur-function/" rel="bookmark" class="crp_title">Hacking Contact form 7 – add onFocus and onBlur function</a><span
class="crp_excerpt"> There is a great WordPress plugin Contact form 7. It ...</span></li><li><a
href="http://www.sramekdesign.com/javascript/email-to-a-friend-script/" rel="bookmark" class="crp_title">Email to a friend script</a><span
class="crp_excerpt"> Maybe you'll want to add a link that allows sending ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How to get user info</title><link>http://www.sramekdesign.com/wordpress/how-to-get-user-info/</link> <comments>http://www.sramekdesign.com/wordpress/how-to-get-user-info/#comments</comments> <pubDate>Fri, 10 Sep 2010 05:50:37 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=682</guid> <description><![CDATA[This function allows you to get info about any user: if you want to find out if the user is admin do it like this: This is useful when you want to get info about the current user: Related Posts:Display current logged in user 1. If you are logged out you will see "Please ...How [...]]]></description> <content:encoded><![CDATA[<p>This function allows you to get info about any user:</p><pre class="brush: php; title: ; notranslate">
$userinfo = get_userdata($author-&gt;ID);

echo('Username: ' . $userinfo-&gt;user_login . &quot;\n&quot;);
echo('User level: ' . $userinfo-&gt;user_level . &quot;\n&quot;);
echo('User ID: ' . $userinfo-&gt;ID . &quot;\n&quot;);
</pre><p>if you want to find out if the user is admin do it like this:</p><pre class="brush: php; title: ; notranslate">
$userinfo = get_userdata($author-&gt;ID);
if ( $userinfo-&gt;user_level == 10 )
{ echo &quot;you are an admin!&quot; } else
{ echo &quot;no, you are a gray mouse!&quot; }
</pre><p>This is useful when you want to get info about the current user:</p><pre class="brush: php; title: ; notranslate">
      global $current_user;
      get_currentuserinfo();

      echo 'Username: ' . $current_user-&gt;user_login . &quot;\n&quot;;
      echo 'User email: ' . $current_user-&gt;user_email . &quot;\n&quot;;
      echo 'User level: ' . $current_user-&gt;user_level . &quot;\n&quot;;
      echo 'User first name: ' . $current_user-&gt;user_firstname . &quot;\n&quot;;
      echo 'User last name: ' . $current_user-&gt;user_lastname . &quot;\n&quot;;
      echo 'User display name: ' . $current_user-&gt;display_name . &quot;\n&quot;;
      echo 'User ID: ' . $current_user-&gt;ID . &quot;\n&quot;;
</pre><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/display-current-logged-in-user/" rel="bookmark" class="crp_title">Display current logged in user</a><span
class="crp_excerpt"> 1. If you are logged out you will see "Please ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/" rel="bookmark" class="crp_title">How to add field to user profile page</a><span
class="crp_excerpt"> Justin Tadlock published a piece of code I needed recently. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-recent-comments-with-avatar/" rel="bookmark" class="crp_title">Display recent comments with avatar</a><span
class="crp_excerpt"> From time to time clients ask me implement recent posts. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/show-number-of-twitter-followers-function/" rel="bookmark" class="crp_title">Show number of Twitter followers function</a><span
class="crp_excerpt"> You can show number of your Twitter followers by using ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/how-to-get-user-info/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to add author&#8217;s gravatar to the post</title><link>http://www.sramekdesign.com/wordpress/how-to-add-authors-gravatar-to-the-post/</link> <comments>http://www.sramekdesign.com/wordpress/how-to-add-authors-gravatar-to-the-post/#comments</comments> <pubDate>Wed, 08 Sep 2010 04:16:29 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=677</guid> <description><![CDATA[There are two ways of how to do it. The first one is adding real gravatar based on the author&#8217;s email. This will display gravatar with size 80 pixels. The second is adding our custom image based on the original author&#8217;s ID: Related Posts:Change default gravatar Have you ever wanted to change you boting gray [...]]]></description> <content:encoded><![CDATA[<p>There are two ways of how to do it. The first one is adding real gravatar based on the author&#8217;s email. This will display gravatar with size 80 pixels.</p><pre class="brush: php; title: ; notranslate">
&lt;?php echo get_avatar( get_the_author_email(), '80' ); ?&gt;
</pre><p>The second is adding our custom image based on the original author&#8217;s ID:</p><pre class="brush: php; html-script: true; title: ; notranslate">
&lt;img src=&quot;&lt;?php the_author_ID(); ?&gt;.jpg&quot; /&gt;
</pre><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/change-default-gravatar/" rel="bookmark" class="crp_title">Change default gravatar</a><span
class="crp_excerpt"> Have you ever wanted to change you boting gray default ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-recent-comments-with-avatar/" rel="bookmark" class="crp_title">Display recent comments with avatar</a><span
class="crp_excerpt"> From time to time clients ask me implement recent posts. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-get-user-info/" rel="bookmark" class="crp_title">How to get user info</a><span
class="crp_excerpt"> This function allows you to get info about any user:
1
$userinfo ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-recent-and-related-posts-without-duplicating-each-other/" rel="bookmark" class="crp_title">Display recent and related posts without duplicating each other</a><span
class="crp_excerpt"> My client asked me to implement lists of recent and ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/how-to-add-authors-gravatar-to-the-post/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Does the page have subpages?</title><link>http://www.sramekdesign.com/wordpress/does-the-page-have-a-subpages/</link> <comments>http://www.sramekdesign.com/wordpress/does-the-page-have-a-subpages/#comments</comments> <pubDate>Tue, 07 Sep 2010 14:30:31 +0000</pubDate> <dc:creator>Tom</dc:creator> <category><![CDATA[Wordpress]]></category><guid
isPermaLink="false">http://www.sramekdesign.com/?p=670</guid> <description><![CDATA[That&#8217;s the question. You can find out if a page has child pages with this if &#8211; else statement: Related Posts:How to get user info This function allows you to get info about any user: 1 $userinfo ...Display comments on index page This is a code snippet that allows you to display ...Display recent comments [...]]]></description> <content:encoded><![CDATA[<p>That&#8217;s the question. You can find out if a page has child pages with this if &#8211; else statement:</p><pre class="brush: php; title: ; notranslate">
if ($post-&gt;post_parent) { // is this page a parent? / does this page have children?
    echo &quot;this post is a parent of these pages: &quot; . wp_list_pages( 'child_of=' . $post-&gt;post_parent . '&amp;title_li=' );
  } else {
 echo &quot;this page has no descendants.&quot;
}
</pre><div
id="crp_related"><h3>Related Posts:</h3><ul><li><a
href="http://www.sramekdesign.com/wordpress/how-to-get-user-info/" rel="bookmark" class="crp_title">How to get user info</a><span
class="crp_excerpt"> This function allows you to get info about any user:
1
$userinfo ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-comments-on-index-page/" rel="bookmark" class="crp_title">Display comments on index page</a><span
class="crp_excerpt"> This is a code snippet that allows you to display ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/display-recent-comments-with-avatar/" rel="bookmark" class="crp_title">Display recent comments with avatar</a><span
class="crp_excerpt"> From time to time clients ask me implement recent posts. ...</span></li><li><a
href="http://www.sramekdesign.com/wordpress/how-to-add-field-to-user-profile-page/" rel="bookmark" class="crp_title">How to add field to user profile page</a><span
class="crp_excerpt"> Justin Tadlock published a piece of code I needed recently. ...</span></li></ul></div>]]></content:encoded> <wfw:commentRss>http://www.sramekdesign.com/wordpress/does-the-page-have-a-subpages/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (User agent is rejected)
Database Caching 11/86 queries in 0.188 seconds using disk: basic
Object Caching 1442/1572 objects using disk: basic
Content Delivery Network via N/A

Served from: www.sramekdesign.com @ 2012-02-04 03:36:58 -->
