If you want to use smiley images in wordpress posts then you can use our tricks. Here in this article, we given sample and trick for using smiley in posts.
Follow our steps.
Find your smiley image files in the /wp-includes/images/smilies directory and back them up to another directory
Note the names of each smiley file. Your files must match these names and should be in the same ‘gif’ image format.
For predictable behavior, the image sizes should be similar.
Upload your new files to the /wp-includes/images/smilies directory with an FTP program.
How to use smiley images in wordpress posts
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.
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
Smileys, also known as “emoticons,” are glyphs used to convey emotions in your writing. They are a great way to brighten up posts.
By default, WordPress automatically converts text smileys to graphic images. When you type 😉 in your post you see 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.
Go to your Admin Panel
Select Settings -> Writing
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.
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
🙂
🙂
🙂
😆
😀
😀
😀
😳
🙁
🙁
🙁
😥
😮
😮
😮
👿
😯
😯
😯
😈
😕
😕
😕
🙄
8)
😎
😎
❗
😡
😡
😡
❓
😛
😛
😛
💡
😐
😐
😐
➡
😉
😉
😉
* 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 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
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.
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
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/
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
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
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.
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.
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.
From wordpress 2.7 version wordpress introduced the new feature called sticky post. Sticky post will give you ability to show the most popular or your favorite post always top of the posts.
how to pull sticky post from wordpress
Sticky post feature is very nice for wordpress theme developer. Here I will show you how to create sticky post in wordpress.
When you are creating the new post or editing the wordpress post you can choose the stick ths post option. This is very simple way to create the sticky post.
If you want to some good styling to post then use following css code. Just open your style.css file from your template.
In this article, we given code and shown you. How to hide update message from wordpress admin panel. Some times Admin update message are interpreting on dashboard.
When new wordpress version came. we got a message in wordpress admin panel as follows:
WordPress ….. is available! Please update.
How to hide update message from wordpress admin panel
Many people does not want to see that message or hide this message from wordpress admin panel
Just Open functions.php file from wordpres theme and put following code in that file:
Many person does not know importance of robots.txt file and how to use robots.txt file in wordpress. robots.txt file is important as per search engine. The robots.txt file is very important as per search engine and SEO prospective.
how to use robots.txt file in wordpress
What is robots.txt file?
Robots.txt is a text (not html) file you put on your site to tell search robots which pages you would like them not to visit. Robots.txt is by no means mandatory for search engines but generally search engines obey what they are asked not to do.
In wordpress you should put robots.txt file. you can use following code in robots.txt file and put that file under your ROOT directory( wordpress main folder)
Important Note: if you are using the QA or testing enviourment then put following lines in your theme header.php file. You can put the domain name condition also.
You should not disallow the images and comments also because that is more important for SEO purpose. I recommend to use always good permalink structure for your wordpress installation.
Many wordpress developers and PHP developers who are new in to wordpress development. They really searching for how to add a dynamic or multiple side in wordpress theme. many sidebar or widget are very important to add in any wordpress theme for seo purpose also so you can add the widgets using our code sample.
register multiple sidebar in wordpress
Many wordpress developers got requirement to add separate sidebar for each page or any specific page and that sidebar need to be controlled by wordpress admin.
In this tutorial I will show you how to simply add the multiple or dynamic sidebar to wordpress theme. I really think creating the or putting separate css and options in the sidebar and admin has no control over the sidebar.
Just use my code to create the multiple sidebar in wordpress theme. This following function is provided by wordpress api only. Open your functions.php file from your wordpress theme folder
<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php
if(function_exists('register_sidebar'))
register_sidebar(array(
'name' => 'Home Page', // The sidebar name you can choose as per your choice to register
'before_widget' => 'PUT YOUR OPENING CSS DIV AND CSS CLASSES AND IDS HERE',
'after_widget' => 'CLOSE THE DIV',
'before_title' => '<h2>',
'after_title' => '</h2>',
));
?>
This is sample code for multiple pages your can use following code:
<!--?<span class="hiddenSpellError" pre="" data-mce-bogus="1"-->php
// Home Page sidebar
if(function_exists('register_sidebar'))
register_sidebar(array(
'name' => 'Home Page',
'before_widget' => 'PUT YOUR OPENING CSS DIV AND CSS CLASSES AND IDS HERE',
'after_widget' => 'CLOSE THE DIV',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
// Blog Page sidebar
if(function_exists('register_sidebar'))
register_sidebar(array(
'name' => 'Blog Page',
'before_widget' => 'PUT YOUR OPENING CSS DIV AND CSS CLASSES AND IDS HERE',
'after_widget' => 'CLOSE THE DIV',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
// Contact us Page sidebar
if(function_exists('register_sidebar'))
register_sidebar(array(
'name' => 'Contact Page',
'before_widget' => 'PUT YOUR OPENING CSS DIV AND CSS CLASSES AND IDS HERE',
'after_widget' => 'CLOSE THE DIV',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
// About us Page sidebar
if(function_exists('register_sidebar'))
register_sidebar(array(
'name' => 'About us',
'before_widget' => 'PUT YOUR OPENING CSS DIV AND CSS CLASSES AND IDS HERE',
'after_widget' => 'CLOSE THE DIV',
'before_title' => '<h3>',
'after_title' => '</h3>',
));
?>
Here is Big question, How can you call the different sidebars and manage it. Go to wordpress admin and you will find and four side bars present in widgets sections as per this code. You can just drag and drop the widgets as your choice.
Open your sidebar.php file put following code in that file.
Many times wordpress developer got requirement to remove the blog or category word from wordpress url. Code for remove blog or category word from wordpress.
how to remove blog or category word from wordpress URL
Many people and wordpress developer want to remove the blog or category wordpress from URL. This is really good for seo also. Many times wordpress developer got requirement to remove the blog or category word from wordpress url.
In this tutorial I will let you know how can you easily achieve this requirement. There is two-way to achieve this requirement. You can use the .htaccess file for fulfill this requirement.
Note: Apache mod_rewrite rule is must enable to with your Apache web server.
Open your .htaccess file which is present in your root folder of web hosting server. If not then create this file put it.
You can use the permanent redirect rewrite apache rule to achieve this. open your .htaccess file put following lines in that file
RewriteEngine On
RewriteBase /
#This rewrite rule we added for removing the category wordpress from URL
RewriteRule ^category/(.+)$ http://www.purabtech.in/files/$1 [R=301,L]
#This rewrite rule we added for removing the blog word wordpress from URL
RewriteRule ^blog/(.+)$ http://www.purabtech.in/files/$1 [R=301,L]
You can achieve this by changing in the code also. Use the following code do this changes. Open your theme folder and functions.php file and put following code in that file.
If you are creating the bigger post then I recommend to in post pagination. Post pagination is supported by wordpress itself. Many people does not know about this facility of wordpress.
When you are writing the wordpress post just put <!–nextpage–> tag in your post. So from there next paragraph content will be show on next page but post will be same.
What is in post pagination?
WordPress tag similar to the more tag, except it can be used any number of times in a post, and each insert will “break” and paginate the post at that location. Hyperlinks to the paginated sections of the post are then generated in combination with the wp_link_pages() or link_pages() template tag.
If you are using the <!–nextpage–> tag in bigger post then wordpress post loading will more faster to your users.
Here I am going to tell you about <!–more–> tag also. This tag is also very nice and good for showing some starting content of post.
What is more tag?
WordPress tag that breaks a post into “teaser” and content sections. Type a few paragraphs, insert this tag, then compose the rest of your post. On your blog’s home page you’ll see only those first paragraphs with a hyperlink ((more...)), which when followed displays the rest of the post’s content.