<?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>Artatm &#187; script</title>
	<atom:link href="http://artatm.com/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://artatm.com</link>
	<description></description>
	<lastBuildDate>Mon, 26 Jul 2010 14:56:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>35+ Most Essential Wordpress Tricks and Hacks</title>
		<link>http://artatm.com/2010/02/35-most-essential-wordpress-tricks-and-hacks/</link>
		<comments>http://artatm.com/2010/02/35-most-essential-wordpress-tricks-and-hacks/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 10:31:40 +0000</pubDate>
		<dc:creator>Rocky</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://artatm.com/?p=1387</guid>
		<description><![CDATA[ Wordpress certainly doesn&#8217;t need any kind of introduction amongst bloggers and designers. Today there are hundreds of wordpress blogs around the web. To stand out among these is in itself one of the most difficult task a blogger would find itself in. 

Ofcourse posting articles of high quality is the answer to standing in the elite group, but along with quality you also need other things so that your readers could expect really different things in your blog. Then that difference can be as little as the color of the comments. 
What is a Hack in WordPress: A way of doing something that involves adding quick-and-dirty bit of code to make a piece of software do what you want, rather than using a prepackaged (and possibly more elegant) solution like a plugin.
Many times you would have come across wordpress blogs and said to yourself &#8220;How did he do it?&#8221;, &#8220;Is that a plugin? If not, how to use it&#8221;, &#8220;can i do it in my blog?&#8221;
For answering all such questions we have compiled here some of the most essential worpress hacks that could make your blogging life easier and help you getting the best out of Wordpress that too without using any plugins.
We have categorized the list into Post Hacks, Comment Hacks, Tags,categories and Archives hacks, Search hacks and Other General Hacks
WordPress Post Hacks

Create Your Own Popular Posts content in the sidebar

Highlighting the most popular posts on your site is a great way to send new visitors to your very best content and win them over.
There are a few different ways you can do this, and quite a few plugins out there to help. But why not base it on the number of comments? If you write a post that makes people talk, it must be a well written post (Most of the time…).


&#60;h2&#62;Popular Posts&#60;&#47;h2&#62;
&#60;ul&#62;
&#60;?php $result = $wpdb-&#62;get_results(&#34;SELECT comment_count,ID,post_title
FROM $wpdb-&#62;posts ORDER BY comment_count DESC LIMIT 0 , 5&#34;);
foreach ($result as $post) {
setup_postdata($post);
$postid = $post-&#62;ID;
$title = $post-&#62;post_title;
$commentcount = $post-&#62;comment_count;
if ($commentcount != 0) { ?&#62;
&#60;li&#62;&#60;a href=&#34;&#60;?php echo get_permalink($postid); ?&#62;&#34; title=&#34;&#60;?php echo
$title ?&#62;&#34;&#62;
&#60;?php echo $title ?&#62;&#60;&#47;a&#62; {&#60;?php echo $commentcount ?&#62;}&#60;&#47;li&#62;
&#60;?php } } ?&#62;
&#60;&#47;ul&#62;


Source

Get the first Image from the Post and display it

Most WordPress users are using custom fields to display thumbs on their blog homepage. It is a good idea, but do you know that with a simple php function, you can grab the first image from the post, and display it. Just read on.
First, paste this function on your functions.php file.


function catch_that_image() {
  global $post, $posts;
  $first_img = &#39;&#39;;
  ob_start();
  ob_end_clean();
  $output = preg_match_all(&#39;&#47;&#60;img.+src=[\&#39;&#34;]([^\&#39;&#34;]+)[\&#39;&#34;].*&#62;&#47;i&#39;,
$post-&#62;post_content, $matches);
  $first_img = $matches [1] [0];

  if(empty($first_img)){ &#47;&#47;Defines a default image
    $first_img = &#34;&#47;images&#47;default.jpg&#34;;
  }
  return $first_img;
}


Once done, you can simply call the function within the loop to display the first image from the post:


&#60;?php echo catch_that_image() ?&#62;


Source

Display Related Posts without using Plugins

Displaying related posts is a very great way to help visitors staying longer on your blog. You can use a plugin, but you also can use tags and a custom code to show related posts. Let’s see how to do!
This code will display related posts based on the current post tag(s). It must be pasted within the loop.


&#60;?php
&#47;&#47;for use in the loop, list 5 post titles related to first tag on
&#47;&#47;current post
$tags = wp_get_post_tags($post-&#62;ID);
if ($tags) {
  echo &#39;Related Posts&#39;;
  $first_tag = $tags[0]-&#62;term_id;
  $args=array(
    &#39;tag__in&#39; =&#62; array($first_tag),
    &#39;post__not_in&#39; =&#62; array($post-&#62;ID),
    &#39;showposts&#39;=&#62;5,
    &#39;caller_get_posts&#39;=&#62;1
   );
  $my_query = new WP_Query($args);
  if( $my_query-&#62;have_posts() ) {
    while ($my_query-&#62;have_posts()) : $my_query-&#62;the_post(); ?&#62;
      &#60;p&#62;&#60;a href=&#34;&#60;?php the_permalink() ?&#62;&#34; rel=&#34;bookmark&#34; title=&#34;
      Permanent Link to &#60;?php the_title_attribute(); ?&#62;&#34;&#62;
      &#60;?php the_title(); ?&#62;&#60;&#47;a&#62;&#60;&#47;p&#62;
      &#60;?php
    endwhile;
  }
}
?&#62;


Source

Automatically insert content after each post

Most blogs automatically displays some text after each post, for exemple to ask readers to subscribe to their rss feed. This text is very often hardcoded. Why not using function.php instead, and be able to keep the text when you’ll switch theme?
To achieve this recipe, simply paste the following code in your functions.php file. By using functions.php, you&#8217;ll not have to re-insert this code if you switch themes.


function insertFootNote($content) {
        if(!is_feed() &#038;&#038; !is_home()) {
                $content.= &#34;&#60;div class=&#39;subscribe&#39;&#62;&#34;;
                $content.= &#34;&#60;h4&#62;Enjoyed this article?&#60;&#47;h4&#62;&#34;;
                $content.= &#34;&#60;p&#62;Subscribe to our  &#60;a href=&#39;http:&#47;&#47;
                feeds2.feedburner.com&#47;WpRecipes&#39;&#62;RSS feed&#60;&#47;a&#62;
                and never miss a recipe!&#60;&#47;p&#62;&#34;;
                $content.= &#34;&#60;&#47;div&#62;&#34;;
        }
        return $content;
}
add_filter (&#39;the_content&#39;, &#39;insertFootNote&#39;);


Source

Make your new posts stands out

Why not giving a special style to the posts published less than 24 hours ago, to let your readers know about the fact they’re new? Here’s a simple code to do it.
To achieve this recipe, edit your index.php file and look for the loop. Replace it with that one:


&#60;?php if (have_posts()) : ?&#62;
    &#60;?php while (have_posts()) : the_post();
        $currentdate = date(&#39;Y-m-d&#39;,mktime(0,0,0,date(&#39;m&#39;),date(&#39;d&#39;),
        date(&#39;Y&#39;)));
        $postdate = get_the_time(&#39;Y-m-d&#39;);
        if ($postdate==$currentdate) {
            echo &#39;&#60;div class=&#34;post new&#34;&#62;&#39;;
        } else {
          [...]


Related posts:<ol><li><a href='http://artatm.com/2010/03/most-essential-wordpress-plugins-every-blogger-must-know/' rel='bookmark' title='Permanent Link: Most Essential WordPress Plugins Every Blogger Must Know'>Most Essential WordPress Plugins Every Blogger Must Know</a></li>
<li><a href='http://artatm.com/2010/01/add-social-bookmarking-buttons-in-your-wordpress-blog-without-plugins/' rel='bookmark' title='Permanent Link: Add Social Bookmarking Buttons in your Wordpress Blog without plugins'>Add Social Bookmarking Buttons in your Wordpress Blog without plugins</a></li>
<li><a href='http://artatm.com/2009/12/new-featuers-in-wordpress-2-9/' rel='bookmark' title='Permanent Link: New features in Wordpress 2.9'>New features in Wordpress 2.9</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src="http://artatm.com/wp-content/uploads/wordpress.jpg" alt="wordpress" title="wordpress" width="247" height="67" class="alignleft size-full wp-image-575" /> Wordpress certainly doesn&#8217;t need any kind of introduction amongst bloggers and designers. Today there are hundreds of wordpress blogs around the web. To stand out among these is in itself one of the most difficult task a blogger would find itself in. </p>
<p><span id="more-1387"></span></p>
<p>Ofcourse posting articles of high quality is the answer to standing in the elite group, but along with quality you also need other things so that your readers could expect really different things in your blog. Then that difference can be as little as the color of the comments. </p>
<p>What is a Hack in WordPress: A way of doing something that involves adding quick-and-dirty bit of code to make a piece of software do what you want, rather than using a prepackaged (and possibly more elegant) solution like a plugin.</p>
<p>Many times you would have come across wordpress blogs and said to yourself &#8220;How did he do it?&#8221;, &#8220;Is that a plugin? If not, how to use it&#8221;, &#8220;can i do it in my blog?&#8221;<br />
For answering all such questions we have compiled here some of the most essential worpress hacks that could make your blogging life easier and help you getting the best out of Wordpress that too without using any plugins.</p>
<p>We have categorized the list into Post Hacks, Comment Hacks, Tags,categories and Archives hacks, Search hacks and Other General Hacks</p>
<h2>WordPress Post Hacks</h2>
<p><br/></p>
<h3>Create Your Own Popular Posts content in the sidebar</h3>
<hr/>
<p>Highlighting the most popular posts on your site is a great way to send new visitors to your very best content and win them over.</p>
<p>There are a few different ways you can do this, and quite a few plugins out there to help. But why not base it on the number of comments? If you write a post that makes people talk, it must be a well written post (Most of the time…).</p>
<div class="fancy">
<pre>
&lt;h2&gt;Popular Posts&lt;&#47;h2&gt;
&lt;ul&gt;
&lt;?php $result = $wpdb-&gt;get_results(&#34;SELECT comment_count,ID,post_title
FROM $wpdb-&gt;posts ORDER BY comment_count DESC LIMIT 0 , 5&#34;);
foreach ($result as $post) {
setup_postdata($post);
$postid = $post-&gt;ID;
$title = $post-&gt;post_title;
$commentcount = $post-&gt;comment_count;
if ($commentcount != 0) { ?&gt;
&lt;li&gt;&lt;a href=&#34;&lt;?php echo get_permalink($postid); ?&gt;&#34; title=&#34;&lt;?php echo
$title ?&gt;&#34;&gt;
&lt;?php echo $title ?&gt;&lt;&#47;a&gt; {&lt;?php echo $commentcount ?&gt;}&lt;&#47;li&gt;
&lt;?php } } ?&gt;
&lt;&#47;ul&gt;
</pre>
</div>
<p><a href="http://www.problogdesign.com/wordpress/create-your-own-popular-posts-page/">Source</a><br />
<br/></p>
<h3>Get the first Image from the Post and display it</h3>
<hr/>
<p>Most WordPress users are using custom fields to display thumbs on their blog homepage. It is a good idea, but do you know that with a simple php function, you can grab the first image from the post, and display it. Just read on.</p>
<p>First, paste this function on your functions.php file.</p>
<div class="fancy">
<pre>
function catch_that_image() {
  global $post, $posts;
  $first_img = &#39;&#39;;
  ob_start();
  ob_end_clean();
  $output = preg_match_all(&#39;&#47;&lt;img.+src=[\&#39;&#34;]([^\&#39;&#34;]+)[\&#39;&#34;].*&gt;&#47;i&#39;,
$post-&gt;post_content, $matches);
  $first_img = $matches [1] [0];

  if(empty($first_img)){ &#47;&#47;Defines a default image
    $first_img = &#34;&#47;images&#47;default.jpg&#34;;
  }
  return $first_img;
}
</pre>
</div>
<p>Once done, you can simply call the function within the loop to display the first image from the post:</p>
<div class="fancy">
<pre>
&lt;?php echo catch_that_image() ?&gt;
</pre>
</div>
<p><a href="http://www.wprecipes.com/how-to-get-the-first-image-from-the-post-and-display-it">Source</a><br />
<br/></p>
<h3>Display Related Posts without using Plugins</h3>
<hr/>
<p>Displaying related posts is a very great way to help visitors staying longer on your blog. You can use a plugin, but you also can use tags and a custom code to show related posts. Let’s see how to do!</p>
<p>This code will display related posts based on the current post tag(s). It must be pasted within the loop.</p>
<div class="fancy">
<pre>
&lt;?php
&#47;&#47;for use in the loop, list 5 post titles related to first tag on
&#47;&#47;current post
$tags = wp_get_post_tags($post-&gt;ID);
if ($tags) {
  echo &#39;Related Posts&#39;;
  $first_tag = $tags[0]-&gt;term_id;
  $args=array(
    &#39;tag__in&#39; =&gt; array($first_tag),
    &#39;post__not_in&#39; =&gt; array($post-&gt;ID),
    &#39;showposts&#39;=&gt;5,
    &#39;caller_get_posts&#39;=&gt;1
   );
  $my_query = new WP_Query($args);
  if( $my_query-&gt;have_posts() ) {
    while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;
      &lt;p&gt;&lt;a href=&#34;&lt;?php the_permalink() ?&gt;&#34; rel=&#34;bookmark&#34; title=&#34;
      Permanent Link to &lt;?php the_title_attribute(); ?&gt;&#34;&gt;
      &lt;?php the_title(); ?&gt;&lt;&#47;a&gt;&lt;&#47;p&gt;
      &lt;?php
    endwhile;
  }
}
?&gt;
</pre>
</div>
<p><a href="http://www.wprecipes.com/how-to-show-related-posts-without-a-plugin">Source</a><br />
<br/></p>
<h3>Automatically insert content after each post</h3>
<hr/>
<p>Most blogs automatically displays some text after each post, for exemple to ask readers to subscribe to their rss feed. This text is very often hardcoded. Why not using function.php instead, and be able to keep the text when you’ll switch theme?</p>
<p>To achieve this recipe, simply paste the following code in your functions.php file. By using functions.php, you&#8217;ll not have to re-insert this code if you switch themes.</p>
<div class="fancy">
<pre>
function insertFootNote($content) {
        if(!is_feed() &#038;&#038; !is_home()) {
                $content.= &#34;&lt;div class=&#39;subscribe&#39;&gt;&#34;;
                $content.= &#34;&lt;h4&gt;Enjoyed this article?&lt;&#47;h4&gt;&#34;;
                $content.= &#34;&lt;p&gt;Subscribe to our  &lt;a href=&#39;http:&#47;&#47;
                feeds2.feedburner.com&#47;WpRecipes&#39;&gt;RSS feed&lt;&#47;a&gt;
                and never miss a recipe!&lt;&#47;p&gt;&#34;;
                $content.= &#34;&lt;&#47;div&gt;&#34;;
        }
        return $content;
}
add_filter (&#39;the_content&#39;, &#39;insertFootNote&#39;);
</pre>
</div>
<p><a href="http://www.wprecipes.com/how-to-automatically-insert-content-after-each-post">Source</a><br />
<br/></p>
<h3>Make your new posts stands out</h3>
<hr/>
<p>Why not giving a special style to the posts published less than 24 hours ago, to let your readers know about the fact they’re new? Here’s a simple code to do it.</p>
<p>To achieve this recipe, edit your index.php file and look for the loop. Replace it with that one:</p>
<div class="fancy">
<pre>
&lt;?php if (have_posts()) : ?&gt;
    &lt;?php while (have_posts()) : the_post();
        $currentdate = date(&#39;Y-m-d&#39;,mktime(0,0,0,date(&#39;m&#39;),date(&#39;d&#39;),
        date(&#39;Y&#39;)));
        $postdate = get_the_time(&#39;Y-m-d&#39;);
        if ($postdate==$currentdate) {
            echo &#39;&lt;div class=&#34;post new&#34;&gt;&#39;;
        } else {
            echo &#39;&lt;div class=&#34;post&#34;&gt;&#39;;
        } ?&gt;
        &lt;a href=&#34;&lt;?php the_permalink() ?&gt;&#34; rel=&#34;bookmark&#34;&gt;
        &lt;?php the_title(); ?&gt;&lt;&#47;a&gt;
        &lt;?php the_time(&#39;j F Y&#39;); ?&gt;
        &lt;&#47;div&gt;
    &lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;
</pre>
</div>
<p>The above code will add the css class new if the post was published less than 24 hours ago. Then, you just have to modify your stylesheet a bit:</p>
<div class="fancy">
<pre>
.post{
    &#47;* CSS style for &#34;normal&#34; posts *&#47;
}

.post.new {
    &#47;* CSS style for newer posts *&#47;
}
</pre>
</div>
<p><a href="http://www.wprecipes.com/how-to-make-your-new-posts-stands-out">Source</a><br />
<br/></p>
<h3>Display Author Information For Posts</h3>
<hr/>
<p>By using the codes below in your single.php file, you will pull the information from the post author’s profile on your blog and show a bit about them. This is especially useful if you’ve got a lot of authors on your blog.</p>
<div class="fancy">
<pre>
&lt;div id=&#34;author-info&#34;&gt;
&lt;div id=&#34;author-image&#34;&gt;
    	&lt;a href=&#34;&lt;?php the_author_meta(&#39;user_url&#39;); ?&gt;&#34;&gt;
        &lt;?php echo get_avatar( get_the_author_meta(&#39;user_email&#39;), &#39;80&#39;,
        &#39;&#39; ); ?&gt;&lt;&#47;a&gt;&lt;&#47;div&gt;
&lt;div id=&#34;author-bio&#34;&gt;
&lt;h4&gt;Written by &lt; ?php the_author_link(); ?&gt;&lt;&#47;h4&gt;

&lt; ?php the_author_meta(&#39;description&#39;); ?&gt;
&lt;&#47;div&gt;
&lt;&#47;div&gt;
&lt;!--Author Info--&gt;
</pre>
</div>
<p><a href="http://line25.com/tutorials/how-to-create-an-author-info-section-in-wordpress">Source</a><br />
</r></p>
<h3>WordPress function to display your posts words count</h3>
<hr/>
<p>Simply open your functions.php file and paste this function in it:</p>
<div class="fancy">
<pre>
function wcount(){
    ob_start();
    the_content();
    $content = ob_get_clean();
    return sizeof(explode(&#34; &#34;, $content));
}
</pre>
</div>
<p>Once done, you can call the function within the loop to get the number of words of the current post:</p>
<div class="fancy">
<pre>
&lt;?php echo wcount(); ?&gt;
</pre>
</div>
<p><a href="http://www.wprecipes.com/wordpress-function-to-display-your-posts-words-count">Source</a><br />
<br/></p>
<h3>Display Sticky Posts in One Area</h3>
<hr/>
<p>You can change the number 5 the amount of posts you want to show in your page. You can also display full posts by changing ‘the_excerpt’ value to ‘the_content’.</p>
<div class="fancy">
<pre>
&lt;?php
$sticky = get_option(&#39;sticky_posts&#39;);
rsort( $sticky );
$sticky = array_slice( $sticky, 0, 5);
query_posts( array( &#39;post__in&#39; =&gt; $sticky, &#39;caller_get_posts&#39; =&gt; 1 ) );

if (have_posts()) :
while (have_posts()) : the_post();
the_title();
the_excerpt();
endwhile;
endif;

?&gt;
</pre>
</div>
<p><a href="http://www.wpbeginner.com/wp-tutorials/15-killer-hacks-for-wordpress-that-are-extremely-useful/">Source</a><br />
<br/></p>
<h3>Get posts published between two particular dates</h3>
<hr/>
<p>WordPress loop is very powerful, as well as the query_posts() function, which allow you to specify some parameters for the loop to retrieve posts. Though, there’s no built-in function or parameter to get posts between two dates. Let’s solve that.</p>
<p>Open your index.php file and find the loop. Just before the loop starts, paste the following code. Of course, don&#8217;t forget to change the dates on line 3 according to your needs.</p>
<div class="fancy">
<pre>
&lt;?php
function filter_where($where = &#39;&#39;) {
$where .= &#34; AND post_date &gt;= &#39;2009-05-01&#39; AND post_date &lt;=
&#39;2009-05-15&#39;&#34;;
return $where;
  }
add_filter(&#39;posts_where&#39;, &#39;filter_where&#39;);
query_posts($query_string);
?&gt;
</pre>
</div>
<p><a href="http://www.wprecipes.com/wordpress-loop-get-posts-published-between-two-particular-dates">Source</a><br />
<br/></p>
<h2>WordPress Comments Hacks</h2>
<p><br/></p>
<h3>Automatically refuse spam comments on your WordPress blog</h3>
<hr/>
<p>Spam is a nuisance, and you know it. Happilly, WordPress users have Akismet, which help a lot to fight spam. But what about protecting your blog even more? This recipe might help</p>
<p>Paste the following code in your functions.php. Comment that contain any of the words contained within the $bad_comment_content array will be automatically rejected.</p>
<div class="fancy">
<code><br />
function in_comment_post_like($string, $array) {<br />
	foreach($array as $ref) { if(strstr($string, $ref)) { return true; } }<br />
	return false;<br />
}<br />
function drop_bad_comments() {<br />
	if (!empty($_POST['comment'])) {<br />
		$post_comment_content = $_POST['comment'];<br />
		$lower_case_comment = strtolower($_POST['comment']);<br />
		$bad_comment_content = array(<br />
			'viagra',<br />
			'hydrocodone',<br />
			'hair loss',<br />
			'[url=http',<br />
			'[link=http',<br />
			'xanax',<br />
			'tramadol',<br />
			'russian girls',<br />
			'russian brides',<br />
			'lorazepam',<br />
			'adderall',<br />
			'dexadrine',<br />
			'no prescription',<br />
			'oxycontin',<br />
			'without a prescription',<br />
			'sex pics',<br />
			'family incest',<br />
			'online casinos',<br />
			'online dating',<br />
			'cialis',<br />
			'best forex',<br />
			'amoxicillin'<br />
		);<br />
		if (in_comment_post_like($lower_case_comment, $bad_comment_content)) {<br />
			$comment_box_text = wordwrap(trim($post_comment_content), 80, "\n  ", true);<br />
			$txtdrop = fopen('/var/log/httpd/wp_post-logger/nullamatix.com-text-area_dropped.txt', 'a');<br />
			fwrite($txtdrop, "  --------------\n  [COMMENT] = " . $post_comment_content . "\n  --------------\n");<br />
			fwrite($txtdrop, "  [SOURCE_IP] = " . $_SERVER['REMOTE_ADDR'] . " @ " . date("F j, Y, g:i a") . "\n");<br />
			fwrite($txtdrop, "  [USERAGENT] = " . $_SERVER['HTTP_USER_AGENT'] . "\n");<br />
			fwrite($txtdrop, "  [REFERER  ] = " . $_SERVER['HTTP_REFERER'] . "\n");<br />
			fwrite($txtdrop, "  [FILE_NAME] = " . $_SERVER['SCRIPT_NAME'] . " - [REQ_URI] = " . $_SERVER['REQUEST_URI'] . "\n");<br />
			fwrite($txtdrop, '--------------**********------------------'."\n");<br />
			header("HTTP/1.1 406 Not Acceptable");<br />
			header("Status: 406 Not Acceptable");<br />
			header("Connection: Close");<br />
			wp_die( __('bang bang.') );<br />
		}<br />
	}<br />
}<br />
add_action('init', 'drop_bad_comments');<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/automatically-refuse-spam-comments-on-your-wordpress-blog">Source</a><br />
<br/></p>
<h3>Number your comments</h3>
<hr/>
Open comments.php and find the following line:</p>
<div class="fancy">
<code><br />
&lt;?php foreach ($comments as $comment) : ?&gt;<br />
</code>
</div>
<p>Just above this line, initialize a counter variable:</p>
<div class="fancy">
<code><br />
&lt;?php $i = 0; ?&gt;<br />
</code>
</div>
<p>Just after this line, increment the counter:</p>
<div class="fancy">
<code><br />
&lt;?php $i++; ?&gt;<br />
</code>
</div>
<p>Now, you just have to echo the $i variable to get the number of the current comment. Paste this code anywhere on your comments loop:</p>
<div class="fancy">
<code><br />
&lt;?php echo $i; ?&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/how-to-number-your-comments">source</a><br />
Your comments are now numbered!<br />
<br/></p>
<h3>Batch deleting spam comments on a WordPress blog<br />
</h3>
<hr/>
<p>delete more than 6000 spam comments that you received on your blog.</p>
<p>First of it all, backup your WordPress database. Then, login to your phpmyadmin, select your WordPress blog database and click on SQL:</p>
<p>Then, insert the following sql command:</p>
<div class="fancy">
<code><br />
DELETE from wp_comments WHERE comment_approved = '0';<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/mark-asked-how-to-batch-deleting-spam-comments-on-a-wordpress-blog">source</a></p>
<p>All non-approved comments will be deleted. But instead of having such trouble next time, you should definitely install Akismet!<br />
<br/></p>
<h3>Highlight author comments in WordPress</h3>
<hr/>
<p>This is useful to make the author comments pop in the comment section, so the readers find the answers to their questions quicker. It can also avoid people pretending they are the author by commenting with his name. </p>
<p>To style the author’s comments differently, you should open the comments.php template file and look for this piece of code (or something looking like it).</p>
<div class="fancy">
<code><br />
&lt;li class=”&lt;?php echo $oddcomment; ?&gt;” id=”comment…<br />
</code>
</div>
<p>Replace it by this one.</p>
<div class="fancy">
<code><br />
&lt;li class=”&lt;?php<br />
/* Only use the authcomment class from style.css if the user_id is 1 (admin) */<br />
if (1 == $comment-&gt;user_id)<br />
$oddcomment = “authcomment”;<br />
echo $oddcomment;<br />
?&gt;” id=”comment…<br />
</code>
</div>
<p>Then you can style it in your stylesheet with something like this.</p>
<div class="fancy">
<code><br />
.authcomment {<br />
background-color: #B3FFCC !important;<br />
}<br />
</code>
</div>
<p><a href="http://www.mattcutts.com/blog/highlight-author-comments-wordpress/">source</a><br />
<br/></p>
<h3>Alternating Colors For Comments</h3>
<hr/>
<p>You might want to have alternating row colors for your comments, to make a clearer separation. Alternating rows make it easier to distinguish different comments. Doing this is relatively very easy.</p>
<p>Open your theme css file, and paste this at the bottom:</p>
<div class="fancy">
<code><br />
 .color1 {<br />
background-color: #DBDBDB;<br />
}<br />
.color2 {<br />
background-color: #EEEEEE;<br />
}<br />
</code>
</div>
<p>At the VERY top of comments.php file, put this on a line of it&#8217;s own. </p>
<div class="fancy">
<code><br />
&lt;?$i;?&gt;<br />
</code>
</div>
<p>Now scroll down to find this part of the code</p>
<div class="fancy">
<code><br />
&lt;?php foreach ($comments as $comment) : ?&gt;<br />
&lt;div class="commentbox"&gt;<br />
&lt;div class="commentid"&gt;<br />
</code>
</div>
<p>Now replace the above by </p>
<div class="fancy">
<code><br />
&lt;?php foreach ($comments as $comment) : ?&gt;<br />
&lt;div id="commentbox" class="&lt;?=($i%2)?"color1":"color2";$i++;?&gt;"&gt;<br />
&lt;div class="commentid"&gt;<br />
</code>
</div>
<p><a href="http://www.tamba2.org.uk/wordpress/altcomments/">source</a><br />
<br/></p>
<h3>Displaying Recent Comments</h3>
<hr/>
<p>Recent comments are very helpful for readers to comment on any topic about any ongoing discussion. To display your most recent comments, you will have to modify your functions.php file from the theme folder. If the functions.php file is not present, make a new text file, name it functions.php and add it to your theme folder. Add the following code to it and save the file.</p>
<div class="fancy">
<code><br />
&lt;?php<br />
function recent_comments($src_count=10, $src_length=60, $pre_HTML='&lt;ul&gt;', $post_HTML='') {<br />
global $wpdb;<br />
$sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,<br />
SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb-&gt;comments LEFT OUTER JOIN $wpdb-&gt;posts ON ($wpdb-&gt;comments.comment_post_ID = $wpdb-&gt;posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC<br />
LIMIT $src_count";<br />
$comments = $wpdb-&gt;get_results($sql);<br />
$output = $pre_HTML;<br />
foreach ($comments as $comment) {<br />
$output .= "&lt;li&gt;&lt;a href=\"" . get_permalink($comment-&gt;ID) . "#comment-" . $comment-&gt;comment_ID . "\" title=\"on " . $comment-&gt;post_title . "\"&gt;" . strip_tags($comment-&gt;com_excerpt) ."...&lt;/a&gt;&lt;/li&gt;";<br />
}<br />
$output .= $post_HTML;<br />
echo $output;<br />
}<br />
?&gt;<br />
</code>
</div>
<p>Now, wherever you want to show the list of recent comments, just add this code.</p>
<div class="fancy">
<code><br />
&lt;?php recent_comments(); ?&gt;<br />
</code>
</div>
<p><a href="http://www.blogohblog.com/10-wordpress-hacks-to-make-your-life-even-easier/">source</a><br />
<br/></p>
<h3>How to Separate WordPress Comments and Trackbacks</h3>
<hr/>
<p>Trackbacks are the messages displayed in the comments list whenever another blog links back to one of your posts. If you use trackbacks on your blog, it is best if they are not mixed with the comments. The comments are a conversation between real people. Having machine-generated links in the middle of that will only serve to disrupt the conversations.</p>
<p>In order to separate the comments and trackbacks, you just need to follow these steps.</p>
<p>Open comments.php, and search for the following line</p>
<div class="fancy">
<code><br />
&lt;?php foreach ($comments as $comment) : ?&gt;<br />
</code>
</div>
<p>After it, paste the following</p>
<div class="fancy">
<code><br />
&lt;?php $comment_type = get_comment_type(); ?&gt;<br />
&lt;?php if($comment_type == 'comment') { ?&gt;<br />
</code>
</div>
<p>Now look for</p>
<div class="fancy">
<code><br />
&lt;?php endforeach; /* end for each comment */ ?&gt;<br />
</code>
</div>
<p>And before it, paste</p>
<div class="fancy">
<code><br />
&lt;?php } else { $trackback = true; } /* End of is_comment statement */ ?&gt;<br />
</code>
</div>
<p>Now your list of comments will continue to display as normal, but without any trackbacks or pingbacks. Now we will add a second comments loop for the trackbacks.</p>
<p>Look for the following line</p>
<div class="fancy">
<code><br />
&lt;?php else : // this is displayed if there are no comments so far ?&gt;<br />
</code>
</div>
<p>And before it, paste this: (The “Trackbacks” title line can be deleted if you don’t want a heading to be shown)</p>
<div class="fancy">
<code><br />
 &lt;?php if ($trackback == true) { ?&gt;<br />
   &lt;h3&gt;Trackbacks&lt;/h3&gt;<br />
   &lt;ol&gt;<br />
   &lt;?php foreach ($comments as $comment) : ?&gt;<br />
     &lt;?php $comment_type = get_comment_type(); ?&gt;<br />
     &lt;?php if($comment_type != 'comment') { ?&gt;<br />
       &lt;li&gt;&lt;?php comment_author_link() ?&gt;&lt;/li&gt;<br />
     &lt;?php } ?&gt;<br />
   &lt;?php endforeach; ?&gt;<br />
 &lt;/ol&gt;<br />
 &lt;?php } ?&gt;<br />
</code>
</div>
<p><a href="http://www.problogdesign.com/how-to/separating-trackbacks-from-comments/">source</a><br />
<br/></p>
<h2>Wordpress Tags,Categories and Archives Hacks</h2>
<p><br/></p>
<h3>Find WordPress category ID</h3>
<hr/>
<p>Some themes requires that you fill a form field with a category ID. It may be easy to find a category ID if you’re an advanced WordPres user, but what about beginners? Here’s a very simple manner to find any category ID.</p>
<p>Once you&#8217;re logged in your WordPress dashboard, go to Manage and then in Categories.<br />
Simply put your mouse cursor on the &#8220;edit&#8221; link related to the category you want to know the ID and look on your browser&#8217;s status bar: As you can see on the screenshot below, 1 is the id of the category.</p>
<p><img src="http://artatm.com/wp-content/uploads/categ.png" alt="categ" title="categ" width="472" height="77" class="alignnone size-full wp-image-1440" /></p>
<h3>Display Certain Categories in a Menu</h3>
<hr/>
<p>In many cases, users only want to display certain categories in their navigation menu at the top of the page. There are limited spots, that can only be filled by top categories, but if you use the default wp_list_categories code, it will show all categories. This is why this hack below comes in very handy when you want to create a navigation menu and only display certain categories.</p>
<div class="fancy">
<code><br />
&lt;ul class="navmenubar" style="float:left; width:730px;"&gt;<br />
&lt;?php wp_list_categories('orderby=name&#038;include=7,9,19,16,1,5,17,23'); ?&gt;<br />
&lt;/ul&gt;<br />
</code>
</div>
<p><a href="http://www.wpbeginner.com/wp-tutorials/15-killer-hacks-for-wordpress-that-are-extremely-useful/">Source</a><br />
Note, you can also change the ‘include’ text to ‘exclude’ and show all categories and exclude those that you don’t want displayed. The numbers displayed in the code are the category IDs. Remember since WordPress shows categories in a list format, you will need to edit the CSS in order to make it work.</p>
<h3>Display Tags In A Dropdown Menu</h3>
<hr/>
<p>I never liked tag clouds, for the simple reason that most of the time, they’re aren’t readable properly. Here is the solution to this problem: Displaying tags in a dropdown menu.</p>
<p>The first thing to do is to create the function. Paste the following code to your functions.php file:</p>
<div class="fancy">
<code><br />
&lt;?php<br />
function dropdown_tag_cloud( $args = '' ) {<br />
	$defaults = array(<br />
		'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,<br />
		'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC',<br />
		'exclude' =&gt; '', 'include' =&gt; ''<br />
	);<br />
	$args = wp_parse_args( $args, $defaults );</p>
<p>	$tags = get_tags( array_merge($args, array('orderby' =&gt; 'count', 'order' =&gt; 'DESC')) ); // Always query top tags</p>
<p>	if ( empty($tags) )<br />
		return;</p>
<p>	$return = dropdown_generate_tag_cloud( $tags, $args ); // Here's where those top tags get sorted according to $args<br />
	if ( is_wp_error( $return ) )<br />
		return false;<br />
	else<br />
		echo apply_filters( 'dropdown_tag_cloud', $return, $args );<br />
}</p>
<p>function dropdown_generate_tag_cloud( $tags, $args = '' ) {<br />
	global $wp_rewrite;<br />
	$defaults = array(<br />
		'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,<br />
		'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC'<br />
	);<br />
	$args = wp_parse_args( $args, $defaults );<br />
	extract($args);</p>
<p>	if ( !$tags )<br />
		return;<br />
	$counts = $tag_links = array();<br />
	foreach ( (array) $tags as $tag ) {<br />
		$counts[$tag-&gt;name] = $tag-&gt;count;<br />
		$tag_links[$tag-&gt;name] = get_tag_link( $tag-&gt;term_id );<br />
		if ( is_wp_error( $tag_links[$tag-&gt;name] ) )<br />
			return $tag_links[$tag-&gt;name];<br />
		$tag_ids[$tag-&gt;name] = $tag-&gt;term_id;<br />
	}</p>
<p>	$min_count = min($counts);<br />
	$spread = max($counts) - $min_count;<br />
	if ( $spread &lt;= 0 )<br />
		$spread = 1;<br />
	$font_spread = $largest - $smallest;<br />
	if ( $font_spread &lt;= 0 )<br />
		$font_spread = 1;<br />
	$font_step = $font_spread / $spread;</p>
<p>	// SQL cannot save you; this is a second (potentially different) sort on a subset of data.<br />
	if ( 'name' == $orderby )<br />
		uksort($counts, 'strnatcasecmp');<br />
	else<br />
		asort($counts);</p>
<p>	if ( 'DESC' == $order )<br />
		$counts = array_reverse( $counts, true );</p>
<p>	$a = array();</p>
<p>	$rel = ( is_object($wp_rewrite) &#038;&#038; $wp_rewrite-&gt;using_permalinks() ) ? ' rel="tag"' : '';</p>
<p>	foreach ( $counts as $tag =&gt; $count ) {<br />
		$tag_id = $tag_ids[$tag];<br />
		$tag_link = clean_url($tag_links[$tag]);<br />
		$tag = str_replace(' ', '&nbsp;', wp_specialchars( $tag ));<br />
		$a[] = "\t&lt;option value='$tag_link'&gt;$tag ($count)&lt;/option&gt;";<br />
	}</p>
<p>	switch ( $format ) :<br />
	case 'array' :<br />
		$return =&#038; $a;<br />
		break;<br />
	case 'list' :<br />
		$return = "&lt;ul class='wp-tag-cloud'&gt;\n\t&lt;li&gt;";<br />
		$return .= join("&lt;/li&gt;\n\t&lt;li&gt;", $a);<br />
		$return .= "&lt;/li&gt;\n&lt;/ul&gt;\n";<br />
		break;<br />
	default :<br />
		$return = join("\n", $a);<br />
		break;<br />
	endswitch;</p>
<p>	return apply_filters( 'dropdown_generate_tag_cloud', $return, $tags, $args );<br />
}<br />
?&gt;<br />
</code>
</div>
<p>Once done, you can use the function to get your dropdown menu of tags. Just open the file where you want the list to be displayed (Most of the time it is sidebar.php) and paste the following code:</p>
<div class="fancy">
<code><br />
&lt;select name="tag-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;"&gt;<br />
&lt;option value="#"&gt;Liste d'auteurs&lt;/option&gt;<br />
&lt;?php dropdown_tag_cloud('number=0&#038;order=asc'); ?&gt;<br />
&lt;/select&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/wordpress-hack-display-your-tags-in-a-dropdown-menu">source</a><br />
<br/></p>
<h3>Display Categories in a drop down Menu</h3>
<hr/>
<p>To add a good looking drop down that will list all your existing categories, insert the following code in your blog template. You can do it either in your sidebar.php file or anywhere in the index.php. This is the code :-</p>
<div class="fancy">
<code><br />
&lt;form action="&lt;?php bloginfo('url'); ?&gt;/" method="get"&gt;<br />
&lt;?php<br />
$select = wp_dropdown_categories('show_option_none=Select category&#038;show_count=1&#038;orderby=name&#038;echo=0');<br />
$select = preg_replace("#&lt;select([^&gt;]*)&gt;#", "&lt;select$1 onchange='return this.form.submit()'&gt;", $select);<br />
echo $select;<br />
?&gt;<br />
&lt;noscript&gt;&lt;input type="submit" value="View" /&gt;&lt;/noscript&gt;<br />
&lt;/form&gt;<br />
</code>
</div>
<p><a href="http://www.blogohblog.com/10-wordpress-hacks-to-make-your-life-easy/">source</a><br />
<br/></p>
<h3>Display Archives in a drop down Menu</h3>
<hr/>
<p>Just like in categories, you can have your monthly archives listed in a drop down. Add the following code to your template files :-</p>
<div class="fancy">
<code><br />
&lt;select name=\"archive-dropdown\" onChange='document.location.href=this.options[this.selectedIndex].value;'&gt;<br />
&lt;option value=\"\"&gt;&lt;?php echo attribute_escape(__('Select Month')); ?&gt;&lt;/option&gt;<br />
&lt;?php wp_get_archives('type=monthly&#038;format=option&#038;show_post_count=1'); ?&gt; &lt;/select&gt;<br />
</code>
</div>
<p><a href="http://www.blogohblog.com/10-wordpress-hacks-to-make-your-life-easy/">source</a><br />
<br/></p>
<h3>Exclude Categories From Search</h3>
<hr/>
<p>If for some reason, you’d like to exclude some categories from searches, you have to tweak WordPress a bit because there’s no built-in solution to this problem. Happilly, here’s a code to do that job!</p>
<p>To achieve this recipe, replace the categories IDs on line 3 and paste the following code on your search.php template:</p>
<div class="fancy">
<code><br />
&lt;?php if( is_search() )  :<br />
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;<br />
query_posts("s=$s&#038;paged=$paged&#038;cat=1,2,3");<br />
endif; ?&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/how-to-limit-search-to-specific-categories">source</a><br />
You are done!!!!!!!<br />
<br/></p>
<h3>Exclude Categories from your RSS Feed</h3>
<hr/>
<p>Depending to your blog structure, it may be interesting to exclude some categories from your rss feeds. If you always wanted to find a clean way to do it, I’m pretty sure this recipe will make you happy.</p>
<p>Before starting to code, you&#8217;ll have to know the numeric ID of the categories you want to exclude. If you don&#8217;t know how to get the ID of a particular category, just read the first post in the category &#8220;Wordpress Tags,Categories and Archives Hacks&#8221;.</p>
<p>Once you have the ID of the categories you want to exclude from your rss feed, open the functions.php file from your theme. If your theme doesn&#8217;t have a functions.php file, create one.</p>
<p>Paste the following code in it:</p>
<div class="fancy">
<code><br />
function myFilter($query) {<br />
    if ($query-&gt;is_feed) {<br />
        $query-&gt;set('cat','-5'); //Don't forget to change the category ID =^o^=<br />
    }<br />
return $query;<br />
}</p>
<p>add_filter('pre_get_posts','myFilter');<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/how-to-exclude-categories-from-your-rss-feed">source</a><br />
<br/></p>
<h3>Display your categories in two columns</h3>
<hr/>
<p>The stadard wp_list_categories() functions echoes a list of all your categories. Let’s see how we can easily force the display of categories on two columns.</p>
<p>Simply paste the following piece of code where you&#8217;d like your categories to be displayed</p>
<div class="fancy">
<code><br />
&lt;?php<br />
$cats = explode("&lt;br /&gt;",wp_list_categories('title_li=&#038;echo=0&#038;depth=1&#038;style=none'));<br />
$cat_n = count($cats) - 1;<br />
for ($i=0;$i&lt;$cat_n;$i++):<br />
if ($i&lt;$cat_n/2):<br />
$cat_left = $cat_left.'&lt;li&gt;'.$cats[$i].'&lt;/li&gt;';<br />
elseif ($i&gt;=$cat_n/2):<br />
$cat_right = $cat_right.'&lt;li&gt;'.$cats[$i].'&lt;/li&gt;';<br />
endif;<br />
endfor;<br />
?&gt;<br />
&lt;ul class="left"&gt;<br />
&lt;?php echo $cat_left;?&gt;<br />
&lt;/ul&gt;<br />
&lt;ul class="right"&gt;<br />
&lt;?php echo $cat_right;?&gt;<br />
&lt;/ul&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/display-your-categories-in-two-columns">source</a><br />
Then, just save the file, and enjoy!</p>
<p><br/></p>
<h2>Wordpress Search Hacks</h2>
<p><br/></p>
<h3>Display the number of results in WordPress search</h3>
<hr/>
<p>WordPress users know it: Search is definitely one of WordPress weak point. Today, let’s see how to get the number of results the search returned, and display it (proudly!) on our blog.</p>
<p>Open your search template file, search.php. In it, search for the following:</p>
<div class="fancy">
<code><br />
&lt;h2 class="pagetitle"&gt;Search Results&lt;/h2&gt;<br />
</code>
</div>
<p>Now replace this with:</p>
<div class="fancy">
<code><br />
&lt;h2 class="pagetitle"&gt;Search Results for &lt;?php /* Search Count */ $allsearch = &#038;new WP_Query("s=$s&#038;showposts=-1"); $key = wp_specialchars($s, 1); $count = $allsearch-&gt;post_count; _e(''); _e('&lt;span class="search-terms"&gt;'); echo $key; _e('&lt;/span&gt;'); _e(' — '); echo $count . ' '; _e('articles'); wp_reset_query(); ?&gt;&lt;/h2&gt;<br />
</code>
</div>
<p>That&#8217;s all, you&#8217;re done!</p>
<h3>Highlight the Search Terms in Results</h3>
<hr/>
<p>When you search on Google or any other major search engine, the words you searched for are highlighted in the results to make it easier for you to scan. We can do the same with your search results page.</p>
<p>In search.php, search for the following:</p>
<div class="fancy">
<code><br />
&lt;?php the_title(); ?&gt;<br />
</code>
</div>
<p>This is the code for showing the title of each of the results. In the default theme, it will be wrapped up in a line like this:</p>
<div class="fancy">
<code><br />
&lt;h3 id="post-&lt;?php the_ID(); ?&gt;"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="Permanent Link to &lt;?php the_title_attribute(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h3&gt;<br />
</code>
</div>
<p>Now, replace the part with:</p>
<div class="fancy">
<code><br />
&lt;?php echo $title; ?&gt;<br />
</code>
</div>
<p>Finally, before this line, paste the following:</p>
<div class="fancy">
<code><br />
&lt;?php $title = get_the_title(); $keys= explode(" ",$s); $title = preg_replace('/('.implode('|', $keys) .')/iu', '&lt;strong class="search-excerpt"&gt;\0&lt;/strong&gt;', $title); ?&gt;<br />
</code>
</div>
<p><a href="http://www.problogdesign.com/wordpress/3-codes-for-a-far-better-wordpress-search-page/">source</a><br />
<br/></p>
<h3>Make your WordPress Search Results Unlimited</h3>
<hr/>
<p>Sometimes you may not want your search results to be limited by the confines of the standard WordPress Loop. This is a quick code hack to allow a search to return unlimited results, altering the standard WordPress Loop by using a custom query. You can do this in a few different ways. If you have a search template, in search.php you can simple add the following line of code above your Loop.</p>
<p>Find:</p>
<div class="fancy">
<code><br />
&lt;?php if (have_posts()) : ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); ?&gt;<br />
</code>
</div>
<p>Add:</p>
<div class="fancy">
<code><br />
&lt;?php $posts=query_posts($query_string . '&#038;posts_per_page=-1'); ?&gt;<br />
&lt;?php if (have_posts()) : ?&gt;<br />
&lt;?php while (have_posts()) : the_post(); ?&gt;<br />
</code>
</div>
<p><a href="http://wphacks.com/how-to-make-wordpress-search-results-unlimited/">source</a><br />
<br/></p>
<h2>Other General Wordpress Hacks</h2>
<p><br/></p>
<h3>Add Social Bookmarking Buttons in your Wordpress Blog without plugins</h3>
<hr/>
In this post I will be highlighting the manual codes that we can use to create share buttons for Retweet, Digg, Buzz, DesignFloat, StumbleUpon, FShare, Delicious, DZone, Reddit, Technoraiti.<br />
<strong><a href="http://artatm.com/2010/01/add-social-bookmarking-buttons-in-your-wordpress-blog-without-plugins/">View Source Article</a></strong><br />
<br/></p>
<h3>Display your Feedburner count in full text</h3>
<hr/>
<p>Are you using feedburner? Probably yes, just as a lot of bloggers do. If you don’t like the chicklet dedicated to display your feedburner count, just read this recipe which is a new method to get your feedburner count in text mode.</p>
<p>To display your feedburner count in full text on your WordPress blog, simply paste the following on any of your theme file, for exemple sidebar.php:</p>
<div class="fancy">
<code><br />
&lt;?php<br />
$fburl=”https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=YourURL“;<br />
$ch = curl_init();<br />
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br />
curl_setopt($ch, CURLOPT_URL, $fburl);<br />
$stored = curl_exec($ch);<br />
curl_close($ch);<br />
$grid = new SimpleXMLElement($stored);<br />
$rsscount = $grid-&gt;feed-&gt;entry['circulation'];<br />
echo $rsscount;<br />
?&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/how-to-display-your-feedburner-count-in-full-text">source</a><br />
<br/></p>
<h3>Display the total number of your Twitter followers on your WordPress blog</h3>
<hr/>
<p>If you’re on Twitter, you probably display the number of your followers on your blog, using the chicklet from TwitterCounter.com. Today, I’m going to show you how to display your followers in full text mode.</p>
<p>The first thing to do is to paste the following php functions on the functions.php file from your WordPress blog theme:</p>
<div class="fancy">
<code><br />
function string_getInsertedString($long_string,$short_string,$is_html=false){<br />
  if($short_string&gt;=strlen($long_string))return false;<br />
  $insertion_length=strlen($long_string)-strlen($short_string);<br />
  for($i=0;$i&lt;strlen($short_string);++$i){<br />
    if($long_string[$i]!=$short_string[$i])break;<br />
  }<br />
  $inserted_string=substr($long_string,$i,$insertion_length);<br />
  if($is_html &#038;&#038; $inserted_string[$insertion_length-1]=='&lt;'){<br />
    $inserted_string='&lt;'.substr($inserted_string,0,$insertion_length-1);<br />
  }<br />
  return $inserted_string;<br />
}</p>
<p>function DOMElement_getOuterHTML($document,$element){<br />
  $html=$document-&gt;saveHTML();<br />
  $element-&gt;parentNode-&gt;removeChild($element);<br />
  $html2=$document-&gt;saveHTML();<br />
  return string_getInsertedString($html,$html2,true);<br />
}</p>
<p>function getFollowers($username){<br />
  $x = file_get_contents("http://twitter.com/".$username);<br />
  $doc = new DomDocument;<br />
  @$doc-&gt;loadHTML($x);<br />
  $ele = $doc-&gt;getElementById('follower_count');<br />
  $innerHTML=preg_replace('/^&lt;[^&gt;]*&gt;(.*)&lt;[^&gt;]*&gt;$/',"\\1",DOMElement_getOuterHTML($doc,$ele));<br />
  return $innerHTML;<br />
}<br />
</code>
</div>
<p>Then, simply paste the following anywhere on your theme files. Just replace our username with yours.</p>
<div class="fancy">
<code><br />
&lt;?php echo getFollowers("artatm")." followers"; ?&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/display-the-total-number-of-your-twitter-followers-on-your-wordpress-blog">source</a><br />
<br/></p>
<h3>Manually reset your WordPress password</h3>
<hr/>
<p>What to do if you lost your WordPress password? The easier is to use PhpMyAdmin and execute a simple SQL query to update it. Here’s how to proceed.</p>
<p>To achieve this recipe, login to your PhpMyAdmin, select your WordPress database and click on the &#8220;SQL&#8221; button to open the SQL query window.</p>
<p>Then, paste the following code in the window textarea. Don&#8217;t forget to modify the password and username before executing it. Also, make sure you have a backup of your database before executing any SQL queries to your database.</p>
<div class="fancy">
<code><br />
UPDATE 'wp_users' SET 'user_pass' = MD5('PASSWORD') WHERE 'user_login' ='admin' LIMIT 1;<br />
</code>
</div>
<p><a href="http://www.ditii.com/2008/04/27/wordpress-251-how-to-reset-password-manually/">source</a><br />
<br/></p>
<h3>Automatically provide tinyurls for your WordPress blog posts</h3>
<hr/>
<p>Are you on Twitter? I am. This service make an intensive use of tinyurls in order to reduce the size of urls. Why not provide automatically provide a tinyurl to your readers so they can use it on Tweeter?</p>
<p>To achieve this recipe, simply open your functions.php file and paste the following code</p>
<div class="fancy">
<code><br />
function getTinyUrl($url) {<br />
    $tinyurl = file_get_contents("http://tinyurl.com/api-create.php?url=".$url);<br />
    return $tinyurl;<br />
}<br />
</code>
</div>
<p>On your single.php file, paste the following within the loop:</p>
<div class="fancy">
<code><br />
&lt;?php<br />
$turl = getTinyUrl(get_permalink($post-&gt;ID));<br />
echo 'Tiny Url for this post: &lt;a href="'.$turl.'"&gt;'.$turl.'&lt;/a&gt;'<br />
?&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/how-to-automatically-provide-tinyurls-for-your-wordpress-blog-posts">source</a><br />
<br/></p>
<h3>Display today’s date on your WordPress blog</h3>
<hr/>
<p>Many blogs displays the current date on their blog header. It looks profesional, and it is also useful, especially if your blog posts are dated. Here is a very easy way to add today’s date on your WordPress blog.</p>
<p>Open your header.php file (or any other file) and paste the following code:</p>
<div class="fancy">
<code><br />
&lt;?php echo date('l jS F Y'); ?&gt;<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/display-todays-date-on-your-wordpress-blog">source</a><br />
<br/></p>
<h3>Display page loading time + number of queries</h3>
<hr/>
<p>Do you ever asked yourself how long it took for your page to load, or how many sql queries were executed? If yes, here is a simple code to insert on your template.</p>
<p>Nothing hard here. Simply paste the following code on your footer.php file</p>
<div class="fancy">
<code><br />
&lt;?php echo get_num_queries(); ?&gt; queries in &lt;?php timer_stop(1); ?&gt;  seconds.<br />
</code>
</div>
<p><a href="http://www.wprecipes.com/how-to-display-page-loading-time-number-of-queries">source</a><br />
<br/></p>
<h3>Hide WordPress version</h3>
<hr/>
<p>In order to secure your blog, is it a good thing to hide the meta version appearing within the <head> and </head> html tag of your blog. Since WP 2.5, the version is inserted automatically, and can’t be removed as easily at before. Except if you use that hack !</p>
<p>This hack isn’t hard to do at all. Just open the functions.php file from your theme and add the following line of code:</p>
<div class="fancy">
<code><br />
remove_action('wp_head', 'wp_generator');<br />
</code>
</div>
<p><br/></p>
<h3>Am I missing Something??</h3>
<hr/>
If Anything Missing related to wordpress hacks let me know. If you have any suggesion on this topic please post in comment section we will try to improve our topic and content.</p>
<p>
<font size="1">Passing <a href="http://www.pass4sure.com/1Z0-046.html">1z0-046</a> exam is not difficult if you have accurate resources. Just go through the <a href="http://www.pass4sure.com">braindumps</a> and pass your <a href="http://www.pass4sure.com/642-902.html">642-902</a> in first attempt guaranteed.</font><br /></p>


<p>Related posts:<ol><li><a href='http://artatm.com/2010/03/most-essential-wordpress-plugins-every-blogger-must-know/' rel='bookmark' title='Permanent Link: Most Essential WordPress Plugins Every Blogger Must Know'>Most Essential WordPress Plugins Every Blogger Must Know</a></li>
<li><a href='http://artatm.com/2010/01/add-social-bookmarking-buttons-in-your-wordpress-blog-without-plugins/' rel='bookmark' title='Permanent Link: Add Social Bookmarking Buttons in your Wordpress Blog without plugins'>Add Social Bookmarking Buttons in your Wordpress Blog without plugins</a></li>
<li><a href='http://artatm.com/2009/12/new-featuers-in-wordpress-2-9/' rel='bookmark' title='Permanent Link: New features in Wordpress 2.9'>New features in Wordpress 2.9</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://artatm.com/2010/02/35-most-essential-wordpress-tricks-and-hacks/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>Add Social Bookmarking Buttons in your Wordpress Blog without plugins</title>
		<link>http://artatm.com/2010/01/add-social-bookmarking-buttons-in-your-wordpress-blog-without-plugins/</link>
		<comments>http://artatm.com/2010/01/add-social-bookmarking-buttons-in-your-wordpress-blog-without-plugins/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 08:16:53 +0000</pubDate>
		<dc:creator>Jitu</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://artatm.com/?p=1108</guid>
		<description><![CDATA[There are nearly 8,087 plugins in the Worpress .org site and many of them are useful from different point of views. So does that means that you should just go and install all of them. &#8220;Plugins can extend WordPress to do almost anything you can imagine&#8221; and this statement is enough for many to just go and start downloading and installing all the plugins that they want without even thinking what could be result of installing so many plugins could do. Using many plugins can slow down your blog performance, reason being, more number of queries from plugins.

Yes, Plugins are important because of their functionality but if there are alternatives to plugins then why not use them to get your work done. Using Manual code to replace wordpress plugin is a much better way. 
In this post I will be highlighting the manual codes that we can use to create share buttons for Retweet, Digg, Buzz, DesignFloat, StumbleUpon, FShare, Delicious, DZone, Reddit, Technoraiti.
 How to use

For Wordpress Blog Paste the following code in your theme folders single.php file and for your website paste it on proper place where you want to display.

Retweet Counter

Add a retweet counter on your posts with Tweetmeme

&#60;script type="text/javascript" src="http://tweetmeme.com/i/scripts/
button.js"&#62;&#60;/script&#62;


Source

The Digg Button



&#60;a class=&#34;DiggThisButton&#34;&#62; (&#39;&#60;img src=&#34;http://digg.com/img/diggThis.png&#34;
height=&#34;80&#34; width=&#34;52&#34; alt=&#34;DiggThis&#34; /&#62;&#39;)&#60;/a&#62;
&#60;script src=&#34;http://digg.com/tools/diggthis.js&#34; type=&#34;text/javascript&#34;&#62;
&#60;/script&#62;


Source

StumbleUpon



&#60;a href=&#34;http://www.stumbleupon.com/submit?url=&#60;?php the_permalink(); ?&#62;
&#038;title=&#60;?php the_title(); ?&#62;&#34;&#62;&#60;img src=&#34;http://cdn.stumble-upon.com/
images/32x32_su_solid.gif&#34; alt=&#34;StumbleUpon.com&#34;/&#62;&#60;/a&#62;


Source

Delicious



&#60;img src=&#34;http://static.delicious.com/img/delicious.small.gif&#34;
height=&#34;10&#34; width=&#34;10&#34; alt=&#34;Delicious&#34; /&#62;
&#60;a href=&#34;http://delicious.com/save&#34; onclick=&#34;window.open(&#39;http://
delicious.com/save?v=5&#038;noui&#038;jump=close&#038;url=&#39;+encodeURIComponent(&#39;&#60;?php
the_permalink() ?&#62;&#39;)+&#39;&#038;title=&#39;+encodeURIComponent(&#39;&#60;?php the_title() ?&#62;
&#39;),&#39;delicious&#39;, &#39;toolbar=no,width=550,height=550&#39;); return false;&#34;&#62;
Bookmark this on Delicious&#60;/a&#62;


Source 

DZone



&#60;script language=&#34;javascript&#34; src=&#34;http://widgets.dzone.com/links/
widgets/zoneit.js&#34;&#62;&#60;/script&#62;


Source 

DesignFloat
For use with Wordpress powered blogs, replace &#8220;Your URL Here&#8221; with &#60;?php the_permalink() ?&#62;


&#60;script type=&#34;text/javascript&#34;&#62;submit_url = &#39;Your URL Here&#39;;&#60;/script&#62;
&#60;script type=&#34;text/javascript&#34; src=&#34;http://www.designfloat.com/evb2/
button.php&#34;&#62;&#60;/script&#62;


Source 

fShare



&#60;a name=&#34;fb_share&#34; type=&#34;box_count&#34; href=&#34;http://www.facebook.com/
sharer.php&#34;&#62;Share&#60;/a&#62;&#60;script src=&#34;http://static.ak.fbcdn.net/connect.php
/js/FB.Share&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;


Source 

Mixx



&#60;a href=&#34;http://www.mixx.com/&#34; onclick=&#34;window.location=&#39;http://
www.mixx.com/submit?page_url=&#39;+window.location; return false;&#34;&#62;&#60;img
src=&#34;http://www.mixx.com/images/buttons/mixx-button4.png&#34; alt=
&#34;Add to Mixx!&#34; border=&#34;0&#34; /&#62;&#60;/a&#62;


 Source 

Reddit



&#60;a href=&#34;http://www.reddit.com/submit&#34; onclick=&#34;window.location = &#39;
http://www.reddit.com/submit?url=&#39; +encodeURIComponent(window.location);
return false&#34;&#62; &#60;img src=&#34;http://www.reddit.com/static/spreddit1.gif&#34;
alt=&#34;submit to reddit&#34; border=&#34;0&#34; /> &#60;/a&#62;


Source 

Technorati



&#60;a href=&#34;http://technorati.com/faves?sub=addfavbtn&#038;add=http://
nameofmyblog.wordpress.com&#34;&#62;&#60;img src=&#34;http://static.technorati.com/
pix/fave/tech-fav-1.png&#34; alt=&#34;Add to Technorati Favorites&#34; /&#62;&#60;/a&#62;


change &#8220;nameofmyblog&#8221; with the actual name of your blog. 
Source 

Buzz



&#60;script type=&#34;text/javascript" src=&#34;http://d.yimg.com/ds/badge2.in.js&#34;
badgetype=&#34;logo&#34;&#62;ARTICLEURL&#60;/script&#62;


Source 


New Additions

Blog Engage



&#60;script type=&#34;text/javascript&#34;&#62;submit_url = &#34;&#60;?php the_permalink();
?&#62;&#34;;&#60;/script>&#60;script src=&#34;http://blogengage.com/evb/button.php&#34;&#62;
&#60;/script&#62;


Source 

If there are any other additions please suggest we would do the needful.


Related posts:Top 20 Social Bookmaking Plugins for Wordpress – Share your Posts
80+ Promotional Websites to Promote your Blog Articles
Most Essential WordPress Plugins Every Blogger Must Know



Related posts:<ol><li><a href='http://artatm.com/2009/11/top-20-social-bookmaking-plugins-for-wordpress-%e2%80%93-share-your-posts/' rel='bookmark' title='Permanent Link: Top 20 Social Bookmaking Plugins for Wordpress – Share your Posts'>Top 20 Social Bookmaking Plugins for Wordpress – Share your Posts</a></li>
<li><a href='http://artatm.com/2010/03/80-promotional-websites-to-promote-your-blog-articles/' rel='bookmark' title='Permanent Link: 80+ Promotional Websites to Promote your Blog Articles'>80+ Promotional Websites to Promote your Blog Articles</a></li>
<li><a href='http://artatm.com/2010/03/most-essential-wordpress-plugins-every-blogger-must-know/' rel='bookmark' title='Permanent Link: Most Essential WordPress Plugins Every Blogger Must Know'>Most Essential WordPress Plugins Every Blogger Must Know</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are nearly 8,087 plugins in the Worpress .org site and many of them are useful from different point of views. So does that means that you should just go and install all of them. &#8220;Plugins can extend WordPress to do almost anything you can imagine&#8221; and this statement is enough for many to just go and start downloading and installing all the plugins that they want without even thinking what could be result of installing so many plugins could do. Using many plugins can slow down your blog performance, reason being, more number of queries from plugins.</p>
<p><span id="more-1108"></span></p>
<p>Yes, Plugins are important because of their functionality but if there are alternatives to plugins then why not use them to get your work done. Using Manual code to replace wordpress plugin is a much better way. </p>
<p>In this post I will be highlighting the manual codes that we can use to create share buttons for Retweet, Digg, Buzz, DesignFloat, StumbleUpon, FShare, Delicious, DZone, Reddit, Technoraiti.</p>
<h3> How to use</h3>
<hr/>
For Wordpress Blog Paste the following code in your theme folders single.php file and for your website paste it on proper place where you want to display.<br />
<br/></p>
<h3>Retweet Counter</h3>
<p><img src="http://artatm.com/wp-content/uploads/tweetmeme_retweet.jpg" alt="tweetmeme_retweet" title="tweetmeme_retweet" width="60" height="71" class="alignnone size-full wp-image-1194" /><br />
Add a retweet counter on your posts with Tweetmeme</p>
<div class="fancy">
<pre>&lt;script type="text/javascript" src="http://tweetmeme.com/i/scripts/
button.js"&gt;&lt;/script&gt;
</pre>
</div>
<p><a href="http://help.tweetmeme.com/2009/04/06/tweetmeme-button/">Source</a></p>
<hr/>
<h3>The Digg Button</h3>
<p><img src="http://artatm.com/wp-content/uploads/digg_this_button.jpg" alt="digg_this_button" title="digg_this_button" width="58" height="88" class="alignnone size-full wp-image-1187" /></p>
<div class="fancy">
<pre>
&lt;a class=&#34;DiggThisButton&#34;&gt; (&#39;&lt;img src=&#34;http://digg.com/img/diggThis.png&#34;
height=&#34;80&#34; width=&#34;52&#34; alt=&#34;DiggThis&#34; /&gt;&#39;)&lt;/a&gt;
&lt;script src=&#34;http://digg.com/tools/diggthis.js&#34; type=&#34;text/javascript&#34;&gt;
&lt;/script&gt;
</pre>
</div>
<p><a href="http://about.digg.com/button">Source</a></p>
<hr/>
<h3>StumbleUpon</h3>
<p><img src="http://artatm.com/wp-content/uploads/stumble_upon_button.jpg" alt="stumble_upon_button" title="stumble_upon_button" width="47" height="47" class="alignnone size-full wp-image-1192" /></p>
<div class="fancy">
<pre>
&lt;a href=&#34;http://www.stumbleupon.com/submit?url=&lt;?php the_permalink(); ?&gt;
&#038;title=&lt;?php the_title(); ?&gt;&#34;&gt;&lt;img src=&#34;http://cdn.stumble-upon.com/
images/32x32_su_solid.gif&#34; alt=&#34;StumbleUpon.com&#34;/&gt;&lt;/a&gt;
</pre>
</div>
<p><a href="http://www.stumbleupon.com/buttons/">Source</a></p>
<hr/>
<h3>Delicious</h3>
<p><img src="http://artatm.com/wp-content/uploads/delicious.jpg" alt="delicious" title="delicious" width="30" height="30" class="alignnone size-full wp-image-1184" /></p>
<div class="fancy">
<pre>
&lt;img src=&#34;http://static.delicious.com/img/delicious.small.gif&#34;
height=&#34;10&#34; width=&#34;10&#34; alt=&#34;Delicious&#34; /&gt;
&lt;a href=&#34;http://delicious.com/save&#34; onclick=&#34;window.open(&#39;http://
delicious.com/save?v=5&#038;noui&#038;jump=close&#038;url=&#39;+encodeURIComponent(&#39;&lt;?php
the_permalink() ?&gt;&#39;)+&#39;&#038;title=&#39;+encodeURIComponent(&#39;&lt;?php the_title() ?&gt;
&#39;),&#39;delicious&#39;, &#39;toolbar=no,width=550,height=550&#39;); return false;&#34;&gt;
Bookmark this on Delicious&lt;/a&gt;
</pre>
</div>
<p><a href="http://delicious.com/help/savebuttons">Source </a></p>
<hr/>
<h3>DZone</h3>
<p><img src="http://artatm.com/wp-content/uploads/dzone_button.jpg" alt="dzone_button" title="dzone_button" width="58" height="74" class="alignnone size-full wp-image-1188" /></p>
<div class="fancy">
<pre>
&lt;script language=&#34;javascript&#34; src=&#34;http://widgets.dzone.com/links/
widgets/zoneit.js&#34;&gt;&lt;/script&gt;
</pre>
</div>
<p><a href="http://www.dzone.com/links/buttons.jsp">Source </a></p>
<hr/>
<h3>DesignFloat</h3>
<p><img src="http://artatm.com/wp-content/uploads/design_float_button.jpg" alt="design_float_button" title="design_float_button" width="43" height="59" class="alignnone size-full wp-image-1186" />For use with Wordpress powered blogs, replace &#8220;Your URL Here&#8221; with &lt;?php the_permalink() ?&gt;</p>
<div class="fancy">
<pre>
&lt;script type=&#34;text/javascript&#34;&gt;submit_url = &#39;Your URL Here&#39;;&lt;/script&gt;
&lt;script type=&#34;text/javascript&#34; src=&#34;http://www.designfloat.com/evb2/
button.php&#34;&gt;&lt;/script&gt;
</pre>
</div>
<p><a href="http://www.designfloat.com/tools-en.php">Source </a></p>
<hr/>
<h3>fShare</h3>
<p><img src="http://artatm.com/wp-content/uploads/fshare_button.jpg" alt="fshare_button" title="fshare_button" width="83" height="82" class="alignnone size-full wp-image-1189" /></p>
<div class="fancy">
<pre>
&lt;a name=&#34;fb_share&#34; type=&#34;box_count&#34; href=&#34;http://www.facebook.com/
sharer.php&#34;&gt;Share&lt;/a&gt;&lt;script src=&#34;http://static.ak.fbcdn.net/connect.php
/js/FB.Share&#34; type=&#34;text/javascript&#34;&gt;&lt;/script&gt;
</pre>
</div>
<p><a href="http://www.facebook.com/facebook-widgets/share.php">Source </a></p>
<hr/>
<h3>Mixx</h3>
<p><img src="http://artatm.com/wp-content/uploads/mixx_button.jpg" alt="mixx_button" title="mixx_button" width="23" height="23" class="alignnone size-full wp-image-1190" /></p>
<div class="fancy">
<pre>
&lt;a href=&#34;http://www.mixx.com/&#34; onclick=&#34;window.location=&#39;http://
www.mixx.com/submit?page_url=&#39;+window.location; return false;&#34;&gt;&lt;img
src=&#34;http://www.mixx.com/images/buttons/mixx-button4.png&#34; alt=
&#34;Add to Mixx!&#34; border=&#34;0&#34; /&gt;&lt;/a&gt;
</pre>
</div>
<p><a href="http://www.mixx.com/buttons"> Source </a></p>
<hr/>
<h3>Reddit</h3>
<p><img src="http://artatm.com/wp-content/uploads/reddit_button.jpg" alt="reddit_button" title="reddit_button" width="27" height="21" class="alignnone size-full wp-image-1191" /></p>
<div class="fancy">
<pre>
&lt;a href=&#34;http://www.reddit.com/submit&#34; onclick=&#34;window.location = &#39;
http://www.reddit.com/submit?url=&#39; +encodeURIComponent(window.location);
return false&#34;&gt; &lt;img src=&#34;http://www.reddit.com/static/spreddit1.gif&#34;
alt=&#34;submit to reddit&#34; border=&#34;0&#34; /> &lt;/a&gt;
</pre>
</div>
<p><a href="http://www.reddit.com/buttons/">Source </a></p>
<hr/>
<h3>Technorati</h3>
<p><img src="http://artatm.com/wp-content/uploads/technorati_button.jpg" alt="technorati_button" title="technorati_button" width="54" height="47" class="alignnone size-full wp-image-1193" /></p>
<div class="fancy">
<pre>
&lt;a href=&#34;http://technorati.com/faves?sub=addfavbtn&#038;add=http://
nameofmyblog.wordpress.com&#34;&gt;&lt;img src=&#34;http://static.technorati.com/
pix/fave/tech-fav-1.png&#34; alt=&#34;Add to Technorati Favorites&#34; /&gt;&lt;/a&gt;
</pre>
</div>
<p>change &#8220;nameofmyblog&#8221; with the actual name of your blog. </p>
<p><a href="http://en.forums.wordpress.com/topic/how-to-add-the-technorati-button-to-my-blog">Source </a></p>
<hr/>
<h3>Buzz</h3>
<p><img src="http://artatm.com/wp-content/uploads/yahoo_buzz_button.jpg" alt="yahoo_buzz_button" title="yahoo_buzz_button" width="25" height="26" class="alignnone size-full wp-image-1185" /></p>
<div class="fancy">
<pre>
&lt;script type=&#34;text/javascript" src=&#34;http://d.yimg.com/ds/badge2.in.js&#34;
badgetype=&#34;logo&#34;&gt;ARTICLEURL&lt;/script&gt;
</pre>
</div>
<p><a href="http://in.buzz.yahoo.com/buttons">Source </a></p>
<hr/>
<p><br/></p>
<p>New Additions</p>
<hr/>
<h3>Blog Engage</h3>
<p><img src="http://artatm.com/wp-content/uploads/blogengage__button.jpg" alt="blogengage__button" title="blogengage__button" width="100" height="30" class="alignnone size-full wp-image-1215" /></p>
<div class="fancy">
<pre>
&lt;script type=&#34;text/javascript&#34;&gt;submit_url = &#34;&lt;?php the_permalink();
?&gt;&#34;;&lt;/script>&lt;script src=&#34;http://blogengage.com/evb/button.php&#34;&gt;
&lt;/script&gt;
</pre>
</div>
<p><a href="http://www.blogengage.com/profile_promo.php">Source </a></p>
<hr/>
<p>If there are any other additions please suggest we would do the needful.</p>


<p>Related posts:<ol><li><a href='http://artatm.com/2009/11/top-20-social-bookmaking-plugins-for-wordpress-%e2%80%93-share-your-posts/' rel='bookmark' title='Permanent Link: Top 20 Social Bookmaking Plugins for Wordpress – Share your Posts'>Top 20 Social Bookmaking Plugins for Wordpress – Share your Posts</a></li>
<li><a href='http://artatm.com/2010/03/80-promotional-websites-to-promote-your-blog-articles/' rel='bookmark' title='Permanent Link: 80+ Promotional Websites to Promote your Blog Articles'>80+ Promotional Websites to Promote your Blog Articles</a></li>
<li><a href='http://artatm.com/2010/03/most-essential-wordpress-plugins-every-blogger-must-know/' rel='bookmark' title='Permanent Link: Most Essential WordPress Plugins Every Blogger Must Know'>Most Essential WordPress Plugins Every Blogger Must Know</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://artatm.com/2010/01/add-social-bookmarking-buttons-in-your-wordpress-blog-without-plugins/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>15 Unforgettable Websites To Find Code Snippets With Ease</title>
		<link>http://artatm.com/2009/12/15-unforgettable-websites-to-find-code-snippets-with-ease/</link>
		<comments>http://artatm.com/2009/12/15-unforgettable-websites-to-find-code-snippets-with-ease/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 08:54:26 +0000</pubDate>
		<dc:creator>Rocky</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://artatm.com/?p=404</guid>
		<description><![CDATA[In a race against time, we are always looking to save as much as possible; this is especially applicable to the Website development. A website needs to be developed as fast as possible without compensating on any of features that make it unique and stand out. This is where code snippets show their power. Code Snippet is a small region of re-usable code that are developed in specific modules in order to facilitate smooth integration in to programming. Here, we will show you where can you get the snippet to satiate your needs.

View Source Article


Related posts:Easily Turn Your Images Into Polaroids with CSS3
Horizontally Scrolling Websites Showcase &#038; Tutorials
3 Ways to Add Depth to Any Website with CSS



Related posts:<ol><li><a href='http://artatm.com/2009/12/easily-turn-your-images-into-polaroids-with-css3/' rel='bookmark' title='Permanent Link: Easily Turn Your Images Into Polaroids with CSS3'>Easily Turn Your Images Into Polaroids with CSS3</a></li>
<li><a href='http://artatm.com/2009/11/horizontally-scrolling-websites-showcase-tutorials/' rel='bookmark' title='Permanent Link: Horizontally Scrolling Websites Showcase &#038; Tutorials'>Horizontally Scrolling Websites Showcase &#038; Tutorials</a></li>
<li><a href='http://artatm.com/2009/12/3-ways-to-add-depth-to-any-website-with-css/' rel='bookmark' title='Permanent Link: 3 Ways to Add Depth to Any Website with CSS'>3 Ways to Add Depth to Any Website with CSS</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In a race against time, we are always looking to save as much as possible; this is especially applicable to the Website development. A website needs to be developed as fast as possible without compensating on any of features that make it unique and stand out. This is where code snippets show their power. Code Snippet is a small region of re-usable code that are developed in specific modules in order to facilitate smooth integration in to programming. Here, we will show you where can you get the snippet to satiate your needs.</p>
<p><span id="more-404"></span></p>
<p><a href="http://www.appsheriff.com/web-apps/script/15-unforgettable-websites-to-find-code-snippets-with-ease/" class="viewit" target="_blank">View Source Article</a></p>


<p>Related posts:<ol><li><a href='http://artatm.com/2009/12/easily-turn-your-images-into-polaroids-with-css3/' rel='bookmark' title='Permanent Link: Easily Turn Your Images Into Polaroids with CSS3'>Easily Turn Your Images Into Polaroids with CSS3</a></li>
<li><a href='http://artatm.com/2009/11/horizontally-scrolling-websites-showcase-tutorials/' rel='bookmark' title='Permanent Link: Horizontally Scrolling Websites Showcase &#038; Tutorials'>Horizontally Scrolling Websites Showcase &#038; Tutorials</a></li>
<li><a href='http://artatm.com/2009/12/3-ways-to-add-depth-to-any-website-with-css/' rel='bookmark' title='Permanent Link: 3 Ways to Add Depth to Any Website with CSS'>3 Ways to Add Depth to Any Website with CSS</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://artatm.com/2009/12/15-unforgettable-websites-to-find-code-snippets-with-ease/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
