We dont need to introduce the Barack Obama. Barack H. Obama is the 44th President of the United States.

When Barack Obama became President of the USA. We got really happy because that is the real world’s sign that world is changing and people are changing in very right and global direction. He shows the new way to the whole world. I can say only that. He is the result of Hope.

He is first president of USA who used internet campaign very smartly and effectively. He used the power of social media and internet social media so effectively. That why I am giving the information about some social account information about Barack Obama.

Follow Barack Obama on Twitter

http://twitter.com/BARACKOBAMA

Find Obama on Facebook

http://www.facebook.com/barackobama

Find on Myspace

http://www.myspace.com/barackobama

Information in White House

http://www.whitehouse.gov/administration/president-obama

Please check some very nice wordpress themes made for Barack Obama.

Probama Theme

Description

A timely WordPress theme for supporters of Senator Barack Obama’s political career and presidential campaign. Built-in control panel options allow easy management of images, video, podcasts and other RSS info.

Live Demo | Download Theme | Download PSD

Barack Obama Evolution

Description: Barack Obama Evolution WordPress Bloggers Template with 3 columns homepage and 2 column single post combination.

Demo | Download

Obama Hope

Description: Obama Hope is simple wordpress theme for Barack Obama supporters.

Demo | Download

Obama

Demo | Download

There are many websites that offer links to download free WordPress themes. Following are five sites that together offer hundreds of free WordPress themes for you to choose from to enhance your blog.

WordPress.org Theme Directory

The WordPress.org Theme Directory offers hundreds of free themes in a wide variety of styles and designs.

*******************************************************************************************************************************************

WordPress Themes from wpthemesfree.com

wpthemesfree.com offers over 3,000 WordPress themes to choose from.

*******************************************************************************************************************************************

FreeWordPressThemes.com

FreeWordPressThemes.com offers a wide variety of free WordPress templates handpicked for their usability, aesthetics, helpfulness of the author and XHTML validation.


*******************************************************************************************************************************************

Performancing WordPress Themes

The team at Performancing.com creates great themes known for their high quality.

*******************************************************************************************************************************************

Chris Pearson’s Pearsonified.com Themes

Chris Pearson created the WordPress standard Cutline theme. He offers several free WordPress themes through his blog.

*******************************************************************************************************************************************

Thank You!

If you want to use the different smiley image in your wordpress post then you can use following steps:

  1. Find your smiley image files in the /wp-includes/images/smilies directory and back them up to another directory
  2. Note the names of each smiley file. Your files must match these names and should be in the same ‘gif’ image format.
  3. For predictable behavior, the image sizes should be similar.
  4. Upload your new files to the /wp-includes/images/smilies directory with an FTP program.

If you want to changes the names of smiley and you need to edit wp-includes/functions.php file.

In that file you will find the “smilies_init” function.

You will find the following code in that file.


if ( !isset( $wpsmiliestrans ) ) {
 $wpsmiliestrans = array(
 ':mrgreen:' => 'icon_mrgreen.gif',
 ':neutral:' => 'icon_neutral.gif',
 ':twisted:' => 'icon_twisted.gif',
 ':arrow:' => 'icon_arrow.gif',
 ':shock:' => 'icon_eek.gif',
 ':smile:' => 'icon_smile.gif',
 ':???:' => 'icon_confused.gif',
 ':cool:' => 'icon_cool.gif',
 ':evil:' => 'icon_evil.gif',
 ':grin:' => 'icon_biggrin.gif',
 ':idea:' => 'icon_idea.gif',
 ':oops:' => 'icon_redface.gif',
 ':razz:' => 'icon_razz.gif',
 ':roll:' => 'icon_rolleyes.gif',
 ':wink:' => 'icon_wink.gif',
 ':cry:' => 'icon_cry.gif',
 ':eek:' => 'icon_surprised.gif',
 ':lol:' => 'icon_lol.gif',
 ':mad:' => 'icon_mad.gif',
 ':sad:' => 'icon_sad.gif',
 '8-)' => 'icon_cool.gif',
 '8-O' => 'icon_eek.gif',
 ':-(' => 'icon_sad.gif',
 ':-)' => 'icon_smile.gif',
 ':-?' => 'icon_confused.gif',
 ':-D' => 'icon_biggrin.gif',
 ':-P' => 'icon_razz.gif',
 ':-o' => 'icon_surprised.gif',
 ':-x' => 'icon_mad.gif',
 ':-|' => 'icon_neutral.gif',
 ';-)' => 'icon_wink.gif',
 '8)' => 'icon_cool.gif',
 '8O' => 'icon_eek.gif',
 ':(' => 'icon_sad.gif',
 ':)' => 'icon_smile.gif',
 ':?' => 'icon_confused.gif',
 ':D' => 'icon_biggrin.gif',
 ':P' => 'icon_razz.gif',
 ':o' => 'icon_surprised.gif',
 ':x' => 'icon_mad.gif',
 ':|' => 'icon_neutral.gif',
 ';)' => 'icon_wink.gif',
 ':!:' => 'icon_exclaim.gif',
 ':?:' => 'icon_question.gif',
 );

You can edit that names as per your requirement and add more smiley.

If you want to put some css for your smiley then you can use or put following CSS class in your style.css file (Theme folder).

img.wp-smiley {
   float: none;
   padding:2px;
   border:none;
}

That sit! Have fun.

Smileys, also known as “emoticons,” are glyphs used to convey emotions in your writing. They are a great way to brighten up posts. smile emoticon

By default, WordPress automatically converts text smileys to graphic images. When you type ;-) in your post you see smile emoticon when you preview or publish your post.

If you turn off graphic smileys, whatever you type in plain text will remain, and be displayed, as plain text.

  1. Go to your Admin Panel
  2. Select Settings -> Writing
  3. In the Formatting section, uncheck the box for “Convert emoticons like :-) and :-P to graphics on display

Turning off emoticons means that when you type ;-) in a post you will see ;-) when you preview or publish your post. So it doesn’t stop you from using emoticons as plain text. wink emoticon

What Text Do I Type to Make Smileys?

Smiley images and the text used to produce them*:

icon text text full text icon full text
smile :) :-) :smile:lol :lol:
biggrin :D :-D :grin:redface :oops:
sad :( :-( :sad:cry :cry:
surprised :o :-o :eek:evil :evil:
eek 8O 8-O :shock:twisted :twisted:
confused :? :-? :???:rolleyes :roll:
cool 8) 8-) :cool:exclaim :!:
mad :x :-x :mad:question :?:
razz :P :-P :razz:idea :idea:
neutral :| :-| :neutral:arrow :arrow:
wink ;) ;-) :wink:mrgreen :mrgreen:

* In some instances, multiple text options are available to display the same smiley.

Note: The smiley or emoticon image graphics are found in the /wp-includes/images/smilies directory.


In article I will tell you very nice resources for contact form in wordpress plugin.

1. Contact Form 7

WordPress plugin for contact form is Contact Form 7.
Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.
You can download this plugin from following url.
http://ideasilo.wordpress.com/2007/04/30/contact-form-7/

This plugin is good to use but there no advanced options like customize css and look of contact form.

2. Spam-Free Contact Form

Spam Free Contact Form. On errors, displays elegant error messages and confirmation messages on successful mail delivery.
You can download this plugin from following url.
http://wordpress.org/extend/plugins/spam-free-contact-form/

3. WP Clean-Contact

Clean-contact hides itself from spam-bots by, and optionally will filter messages using Akismet — Capctha and skill testing questions not required.
You can download this plugin from following url.
http://www.checkfront.com/dev/extras/wp-clean-contact

4. Secure Form Mailer Plugin For WordPress

You can download this plugin from following url.
http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/

5. cformsII

Cforms is a great plugin but it hardcode some datas in PHP and JS files. It also save on WP options the URL of the blog, it’s cause some problem when you want moving your blog.
This plugin allow edit this parameter from WordPress without open your FTP client or use phpMyAdmin.
You can download this plugin from following url.
http://www.deliciousdays.com/cforms-plugin/

6. Fast and Secure Contact Form

Fast and Secure Contact Form for WordPress. This contact form lets your visitors send you a quick E-mail message. Blocks all common spammer tactics. Spam is no longer a problem. Includes a CAPTCHA and Akismet support. Additionally, the plugin has a multi-form feature, optional extra fields, and an option to redirect visitors to any URL after the message is sent. Does not require JavaScript.
You can download this plugin from following url.
http://wordpress.org/extend/plugins/si-contact-form/

WordPress is becoming most popular CMS these days. It is very easy to use and great search engine support.
Last year wordpress left behind all the cms. Many people are thinking about how to keep the there wordpress site impressive.
In this article I am going tell you the 5 best tips about how to keep your wordpress blog or website impressive.

1. Create a widget controlled footer that keeps visitors busy on site

Widget controlled footer is not new thing in wordpress website but still having footer with multiple information is good.
You should keep the following footer widget in website.
1. Recent posts
2. Popular Post
3. Recent Comments
For recent comments you can use following code in footer without plugin

<?php
 $my_query = new WP_Query('showposts=15');
 while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>

For popular post We can use the wp-popular-post plugin. Using that plugin use can use following code in your website

<?php get_mostpopular("range=weekly&order_by=views&stats_comments=0&limit=20"); ?>

For showing the Recent comments you can use following code without any wordpress plugin. You can change the css code as per your site layout.

<?php
$total_comments = $wpdb->get_results("SELECT comment_date_gmt, comment_author, comment_ID, comment_post_ID, comment_author_email, comment_content FROM $wpdb->comments WHERE comment_approved = '1' and comment_type != 'trackback' ORDER BY comment_date_gmt DESC LIMIT 11");
$comment_total = count($total_comments);
echo '<ul>';
for ($comments = 0; $comments < $comment_total; $comments++) {
echo "<div style='clear:both;width:355px;padding-top:3px;'><div style='float:left;width:35px;'>";
echo get_avatar($total_comments[$comments]->comment_author_email,$size='32',$default='<path_to_url>' );
echo "</div> <div style='width:320px;'>";
echo '<li>';
echo $total_comments[$comments]->comment_author . ' says ';
echo '<a href="'. get_permalink($total_comments[$comments]->comment_post_ID) . '#comment-' . $total_comments[$comments]->comment_ID . '">';
// echo get_the_title($total_comments[$comments]->comment_post_ID);
echo $total_comments[$comments]->comment_content;
echo '</a></li></div></div>';
}
echo '</ul>'
?>

2. Display the interesting images on the homepage

You can increase your wordpress site traffic and website will look cool with best custom made images.
You can use following code for showing the images on homepage.
First you need to open the functions.php file from your wordpress theme folder and copy paste following code in that file.

function get_first_image($id) {
$PostID = $id;
$all_images =& get_children('post_type=attachment&post_mime_type=image&post_parent=' . $PostID );

if($all_images) {
$arr_of_all_images = array_keys($all_images);
$firstImage = $arr_of_all_images[0];
$thumb_url = wp_get_attachment_thumb_url($firstImage);
$First_thumb_image = '<a href="' . get_permalink() . '">' .
 '<img src="' . $thumb_url . '" width="150" height="150" alt="Thumbnail Image" title="Thumbnail Image" />' .
 '</a>';
 echo $First_thumb_image;
 }
}

In your index.php file you need to copy paste the following code for showing the image.

<?php get_first_image($post->ID);  ?>

3. Add social media links to the bottom of post

Visitors always want to bookmark the website or your posts.
So keeping that very simple adding the social media links to your posts is very nice.
Finding the good social media icons as per your website is very easy with google.

There are some nice wordpress plugins available for adding the social media icons but recommend not to use any wordpress plugin.
Or you can use following code.

<style>
.social_icons{ clear:both; border-top:2px solid #ccc; color:#2266BB; font-size:18px;font-weight:bold;line-height:30px;}
.social_icons ul li {float:left; padding-right:8px;}
</style>
<div >
Bookmark & Share This Post
<ul>
 <li><a rel="nofollow" target="_blank" href="http://wordpressapi.com/feed" title="RSS"><img src="http://wordpressapi.com/files/rss_32.png" title="RSS" alt="RSS"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="del.icio.us"><img src="http://wordpressapi.com/files/delicious_32.png" title="del.icio.us" alt="del.icio.us"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="StumbleUpon"><img src="http://wordpressapi.com/files/stumbleupon_32.png" title="StumbleUpon" alt="StumbleUpon"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://digg.com/submit?phase=2&url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Digg"><img src="http://wordpressapi.com/files/digg_32.png" title="Digg" alt="Digg"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://twitthis.com/twit?url=<?php the_permalink() ?>" title="TwitThis"><img src="http://wordpressapi.com/files/twitter_32.png" title="TwitThis" alt="TwitThis"  /></a></li>

 <li><a rel="nofollow" target="_blank" href="http://www.mixx.com/submit?page_url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Mixx"><img src="http://wordpressapi.com/files/mixx_32.png" title="Mixx" alt="Mixx"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://technorati.com/faves?add=<?php the_permalink() ?>" title="Technorati"><img src="http://wordpressapi.com/files/technorati_32.png" title="Technorati" alt="Technorati"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.facebook.com/sharer.php?u=<?php the_permalink() ?>&t=<?php echo urlencode(the_title('','', false)) ?>" title="Facebook"><img src="http://wordpressapi.com/files/facebook_32.png" title="Facebook" alt="Facebook"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.newsvine.com/_tools/seed&save?u=<?php the_permalink() ?>&h=<?php echo urlencode(the_title('','', false)) ?>" title="NewsVine"><img src="http://wordpressapi.com/files/newsvine_32.png" title="NewsVine" alt="NewsVine"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://reddit.com/submit?url=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Reddit"><img src="http://wordpressapi.com/files/reddit_32.png" title="Reddit" alt="Reddit"  /></a></li>
 <li><a rel="nofollow" target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&bkmk=<?php the_permalink() ?>&title=<?php echo urlencode(the_title('','', false)) ?>" title="Google"><img src="http://wordpressapi.com/files/google_32.png" title="Google" alt="Google" /></a></li>

 <li><a rel="nofollow" target="_blank" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=<?php the_permalink() ?>&=<?php echo urlencode(the_title('','', false)) ?>" title="YahooMyWeb"><img src="http://wordpressapi.com/files/yahoobuzz_32.png" title="YahooMyWeb" alt="YahooMyWeb"  /></a></li>

 <li><a rel="nofollow" target="_blank" href="mailto:?subject=<?php echo urlencode(the_title('','', false)) ?>&body=<?php the_permalink() ?>" title="E-mail this story to a friend!"><img src="http://wordpressapi.com/files/email_32.png" title="E-mail this story to a friend!" alt="E-mail this story to a friend!"  /></a></li>

</ul>
</div>

4. Install the Tweetmeme style Twitter button to your posts

Twitter is very popular these days. Twitter is micro blogging website.
So many people want to share there articles with twitter and Many visitors want to share article with there friends and follower by tweeting the article.
I recommend to use the tweetmeme wordpress plugin for putting the Twitter button to your posts.

You can download the tweetmeme wordpress plugin from following URL

http://tweetmeme.com

5. Always show the Author information with photo

Many visitors want to know about author. Keeping Author’s information on wordpress website is really good idea.
That will become your website more interesting the user friendly to visitors.
Some people like the specific writing style of author and They want know more information about Author.

In wordpress keeping the users photo and information I will suggest to use the user-photo wordpress plugin.

http://wordpress.org/extend/plugins/user-photo/

After adding following plugin you can use following code in your wordpress posts.

<?php userphoto_the_author_photo(); ?>

MDesign

This wordpress theme is very simple blog design with sober colors.  this theme has left sidebar and simple bold title. This website is submitted by Mahesh Kshirsagar.

Demo | Download

You can add the easily add the reply comment link in wordpress comments template. WordPress api will give you very easy and better options to add the reply link.

Open your comments.php file from your wordpress theme folder and use following code.

<?php
// for Text
comment_reply_link( array ( 'reply_text' => '<img src="..." alt="Reply Comments">' ) );

// for Image</code>
comment_reply_link( array ( 'reply_text' => '<img src="..." alt="Reply Comments">' ) );
?>

For More detail you can use the following article…

You can add the your custom text before the footer area. Using wordpress api you can easily achieve this. In this article I will show you how to add the text before footer area in wordpress.

First Open your functions.php file from your wordpress theme and use following code in the functions.php


function custom_footer() {
 $content = '<div id="custom_footer">this is your custom function or text</div>';
 echo $content;
}
add_action('wp_footer', 'custom_footer');

Then open your footer.php file from wordpress theme folder and put following code in footer where you want to show your custom text or function.


<?php wp_footer(); ?>

Many times we got requirement to add thank you message after adding comments added by users.

In this article I will show how to add custom message after getting comments from users. For this we going use the wordpress api. WordPress filters are very useful. You can find all wordpress hooks and filters in wp-includes/default-filters.php file.

Open your functions.php file from your active wordpress theme folder. copy paste the following code in that file.

</p>
<p>function add_custom_text($content) {</p>
<p>    return "</p>
<div class=\"custom-text\">
<p>Hello User!</p>
<p>Thank you for your comment.</p>
<p>WordPressapi</p>
</div>
<p>";</p>
<p>}</p>
<p>add_filter('comment_text', 'add_custom_text', 1000);</p>
<p>

Wordpressapi is developer code book.
wordpressapi on Facebook

Who am I?

Sony Kumari founded Wordpressapi in Feb 2010. She started writing since Aug 2006 in wordpress blog. Later on She moved her blog to wordpressapi.com.

Sony Kumari is dubble gradute and earned M.C.A. in Computers. Sony Kumari handled the so many projects in many different technology. She worked on Java, PHP, Ruby on Rails, Javascript, Web services, Social applications, Ad campaigns.

Mahesh is the Author of Wordpressapi, as well as a serial web entrepreneur, sci-fi author, and aspiring world changer. He has been writing for Wordpressapi since Dec 2009. His previous experience includes Photoshop Design, CSS design, Web design and wordpress themes development.

Mahesh is a graduate and earned a B.E. in Electronics. He is having three years of experience in Web design and Wordpress application development.

Rahul is the Author of Wordpressapi, as well as a web designer and photoshop artist. His previous experience includes Photoshop Design, CSS design, Web design and wordpress themes development.

Rahul is a graduate and earned a B.A. in History. He is having Five years of experience in Web design and Wordpress application development.

© 2010 Wordpressapi. All Rights Reserved. Reproduction without explicit permission is prohibited.