Google Adsense Section Targeting With Thesis Theme

Are you using the great Thesis theme and looking for targeting Google Ads the you are at right place. What this does is it tells the adsense bot to ignore everything other than the post content which really is the meat of the blog. And the Adsense bot is intelligent enough to override section targeting if it wishes so you don’t lose a thing like the blog title and SEO etc. focused on Adsense targeting.

Adsense Section Targeting

Section targeting is an adsense approved method of telling the ad serving algorithm which parts of your websites to pay attention to and which parts to ignore. Because blogs sometimes have a lot of extraneous info, non essential keywords, or low profit keywords on them, Adsense isn’t always as profitable as it could be. However by telling Adsense to use only the contents of the post for determining which ads to show AND (that’s a big and) putting the ads in that section, you usually get the combination of on target ads that are going to generate the most profit.

It goes at the end of the custom_functions.php file in Thesis theme. Here’s the new code I use.

//adsense targeting functions
function open_adsense_targeting()
{
?>
<!-- google_ad_section_end -->
<!-- google_ad_section_start -->
<?php
}

function close_adsense_targeting()
{
?>
<!-- google_ad_section_end -->
<!-- google_ad_section_start(weight=ignore) -->
<?php
}

function ignore_adsense_targeting()
{
?>
<!-- google_ad_section_start(weight=ignore) -->
<?php
}

function end_adsense_targeting()
{
?>
<!-- google_ad_section_end -->
<?php
}

add_action('thesis_hook_before_html', 'ignore_adsense_targeting','10');
add_action('thesis_hook_before_header','open_adsense_targeting','9' );
add_action('thesis_hook_after_header','close_adsense_targeting','8' );
add_action('thesis_hook_before_headline','open_adsense_targeting','10' );
add_action('thesis_hook_after_post', 'close_adsense_targeting','10');
add_action('thesis_hook_after_html', 'end_adsense_targeting','10');

Thesis Tutorial SEO Guide

You may know nothing about SEO or how search engines function. That does not mean SEO does not know about you. And you know more about the principles of “SEO” than you think.

The Ultimate Guide to Thesis SEO

Thesis includes its own SEO options, eliminating the need for multiple SEO plugins. I wrote this as the Ultimate Guide to Thesis SEO.
Once you’ve installed Thesis, you can modify various SEO settings in the Thesis Options under Appearance in your WordPress admin.

Title Tag

You can decide whether to show the site name or the site tagline in the title tags for your blog’s home page, or both, and in what order. These settings are only for the home page and not for single post pages or other blog pages.

thesis-head-seo

This matters, because Google places a lot of importance on what thetag has in it. To search engines, a document’s title is the primary indicator of its contents. In Thesis, what you call your blog and use for the blog tagline may become your blog’s title tag content. Title tags are often (but not always) used by Google as the main link text in a search result.

I would only show the tagline if it’s short and has more important keywords than the site name. For instance, if a site name is a brand name instead of a keyword, but if keywords are in the tagline, then consider showing the tagline in addition to the site name.

Google is sensitive to what appears natural (and seems to be growing more sensitive to this by the week). The most natural “non-SEO” way to do titles is to have the site name first (and often as the only thing).

Keyword-heavy titles are a no-no, precisely because to Google it looks like you’re trying to artificially boost your search rankings. Notice I didn’t say no keywords. Keep it light and keep it real. Get maximum keyword authority by availing yourself of link services from a trusted SEO service provider.

 

Append site name to page titles

Checking this box in your Thesis options sticks the name of your blog after the titles of pages and that include single post pages. It’s common now to exclude the site name on other pages, and for blogs especially to exclude site name from single post pages. I don’t think this is a smart idea, for two reasons:

It’s more natural and non-SEO-ish to include the site name, and faking naturalness is the paradoxical name of the game where Google is concerned.

If it’s good for people, it’s usually good for SEO.
For me the bottom line with appending site name to page titles or not has to do with brand-building and being user-friendly. Page names without any site names would make your browser history, back button, and tabs more difficult to use, not easier.

Thesis also lets you choose the text separator character placed between blog name and tagline. By default it is a hyphen. Any common character is fine, such as colons or pipes, which look like this: | (a simple vertical line, it is shift+backslash on your keyboard).

Home Page Meta

Meta tags for SEO are the meta description and meta keywords. Except it’s really only just the description. Google and most other search engines pay little to no attention at all to the meta keywords because of past abuses by site owners. However, the meta description becomes the descriptive text below a result link in search engine results pages (called SERPs), so what you write in it is very important. You have to keep it short: about 150 characters or less (use twitter’s “countdown” feature in the tweet box if you don’t want to count characters yourself).

thesis-home-meta

Whatever you create for your blog’s name, tagline, and home page meta description are going to have a big impact on what your blog’s home page gets found for in search, and whether or not people will actually click on its entry in the results pages when it appears.

Add Noindex to Archive Pages

Google sends its trusty Googlebot search engine spider to crawl the web and add pages to the Google search index. You have control over what Googlebot sees by controlling which pages are added to Google’s search index. These search spiders are also called robots.

thesis-noindex

Why would you not want Google to add all of your blog archive types to its index? Because if there is more than one URL for the exact same blog post, then Google will see those URLs as separate, individual web pages that have the exact same content in them. This creates what SEOs refer to as “duplicate content.” The real problem with this is that you are now competing against yourself and these URLs are weaker than one big strong URL would be. In other words, Google likes an obvious main choice.

So you really only want one type of archive pages to be indexed by Google. Which one you pick could depend on how you have your blog’s permalinks set up.

If you’re using category-based permalinks like this: http://domain.com/category/postname/, then you want to uncheck category noindex. If you’re using typical date-based pretty permalinks like this: http://onlinewebapplication.com/year/month/day/postname/, then uncheck the daily archives noindex.

It’s also worth noting that checking boxes does more than noindex these archive pages: it also nofollows them. Not only will the pages not be in Google’s search index, their links will not be followed (seen, really) by Googlebot to their destination (think of it as “blocking the exits” but only for search engine spiders).

Canonical URLs

You want this. This is a brilliant feature in Thesis. Canonical URLs tell search engines which URL for a post is the one you want it to see. This is done through a link tag in the head of the HTML:. So a link to:http://remarkablogger.com/2009/06/11/frugal-theme-review/#comment-98707 would actually be seen by a search engine as http://remarkablogger.com/2009/06/11/frugal-theme-review/.

Optimizing at the Page/Post Level in Thesis

When you write a post or a page and you’re using Thesis, you have many great SEO options at your command.

Custom Title Tag

You can supply a custom title that is different from the post’s main headline. You should use this… but not like you’re probably thinking. Here’s the thing: there is nearly no difference between a headline that’s great for SEO and a headline that’s highly attractive to people. Having gobbledegook title tags that are “SEO optimized” is an outdated strategy.

When you submit a post to any social media service, the title tag is used to create the headline for the item on the social media service. So if your title is different from your blog’s headline, this could create a problem. The title tag has to be a great headline, so it should be the headline. And of course, titles (not headlines) are what Google uses as the headline link in search results pages. So, even in search, the headline does all the work of pulling people in.

In other words, what I’m really saying here is take the time to create killer headlines for your blog posts that are so good, you won’t have to use the custom title tag feature in Thesis.

Meta Description

Same deal as meta description for the blog’s home page mentioned above, except this time it’s for this individual page or post. The character limit (about 120-160) is short. What you write here matters. Google bolds keyword matches in this text in search results pages (also for titles). Do not needlessly repeat keywords in the meta description–once is enough, really.

Meta Keywords

Fairly useless, but if you feel you must, put about 3 to 10 keywords here.

Noindex this Page

Checking this box essentially tells Google and other search engines: “Hey, don’t bother adding me to your search index, I don’t want to be found.” In other words, the entire page or post will not exist for Google (and for the world, essentially).

Post Image Alt Text

You can supply a post image in the Thesis single post options that is treated differently than placing the image directing in the post content, which is one of the coolest features of Thesis. This alt text is designed to be used by assistive technologies which allow the disabled to browse the web. Making this text target important keywords for your blog can help your SEO (so does accurate image file naming).

Excerpt

You should write unique, original material in here that is not the same text as your meta description.

Thesis Theme Add Google Adsense Before After Post Without Plugin

Thesis is a great theme that takes some getting used to. Even with the great tutorials available, it took me a little time to add Adsense to the Thesis Theme because I did not find an article on doing exactly that.

Adding a variety of Ads to your blog design is a smart and intelligent way to diversify your blog’s advertisement portfolio.

wordpress-logo

This post is for the people who’s don’t like to use any Plugin for showing Google Adsense Before-After Post in thesis theme.

Showing Adsense before post and after post is good idea to get maximum clicks.

Please take backup of Your Current Theme Functions (custom_functions.php)Before editing !

How To Add Google adsense Before-After Post Without Plugin

First of all copy your Google Adsense code which look like below:


<!--
google_ad_client = "pub-000000000000000";
/* 300x250, created 3/15/11 */
google_ad_slot = "0000000000";
google_ad_width = 300;
google_ad_height = 250;
//-->

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

Open your Dashboard go to –>Thesis –>Thesis Custom File Editor–>custom/custom_functions.php

Before Post:

Copy Below Php code and paste inside custom_functions.php


function my_google_Ad() {
if (is_single()) { ?>
<!--
google_ad_client = "pub-000000000000000";
/* 300x250, created 3/15/11 */
google_ad_slot = "0000000000";
google_ad_width = 300;
google_ad_height = 250;
//-->

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
<?php }
}
add_action('thesis_hook_before_post', 'my_google_Ad');

After Post:

Copy Below Php code and paste inside custom_functions.php


function after_post_ad() {
if (is_single()) { ?>
<!--
google_ad_client = "pub-000000000000000";
/* 300x250, created 3/15/11 */
google_ad_slot = "0000000000";
google_ad_width = 300;
google_ad_height = 250;
//-->

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
<?php }
}
add_action('thesis_hook_after_post', 'after_post_ad');

Now click on save button and check your Website.If you done everthing right you ads will be be start showing on Before and After Post of your blog.

I will be happy to see your comments

Add Google Adsense Link Unit Below Header Image In Thesis Theme

In my site I have used google adsense link unit. Google Adsense is Leading Ads publisher network available on Web.You can earn thousand of Dollars form Adsense .The only thing which you need do is place your ads on right place.

In this article we will see that how to add adsense link unit below header image in thesis theme.

google_link_unit

To place the Google adsense link unit below the header image, add new unit in your account 728*15, change the background and other styles as per your website. Get generated code which will be like below –

 

just copy code below and paste under your custom_functions.php.Don’t forget to take backup of yourcustom_functions.php before modifying.

google_link_unit-code-image

function add_googe_menu(){
?>
<div class="google_add">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-00000000000000";
/* Add Header */
google_ad_slot = "000000000";
google_ad_width = 728;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php
}
add_action('thesis_hook_after_header', 'add_googe_menu');

Click on save button. Now copy below css code and paste in to your Custom.css

 /**** Google Add ****/ 
/**** Google Add ****/
.google_add
{
	width:100%;
	float:left;
        font-size:18px;
	text-align:left;
	background:#CC0000 none repeat scroll 0 0;
        font-weight:bold;
	text-decoration:none;
        height: 25px;
        padding-top: 5px;
}

Click on save button

You can change background color, text color as per your requirement.

 

 

Thanks to visit Tech Blog. I will very happy to reply your any questions. Please comment

Thesis Style Box in Action
How to add Breadcrumbs in Thesis Theme for SEO Friendly Navigation
Pagination in Thesis theme WordPress

Thesis Style Box in Action

Thesis theme is the best WordPress theme. I love this. I was looking for alert with different style for different notes. You can customize your code to display information in the post as alert. But the Thesis Style Box makes my life easy.

Thesis comes with inbuilt feature  to style your blog post and by adding few line of codes you can style your single post or pages and you can make it look more appealing.

Thesis Style Box is a free wordpress plugin to make Styled Note box, Alert box, Help box, Tip Box, Important Box in your posts using classes for Thesis Users.

This article will describe about the download, installation and implementation of thesis style box. Believe me its easy and fantastic.

 

Download: Download Thesis Style Box and FAQ

Installation

To install the plugin follow these steps :

1. Download the thesis-style-box.zip file to your local machine.
2. Unzip the file
3. Upload “thesis-style box” folder to the “/wp-content/plugins/” directory
4. Activate the plugin through the ‘Plugins’ menu in WordPress


thesis style box image

 

Usage

Use the following codes to make different styled boxes

thesis style box usage

Please post your comment for any queries !

How to add Breadcrumbs in Thesis Theme for SEO Friendly Navigation

Breadcrumb is very useful for WordPress SEO purpose. More SEO people says that breadcrumb is one of the parts of WordPress SEO. So I am posting this topic for WorPress thesis users.

Do you wants to add breadcrumbs in your thesis theme. Believe me this will increase your blogs SEO, please follow below tutorials steps –

breadcrunb thesis theme

breadcrunb thesis

Step 1:

Copy and paste the following code to your thesis custom_function.php file.

function breadcrumbs_no_front_page() {
if (is_front_page());
else {
global $post;
?>
<div id="breadcrumbs">
<a href="/">Home</a> &gt; <?php the_category(' '); ?> &gt; <?php the_title(); ?>
</div>
<?php
}
}

add_action('thesis_hook_before_content', 'breadcrumbs_no_front_page');

Step 2:

Copy and paste the following code to your thesis custom.css file.

.custom #content_area #breadcrumbs {
    float: left;
    font-size: 11px;
    font-weight: normal;
    line-height: 25px;
    width: 94.9%;
    padding-left:5px;
    margin-left:15px;
    background:#eee;
    border:1px solid #ddd;
}

 

Please post your comment for any queries !

How to Add Custom Backgrounds in Thesis Theme

For changing background in custom theme there is no option in design option. Using the custom css easily you can change the back ground.

How to Add Custom Backgrounds

In the following tutorial, you’re going to learn about the code that makes this happen, and you’ll even be able to download a background “starter kit” that you can use to hit the ground running. Bad puns aside, if you’re ready, read on!

How Thesis Backgrounds Work

Out of the box, Thesis comes equipped with a markup structure that can accommodate background changes with ease. Three HTML elements are involved in the production of the background:

<body class="custom">
<div id="container">
<div id="page">

By adding just a few lines of CSS to your custom stylesheet, you can modify the above elements to create some pretty excellent background color, border, and page color combinations.

Download Your Custom Background Starter Kit

To begin, you’ll want to download the custom background starter kit, which contains the following:

  • custom_backgrounds.css — a file containing six sets of CSSdefinitions that produce different backgrounds
  • /custom_images — a folder containing 5 custom images used by the code incustom_backgrounds.css

Although the /custom_images folder is optional and is not required to change your background, it does contain images that are required by 5 of the 6 styles included in the starter kit. The second part of this tutorial assumes that you have uploaded these files to your server, so you may want to take that into consideration as well.

If you choose to upload the custom images to your server, you’ll need to place them inside the /custom/images folder. Don’t do anything with that custom_backgrounds.cssfile just yet—you’ll need it for the next section of the tutorial.

To clarify, the only files from the background starter kit that should end up on your server are the images contained in the /custom_images folder. When you actually upload them to your server, you should place them inside the /custom/imagesfolder.

Styling Backgrounds with Custom CSS

To illustrate how you can style your background, let’s look at an example from thecustom_backgrounds.css file contained in your starter kit. Set 1 from that file contains the following code:

body.custom {
    background: #44443f;
}

.custom #container {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 0.3em;
    background: #33332f;
    border: 0.4em solid #3e3e3a;
}

.custom #page {
    background: #fff;
}

Copy and paste that code into your custom.css file, and you’ll notice that your site now looks like Figure 1, which appears below.

Please note that I’ve added some text to the figure to help explain what each CSSdefinition does. Also, the top and bottom margins in the image are not drawn to scale.

As you can see, just a few lines of CSS can really affect the look and feel of your site. And if you really want to get crazy, you can take this concept a step further by incorporating an image into your background.

 

Please post your comments for any queries !

 

 

Pagination in Thesis theme WordPress

I HAVE USED THESIS THEME IN MY BLOGS. Currently there are no paging like 1,2,3 … in thesis theme. Previous and Next concepts are there.

In this tutorial, we will see How to Setup Pagination on the Home Page of your Blog or Website running on the Thesis Theme for WordPress.

Pagination helps to decrease bounce rate of website or blog and thesis does not comes with pagination so it’s not good in the terms of SEO so here is how to add pagination in Thesis.

 

You will need Wp Page Navigation Plugin to add pagination in Thesis wordpress theme.To add pagination in Thesis download and install Wp Page Navigation Plugin from wordpress plugins repository 

 

Below are the steps to add pagination in Thesis theme:

  • Login to your FTP Account using FTP client
  • Navigate to Thesis Theme Folder in wp-content/themes/ folder
  • Rename Custom Sample folder to Custom
  • Now Login to admin panel of your blog
  • Select Custom File Editor option in Thesis options menu in admin panel of your blog
  • Choose  custom_functions.php and click Ediit selected file button
  • Paste the code below in the file editor
  • 
    
    
    function pagination_below () {
    
    ?>
    
    <div align="left">
    
    <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
    
    <br />
    
    </div>
    
    <?php
    
    }
    
    add_action('thesis_hook_before_footer', 'pagination_below');

  • Then Click The Big Ass Save button and you are done.

 

Adding pagination to your blog or website will help you to lower down your blog bounce rate.