Showing posts with label bloggertips. Show all posts

Replace Threaded Comments With Google + Comments in Blogger

I hope that you might be familiar with the latest commenting system Google has introduced that integrates Google+ comments with Blogger blogs. This new commenting system is a major improvement over the default Blogger system, and it supports threaded comments. It also looks a lot better. We earlier shared a tutorial on how to enable this new Google Plus commenting system for Blogger blogs. But some people still have problems implementing it on custom templates. For them, we have compiled this short tutorial on how to effectively implement and use this new improved commenting system.

Switching To Google + Comments


To enable Google Plus comments for your Blogger blog, you will first have to connect your account to your Google+ account. To do this, just follow these steps.

  • Log into your Blogger dashboard, and choose a blog you want to connect
  • Click on the Google+ button from the left sidebar
  • Click on the Get Started button on the top-left side to connect your account. This will not appear if your account is already linked.
  • Follow the simple instructions to connect your blog.
  • Once connected, you will see an option Use Google+ comments on this blog. Checking this will enable the new Google Plus commenting system.
This will turn your Google Plus comments on for default templates. But it won't work for custom templates. For that, you will have to tweak your template source code and make some edits as instructed in the section below.

Displaying Google comments on custom templates

Custom templates have customized widgets that usually override the default settings. And that is why this commenting system might not work with custom templates. However, if you were to somehow remove those overrides, the commenting system would display on your blog without a hitch.

To do that, you can revert your Blog Widget to defaults in your template HTML editor via the following steps.



  • From inside your blog's dashboard, click on Template from the left sidebar.
  • Click on Edit HTML

(Before moving on, we'd suggest you backup your template, just in case anything goes wrong)
  • Click on the Revert Widget templates to defaults button
  • Now, Be careful to select Blog1 Widget from the list. Do not select any other, as it will reset other widgets to default as well.
All you have to do is replace a couple lines of code with another. From inside your HTML editor, press Ctrl + F and search for "threaded_comments". You will see a chunk of code as shown below.

<b:if cond='data:blog.pageType == & quot;static_page&quot;'>
   <b:if cond='data:post.showThreadedComments'>
      <b:include data='post' name='threaded_comments'/>
      <b:else/>
      <b:include data='post' name='comments'/>
   </b:if>
</b:if>
<b:if cond='data:blog.pageType == & quot;item&quot;'>
   <b:if cond='data:post.showThreadedComments'>
      <b:include data='post' name='threaded_comments'/>
      <b:else/>
      <b:include data='post' name='comments'/>
   </b:if>
</b:if>

 Carefully look at the bolded code, and then replace them with the following line of code.

<b:include data='post' name='comment_picker'/>

 If you want to display comment count, you can simply modify the above line of code

<b:include data='post' name='comment_picker'/>


 Still not working? Please feel free to mention your queries in the comments below. And please try to be as relevant as possible. Thank you :)

How to Enable Google + Comments on Custom Blogger Templates

Since we know that Blogger recently implemented Google Plus comments on their Blogger platform, and we know that many bloggers like you have gone ahead and implemented this new functionality to your blogger blogs. But a lot of our readers have been asking us how to add Google Plus comments, or Google Plus comments API  to Blogger custom templates? This feature turns on and off smoothly for default templates. But most bloggers don't use default templates. For them, we have compiled this short tutorial on how to implement Google Plus commenting system on custom Blogger Templates.

Enabling Google Plus comments

To Enable Google + Comments on blogger,first log into your Blogger account, and click on the blog you want to add Google Plus comments to. Now, click on the Google+ option on the left sidebar. You must be the admin of a blog to be able to view this option.

Now, you need to upgrade our account, and integrate it with Google Plus if you haven't already done so. You will get a "Get Started" button if you haven't. Follow the simple instructions, and then move on to the next step.

Check the option that says Use Google+ Comments on this Blog - For default templates, this is pretty much all you need to do.

For custom templates, here's what you need to do;


  • Click on the Template tab from the left sidebar, and then click on Edit HTML.
  • From the code editor, press Ctrl + F, and search for the following line of code
<div class='comments' id='comments'>


  • After the above code Just paste the Below Code.
 <div class='cmt_iframe_holder' expr:data-href='data:post.canonicalUrl'expr:data-viewtype=' data:post.viewType'/>


 Take care not to make a mistake while editing. And it would be a good idea to backup your template (Backup/Restore option at the top-right), just in case.

For comments to work on custom templates, you need to add the code as well as to enable it.

Six ways to improve your blog with Google+

Here are the Six things that a Blogger should know to improve his Blog














Add Google+ buttons and gadgets
Help readers to follow and share your posts on Google+ with the +1 button, Google+ badge and Google+ Followers gadget. Visit the Layout tab, click "Add a gadget" and select the Google+ gadgets that you'd like to add.
  


Manage comments in one place
Turn on Google+ Comments to bring comments on your posts together in one place, including posts about your content in Google+.


Share your posts with a new audience
Share your blog posts publicly on Google+ and encourage your readers to re-share. Add hashtags when you share to tie your posts to relevant themes and trending topics, increasing their visibility.
  


Connect with readers face to face
Host a group video chat conversation with your readers in a Google+ Hangout. You can live-stream it and post the final video on your blog.

Participate in Google+ Communities related to your blog. You can meet people interested in similar subjects and discover new topics to cover.



Spark up conversations with Google+ mentions
Add Google+ mentions to your posts to get someone's attention. Your mention will link to their Google+ page or profile, and you can notify them when you share.


Bringing Google+ Comments to Blogger


Reading and responding to comments can be one of the most rewarding aspects of blogging. Not only do they help you connect with your readers, they can also inspire later blog entries. The challenge, oftentimes, is following all the conversations around your content—on Google+, for instance, as well as on your website. So we're making things a lot simpler.

Starting today, you can bring Google+ Comments to your Blogger blog. Once you've enabled the feature through your Blogger Dashboard, you'll enjoy a number of important benefits:

View your blog and Google+ comments, all in one place

Now when you're browsing your blog's comment threads, you'll see activity from direct visitors, and from people talking about your content on Google+. For example, if there's a public Google+ discussion about one of your blog entries, those comments and replies will also appear on your Blogger blog. This way you can engage with more of your readers, all in one place.

Help readers comment and connect with their circles

Your blog readers will now have the option to comment publicly, or privately to their circles on Google+. And when they're browsing blog comments, they can view all of them, just the top ones, or only those from the people in their circles.

In all cases, you and your readers will only see the comments you have permission to see. Giving people these kinds of controls not only encourages more meaningful sharing—it can lead to more blog traffic.

To get started with Google+ Comments, just visit the Google+ tab of your Blogger Dashboard, and check “Use Google+ Comments.” (Older comments will continue to appear in the new widget.)

How to add "Reply Button or Link" to Blogger Blog.

As you see on websites ,whether like youtube or forums,all these great websites have reply link attached to every comment published .Fortunately we can also ad reply link to our blogger blogs.






How to add "Reply Button or Link" to Blogger Blog.

  1. Go to Blogger > Select your Blog >Template > Edit Html.
  2. Back up your template first.
  3. Tick the " Expand Widgets" Box on the left top of html editor.
  4. Search For   ]]></b:skin>
  5. And Paste the Below Code Just above it.

/*--------------CBT Reply Link --------------*/
.MBT-replycomments{ 
background:#ECEAEA; 
cursor:pointer; 
color:#fff; 
margin:5px 0; 
float:right; 
border:none; 
padding:4px; 
-moz-border-radius:6px; 
-webkit-border-radius:6px; 
border-radius:6px; 
font:10px sans-serif; 
} 
.MBT-replycomments:hover{ 
background:#E7E7E7; 
}

Make these Changes

  • To Change the Link background on active mode edit #ECEAEA
  • To Change the Link Background color on mouse hover edit #E7E7E7
  • MBT Color Generator tool will be helpful
6. Now Search For 


<dd class='comment-footer'>
7. And just above it paste the below code
 <div class='CBT-replycomments'><a expr:href='&quot;https://www.blogger.com/comment.g?blogID=*******************&amp;postID=&quot; + data:post.id + &quot;&amp;isPopup=true&amp;postBody=%40%3C%61%20%68%72%65%66%3D%22%23&quot; + data:comment.anchorName + &quot;%22%3E&quot; + data:comment.author + &quot;%3C%2F%61%3E#form&quot;' onclick='javascript:window.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=650,height=650&quot;); return false;'>Reply</a></div>



    • You can change "Reply" text with your desired one.
    • Replace with your BLOG ID. If your are logged into your blogger account then look at your browser address bar. You can clearly see a 18-19 digit code. Just copy it and paste it in place of *******************

    • You can find "Blog ID" as shown below in the image

    8. Save your template and you are done

    Note:

    I did not create the code.This code is create BY Mohammad Mustafa Ahmed Zai .
    Who is the Admin of Mybloggertricks


      Optimize Your Blog Post Titles for Better SEO

      The reason most of the blogger templates aren’t that SEO friendly because templates available in Blogger were designed long ago and haven’t been updated, probably since 2007, since then Google SEO algorithm has changed a lot and as being on blogger you don’t want to be left long away, to keep up with the competition making your Blogger template SEO friendly is very important and so this small SEO related article will help you to leave your competitors behind.

      If you are also using a template from Blogger then you need to make some changes on it to fit your needs and also to fit the search engine needs. Normally search engine don’t focus on the markup importantly but it’s a good thing to change it to something user friendly.  What Blogger templates like ‘Simple’, Travel’ etc. have h1 tag as it’s Blog title, which is normal. But the Post title is not okay that all, it is in an h3 tag, for many reasons your blog might not being shown up in the search results and this is on of those reasons.

      You won’t find any difficulties with a WordPress theme, as they are freshly published and reviewed by experts but templates in Blogger were made by expert but not freshly launched. Just as the search engines detects an anchor link because of it’s markup then why can’t they see what heading is being used for what area.


      OPTIMIZE THE POST TITLE TO HEADING2 IN BLOGGER

      Enough about it’s effect, let’s talk about how to make the changes applicable. These easy instruction will give you the easiest way to turn your post title to h2 from h3.

      1.First of all login to your Blogger Dashboard

      2.Go to the Template tab and click on Edit HTML, ignore the warning and proceed.

      3.Check mark the ‘Expand Widget Template’

      4.Use CTRL+F and search for this line

      <h3 class='post-title entry-title' itemprop='name'>

      5.All you have to do is just change the <h3> to <h2>, change of only a number. But we aren’t done yet, remember there’s still an ending/closing tag. You have to change both starting <h3> and ending </h3> tag into the template. In the middle it’s all XML codes that works on the server to serve an HTML page.



      After you turn the starting h3 to h2, do remember to change the ending tag too or it will create difficulties while saving the template.

      6.You will find the tag two times. one is for Desktop Version Template and another is for Mobile version Template. I recommend you to change all h3 that marks as the post title to h2. Searching for <h3 will bring up the codes but as i already said, remember to change corresponding closing tag too.

      Yeah that’s it ! It doesn’t only increase visibility and beauty of your blog in search results but also make your blog user friendly. Now stop using h3 for your post title, h3 is only good in the post body for heading. This was not a big change or addition for better SEO in your blog but remember it is how SEO works, there’s no easy and direct way to get to the top of search results, small and effective actions you take regarding your blog makes it a hit on SEO and search engines.

      Don’t get worried if your blog don’t do too good in the search results, keep posting and that’s the most important aspect in getting to the top. And this blog is always free to read, check post related to Blogger SEO for some more amazing post and do subscribe for our coming posts.

      Thursday, 3 January 2013

      Search This Blog

      Subscribe To Our Newsletter

      For Latest news And Updates Sign Up

      Popular Post

      - Copyright © Blogger Tips & Tricks -CBT- Powered by Blogger - Designed by Afzaal Bro -