Use smilies/smileys in wordpress posts

By default, WordPress automatically converts text smileys to graphic images. In this post I showed how to Use smilies/smileys in wordpress posts

Use smilies/smileys in wordpress posts

Use smilies/smileys in wordpress posts
Use smilies/smileys in wordpress posts

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 😛 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 🙂 🙂 🙂 lol 😆
biggrin 😀 😀 😀 redface 😳
sad 🙁 🙁 🙁 cry 😥
surprised 😮 😮 😮 evil 👿
eek 😯 😯 😯 twisted 😈
confused 😕 😕 😕 rolleyes 🙄
cool 8) 😎 😎 exclaim
mad 😡 😡 😡 question
razz 😛 😛 😛 idea 💡
neutral 😐 😐 😐 arrow
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.


how to use update option in wordpress plugin

Most of wordpress plugin writer choose the new table for saving data for plugin setting and any setting in wordpress plugin. In this article we will show, how to use update option in wordpress plugin.  I recommend to use the update option for saving data in wordpress database.

how to use update option in wordpress plugin

how to use update option in wordpress plugin
how to use update option in wordpress plugin

There is ready made option is provided by wordpress to save custom data in there table.

Here with very simple code I will show how use save the data in wordpress database.

< ?php
$variable = array(‘var1′ => $_POST['var1'], ‘var2′ => $_POST['var2']);
update_option(‘myPlugin_var1′, serialize($variable));
get_option(‘myPlugin_var1′) == “” ? “” : $new = unserialize(get_option(‘myPlugin_var1′));
?>

You should save data in simple variable format or I suggest always save data in array format.

For more reference you can check the following URL
http://phpxref.com/xref/wordpress/wp-admin/options.php.source.html

how to upload videos to wordpress blog

Here in this article we will show, how to upload videos to wordpress blog using wordpress plugin called videopress. Videopress is best worpdress plugin for videos.

VideoPress is a strong supporter of free software, including video formats and codecs. All videos uploaded to VideoPress are available for download in Ogg video format with Theora video and Vorbis audio. If you blog on WordPress.com you now have the ability to restrict VideoPress embed to only free video formats unrestricted by known patent claims or intellectual property licensing hurdles.

how to upload videos to wordpress blog

how to upload videos to wordpress blog
how to upload videos to wordpress blog

Publishers concerned about the freedom restrictions of the default VideoPress player’s use of Adobe Flash, MP4, H.264/AVC High profile video, and AACLC can override the default behavior through their WordPress.com blog’s Media Settings page (yourblog.wordpress.com/wp-admin/options-media.php). Your free software formats choice applies to all VideoPress videos embedded on your blog, including videos from other VideoPress publishers.

Videos included in your posts and pages will be output using HTML5 for playback using default video controls in supporting web browsers such as Mozilla Firefox 3.5+, Google Chrome 3.0+, and Opera 10.5+.

The free formats setting may be expanded in the future to include additional formats free of known patent claims. The newly supported WebM file container with VP8 video and Vorbis audio is an early example of what could become a video format without known intellectual property claims prohibiting open distribution. We plan to add support for freedom preference for self-hosted WordPress blogs through our VideoPress plugin once we have tested this new feature with the millions of active blogs on WordPress.com.

 

Best contact form wordpress plugins

In this article, we will tell you very nice resources for contact form in wordpress plugins. We collected unique Best contact form wordpress plugins.

best contact form wordpress plugins

1. Contact Form 7

Best contact form wordpress plugins
Best contact form wordpress plugins

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

Best contact form wordpress plugins
Best contact form wordpress plugins

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/

5 tips to increase wordPress traffic and look

In article, I explained you the 5 best tips about how to keep your wordpress blog or website impressive and 5 tips to increase wordPress traffic and look. It is very important to increase wordPress traffic by doing some tricks. There are many ways for increase wordPress traffic. But here in this article, I found some very unique increase wordPress traffic tips which are very useful for every web master.

I also did many tricks for my client to increase wordPress traffic. So think deeply about, how to increase wordPress traffic.

increase wordPress traffic

WordPress is becoming most popular CMS these days. It is very easy to use and great search engine support. Following are simple steps which I used to increase wordPress traffic.
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

increase wordPress traffic
increase wordPress traffic

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 wordPress 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://images.purabtech.in/feed" title="RSS"><img src="http://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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://images.purabtech.in/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(); ?>

Free WordPress theme MDesign for download

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.

Free WordPress theme MDesign for download

MDesign

 

Free simple WordPress theme MDesign for download
Free simple WordPress theme MDesign for download

[viral-lock message=”Download and Demo Link is Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]

Demo | Download

[/viral-lock]

how to change wordpress post order category wise

When we need to re-arrange my recent post in wordpress. they go Ascending/Descending order category wise. Code for change wordpress post order category wise. We can easily achieve this using wordpress api.

how to change wordpress post order category wise

how to change wordpress post order category wise
how to change wordpress post order category wise

use following code:


<!--?php

//The Query
query_posts('cat=1,3,3&posts_per_page=15&order=ASC');

//The Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();
 ..
endwhile; else:
 ..
endif;

?-->

wordpress 3.0 documentation for wordpress developers

We all know wordpress 3.0 beta is out and wordpress 3.0 will be out in May 2010. You can find the list of many of the enhancements and fixes.

wordpress 3.0 documentation for wordpress developers

wordpress 3.0 documentation for wordpress developers
wordpress 3.0 documentation for wordpress developers

All wordpress developers are looking for wordpress 3.0 documentation for development.

The WordPress 3.0 Codex is very good place to start working on wordpress 3.0

http://codex.wordpress.org/Version_3.0

Here I am giving the list of major changes of wordpress 3.0

* New menu management feature
* Improved custom post types (try the Custom Post Type UI plugin to see the possibilities)
* Improved custom taxonomies including hierarchical (category-style) support (again, try the Custom Post Type UI plugin to see the possibilities)
* New theme “Twenty Ten” is the only theme in the WordPress distribution, and is now designated the ‘fallback’ theme
* Improved child theme support; child theme use is highly encouraged and as described in the Child Themes article, very simple to accomplish
* The Default (Kubrick), and Classic themes, are no longer included in the WordPress distribution, but are available in the Theme repository
* Bulk theme update ability
* Standalone WordPress and WPMU code merged (Note: extra domain stuff remains plugin territory for this version)
* Configure a Network (multisite/WPMU) using wp-config.php file

What is surprise me feature in wordpress

After every new release, wordpress users want to know new features What is surprise me feature in wordpress and “what is exactly use of surprise me feature”

What is surprise me feature in wordpress

Yesterday wordpress started new feature in there CMS. which is called surprise me. That is really coll feature. Many wordpress users want to know about this features “what is this feature” and “how to use this feature” and “what is exactly use of surprise me feature”.

In this article I will tell you how to use surprise me feature and what is benefits and uses of surprise me feauture.

go to following URL and login to your wordpress.

http://dashboard.wordpress.com/wp-admin/users.php?page=grofiles-user-settings

What is surprise me feature in wordpress
What is surprise me feature in wordpress

If you’re open to new things and serendipitity in your blogging life try leaving it on as you go about your normal blogging activities of posting, commenting, checking your stats, and such, and see what pops up.

Still I am looking what more this surprise me feature is doing in wordpress. I am really excited what is this feature doing in future.

how to add a favicon to your wordpress site

In this tutorial we will show, how to add a favicon to your wordpress site, If you want to add the favicon image in your wordpress website that is really easy.

First use any photo editing tool like photoshop or gimp for creating the favicon image.

how to add a favicon to your wordpress site

how to add a favicon to your wordpress site
how to add a favicon to your wordpress site

To create the favicon image you should follow following rules

  1. By cropping or adding space around the image, make the image square.
  2. Resize the image to 16 x 16 pixels.
  3. Save the file as favicon.ico

Open your active wordpress theme and put favicon.ico image file in that folder or using ftp client you can put favicon.ico file in theme folder. After coping the favicon image file in theme folder. Open your header.php file from wordpress theme folder. and Put following code in that file.

 

 <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" type="image/x-icon" />

Dont forget to put above code under head tag. Now your are set and changed the favicon from your wordpress site. To see the new favicon image you should clear your browser cache.