Wednesday 4 June 2014

How Can I Optimize My META Description - WordPress

 I’m glad you asked! Finally, we’ll get to those Conditional WordPress Tags I talked about earlier. Here is the code below:

<meta name=”description” content=”<?php if (have_posts() && is_single() OR is_page()):while(have_posts()):the_post();
$out_excerpt = str_replace(array(“\r\n”, “\r”, “\n”), “”, get_the_excerpt());
echo apply_filters(‘the_excerpt_rss’, $out_excerpt);
endwhile;
elseif(is_category() OR is_tag()):
if(is_category()):
echo “Posts related to Category:
“.ucfirst(single_cat_title(“”, FALSE));
elseif(is_tag()):
echo “Posts related to Tag:
“.ucfirst(single_tag_title(“”, FALSE));
endif;
else: ?><?php bloginfo(‘description’) ?>
<?php endif; ?>” />

Install this code in between your WordPress site’s <head></head> section in the ‘header.php’ file. Basically, this code will do a couple things.

If the search engine/user views your site’s individual pages or categories, the conditional WordPress tags kick in and tell the browser/webcrawler to grab the opening excerpt of your post/page and use that as the META Description tag.
If the search engine/user lands on the homepage, it will tell the browser/webcrawler to display the default Blog Description (which you specify on the ‘Settings’ page) as your META Description.

Tuesday 3 June 2014

Claim Google Authorship for Your WordPress Website

Hopefully you’ve already caught the importance of Google Authorship, the mechanism by which Google’s search engine rankings can be influenced byAuthor Rank.

If you haven’t, Google Authorship basically amounts to the biggest shakeup in search since the link. It’s Google’s way of identifying the author of a piece of content to factor it as a signal of content quality.
We realize that most writers and online publishers don’t have tons of time to sift through excessively geeky posts involving underlying website code (rel= “author” or rel=”me” anyone?).
Also, the process up until this point has been confusing, to say the least. Now, that tedious code and confusion is not necessary.

Easily Claim Google Authorship with the Genesis Framework for WordPress

It’s a truly exciting time for online writers because high-value content that attracts, entertains, informs, and engages enhances the author’s authority, instead of only page or site authority. This in turn will kick in the Author Rank effect, which are search signals that are directly associated with you.
If you’re using WordPress, you’re hopefully already running the newest version (3.5) on your site. Our StudioPress division just released a new version of the Genesis Framework for WordPress with a similarly streamlined feel.
Now, with the beautiful designs, SEO benefits, and added security of Genesis also comes an effortless connection to Google Authorship.
We’ve made it very easy to get Google to associate your content with your Google+ profile. Here’s how.

How to Setup Google Authorship in 3 Easy Steps 

1. Add Your Google+ Profile Link
Go to the edit user screen (and to your profile, if you have multiple authors) in your WordPress dashboard and scroll down until you see the option box for your Google+ profile link. Copy your Google+ profile link and paste it into the Google+ option box. Here’s my Google+ profile link, to give you the right idea:

2. Add a Google+ Contributor Link
Now you’ll need to add a reciprocal link back from your Google+ profile to the site(s) you just updated. You can do this by going to your Google+ profile page, and editing the “Contributor To” section.
In the dialog that appears, click “Add custom link”, and then enter your website URL. 
3. Test Your Google Authorship Connection
Finally, you’ll want to test that you accomplished the first two steps properly.
Thankfully, Google has provided a Structured Data Testing Tool to do the checking for you.