Image Source: http://paymentmagnates.com/

Image Source: http://paymentmagnates.com/

Introduction:

Twitter is an online micro-blogging service which allows you to publish and read short 140-character text messages published by Twitter users which are called tweets. You must need to create an account to post your tweets however if you are not registered Twitter user then you have only access to read tweets but cannot publish your own tweets and views regarding some topic. You can access Twitter via twitter.com or via mobile device app both works fine in order to post and read tweets out there on Twitter.

Uses:

Twitter is a source to communicate with each other where people publish tweets and in return they get replies on their published tweets from other Twitter users about what they think regarding the same topic. You can use it to share news by just tweeting 140 character + link to the actual news page.
However, the best part of Twitter is that it uses #Hashtags that will automatically create a page about the news and whenever someone else publish the tweet regarding the same news tweet that have already been published, the tweet will be added to the #hashtag page automatically that will give users a complete details about the news from one single #hashtag page.

Advantage:

There are many advantages of using Twitter but the main advantage of using Twitter is “its free micro-blogging platform” that help us in every single day to find new things, reading news, or messaging someone via tweeting. So far, I’ve found Twitter is my life companion that help me every day. I love it.

Suggestion:

You can use Twitter for fun, chatting with friends by tweeting and my suggestion to you is that switch down your mobile phones and start using Twitter for communication because it enhance your internet experience and the way we live in our life.

Thank you.

My name is Justin Paul and you can visit my homepage at http://99hostgatorcoupon.com. To create you own website you can use HostGator as your webhost and register your domain name and start working on it. Or if you are worried about HostGator you can read the pure HostGator review over at my site.

Twitter, Twitter, Twitter hell we know what is Twitter and what it does? But the main part of writing this article is about sharing this informative information about how to add Twitter tweets widget in WordPress and display Twitter follow button in WordPress. In this article, we’re going to show you how to add twitter tweets and follow button in WordPress.

First thing you need to do is install and activate Twitter Tweets WordPress plugin to add a widget in your WordPress blog and start displaying the latest tweets from synchronized Twitter accounts. Twitter tweets plugin allows you to set your twitter account widget Id & twitter username so easily. Everything is customizable even you can apply custom height, auto expand tweets images, custom link URL color, On / Off tweets reply etc on your Twitter widget.

Features

  • Twitter Tweets Widget
  • Widget Customization Settings
  • Widget Title
  • Widget Theme Option
  • Set Widget Height
  • Tweets URL Link Color Option
  • Show/Hide Tweets Reply
  • Add Follow Button
  • Submit Your Tweet live on your website
  • Re tweet and choose your favourite tweets
  • Auto Expand Photos in Tweets
Twitter Tweets WordPress

Twitter Tweets WordPress

Author bio: This article is contributed by John David from Best HostGator Coupons, he shares 100% working and updated HostGator coupons that gives highest discount on HostGator hosting plans.

You means, why no-follow tag on external links? Let me explain it.

The rel=”nofollow” tag on external links ensures that the search engine indexing your site (such as Google or Bing) does not follow those links and associate them with your site’s rankings.

However, Matt Cutts says that we shouldn’t be worrying too much about which links to follow or ‘nofollow’ as Google’s search ranking algorithms are changing everyday and the old school methods of ‘fooling’ a search engine are long gone.

Add Nofollow Tag on External Links in WordPress

To add rel=”nofollow” tag on external links in WordPress you should add the following code in your functions.php:


add_filter( 'the_content', 'addNofollow_url_function');

function addNofollow_url_function( $content ) {

$regExpression = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>";
 if(preg_match_all("/$regExpression/siU", $content, $matches, PREG_SET_ORDER)) {
 if( !empty($matches) ) {

 $targetUrl = get_option('siteurl');
 for ($i=0; $i < count($matches); $i++)
 {

 $tag = $matches[$i][0];
 $tag2 = $matches[$i][0];
 $url = $matches[$i][0];

 $noFollow = '';

$pattern = '/target\s*=\s*"\s*_blank\s*"/';
 preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);
 if( count($match) < 1 )
 $noFollow .= ' target="_blank" ';

 $pattern = '/rel\s*=\s*"\s*[n|d]ofollow\s*"/';
 preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);
 if( count($match) < 1 )
 $noFollow .= ' rel="nofollow" ';

 $pos = strpos($url,$targetUrl);
 if ($pos === false) {
 $tag = rtrim ($tag,'>');
 $tag .= $noFollow.'>';
 $content = str_replace($tag2,$tag,$content);
 }
 }
 }
 }

 $content = str_replace(']]>', ']]&gt;', $content);
 return $content;
}

Or if you are afraid or using any theme framework like Genesis, Thesis, or any other framework you should use this plugin.

If you are looking to remove comments section from your WordPress theme and I’ve got really way to do this within a couple of minutes. And I hope this make sense. There may be a couple of reasons about why you want to remove comments section from your WordPress theme etc. In this article, I’ve shared a pretty good technique about removing comments section for any WordPress theme.

Let me know if you want to remove comments from only Pages or Posts. However, both are same, the difference is only in the theme files that we are about to edit.

All we need to do in order to remove comments from WordPress, is to simply trigger out the following WordPress core template tag (‘comments_template()‘), like so. The files you need to edit to remove the following template tag from your WordPress theme are (single.php and page.php).

<?php comments_template(); ?>

So, If you want to remove comments section from your blog posts simply remove the comment template tag from single.php for pages just edit the page.php file.

In this article, we will show you about how we add extra content before or after each post in WordPress easily. It’s really easy to add an extra content of your desire at the end as well as at the starting of the posts in WordPress.

There are couple of ways that you can do it, but the one that we are going to show you guys is really easy to understand and actually makes sense.

Let me tell you that in this article we are going to use a filter hook (‘the_content‘) that will actually allow use to add extra content at the end as well as at the starting of each post.

Here is the complete code:

function ex_extra_content($content){
if(is_single()) {

$content .= '<strong>Thank you for Reading.. </strong>';
}
return $content;
}

add_filter('the_content','ex_extra_content');

Let me tell you that what we have just done in the above  code.

So, first of all we created a function with the help of:

function some_name_of_function(){}

Make sure that your function name should be unique so it will not conflict with the WordPress and other plugins’ functions because while loading the site WordPress execute every single function of a website if it find one or more functions of the same name then one of the function will be loaded but the other one won’t. So, name your plugin functions clearly.

And then after creating the unique function we added the parameter of WordPress core $content to let WordPress know about where we want our function to work.

function some_name_of_function($content){}

Afterwards, we specify the WordPress about where we want our function to work by using the conditional tag of WordPress “is_single()” which will further tell WordPress we want to execute our function only on Posts. And if we use “is_singular” conditional tag then the function will be executed on both Pages, Posts but as we want to add extra content (such as “Thank you for Reading…”) only on posts we will use “is_single()” conditional tag simply.

if(is_single()) {

Now,  after using conditional, we simply concatenate the current post $content + extra content by using the following line of code:

$content .= '<strong>Thank you for Reading.. </strong>';

After doing this, we tell WordPress to return the only content on the webpage if something went wrong by using return $content;.

Finally, we activate our function by using the filter hook “the_content” where ex_extra_content is our custom function that we want to work on each single post page:

add_filter('the_content','ex_extra_content');

In this article, I’ll show you how we actually go into loading a stylesheet in WordPress which you might need to know if you are developing custom themes or plugins for WordPress.

However, if you are looking to load stylesheet in WordPress, you can simply use the following php code in your WordPress theme’s functions.php file:


function guideplease_loading_stylesheet(){

wp_enqueue_style('guideplease-styles', plugin_dir_url( __FILE__ ) . 'css/guideplease-styles.css');

}
add_action('wp_enqueue_scripts', ' guideplease_loading_stylesheet');

Well, let me explain it a little bit more for easy to understand.

So, first of all we created a function with the help of:

function some_name_of_function(){}

Make sure that your function name should be unique so it will not conflict with the WordPress and other plugins’ functions because while loading the site WordPress execute every single function of a website if it find one or more functions of the same name then one of the function will be loaded but the other one don’t. So, name your plugin functions clearly.

Now, we add/enqueue a CSS style file to the WordPress generated page with the help of wp_enqueue_style() function. It’s a safe way of loading CSS file in the <head> section of WordPress blog. wp_enqueue_style() takes two parameters the first one is the name of the CSS file that you give to your funcitons style.css file and the others being plugin_dir_url ( __FILE__ ) that will actually allow us to retrieve the URL or the file path from the current directory like so…

wp_enqueue_style('guideplease-styles', plugin_dir_url( __FILE__ ) . 'css/guideplease-styles.css');

Finally after doing all above we have an action hook that connect the function and make them work with WordPress. Here what I’m talking about:

add_action('wp_enqueue_scripts', ' guideplease_loading_stylesheet');

Where wp_enqueue_scripts is the proper hook to use when enqueuing items that are meant to appear on the front-end. Like we did right above. So, finally and I hope you understand.