Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

seo How to Make the Blogger Posts Have a Calendar for the Date in 2013

Seo Master present to you: It's quite common to see calendar style dates next to some WordPress posts but for the Blogger platform it isn't always an very easy task to add this. But who said you can't do it? You need to look no further than this blog. In this tutorial, we'll learn how to create a calendar style date for your Blogger posts.


How to create calendar style dates in Blogger

Step 1. Go to Settings > Language and Formatting - Date Header Format and change the date format as you can see in my example below (put day first, then the month and finally the year)
 

Step 2. Then go to Template > Edit HTML


Step 3. Select the "Expand Widget Templates" checkbox

Step 4. And search (CTRL + F) the following line:

<h2 class='date-header'><span><data:post.dateHeader/></span></h2>

Step 5. In case you find it twice, then you should replace it twice with this code:

<div id='Date'>
<script>changeDate(&#39;<data:post.dateHeader/>&#39;);</script>
</div>
<b:else/>
<div id='Date'>
<script>changeDate(&#39;&#39;);</script>
</div>

Step 6. Now search for this tag (CTRL + F to find it)

</head>

Step 7. And paste the code from below just ABOVE the </head> tag:

<script type='text/javascript'>
//<![CDATA[
var DateCalendar;
function changeDate(d){
if (d == "") {
d = DateCalendar;
}
var da = d.split(' ');
day = "<strong class='date_day'>"+da[0]+"</strong>";
month = "<strong class='date_month'>"+da[1].slice(0,3)+"</strong>";
year = "<strong class='date_year'>"+da[2]+"</strong>";
document.write(month+day+year);
DateCalendar = d;
}
//]]>
</script>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<style type='text/css'>
/* Calendar style date
----------------------------------------------- */
#Date {
background: transparent url(http://www.matrixar.com/-NVj6tUKJgLo/UBShW2dCLSI/AAAAAAAACZk/3TkTa8Hzqt0/s1600/calendar07.png) no-repeat;
display: block;
width:60px;
height:60px;
float: left;
margin: 15px 2px 0 -108px;
padding: 0 0 8px 0px;
border: 0;
text-transform: uppercase;
}
.date_month {
display: block;
font-size: 15px;
font-weight:bold;
margin-top:-1px;
text-align:center;
color:#ffffff; /* Month's color */
}
.date_day {
display: block;
font-size: 28px;
font-weight:bold;
margin-top:-8px;
text-align:center;
color:#282828; /* Day's color */
}
.date_year {
display: block;
font-size: 10px;
margin-top:-8px;
text-align:center;
color:#282828; /* Year's color */
}
</style>
</b:if>


Before saving your Template, we can make some changes:
  • To change the calendar style, replace the url in blue with yours;
  • If the calendar doesn't appear correctly, change -108 with 0;
  • With green are marked the areas where you can change the color of the dates

Step 8. Now Preview your Template and if everything is ok, click on the Save button. Enjoy!
2013, By: Seo Master

seo How to Change Default Anonymous Avatar in Blogger Comments 2013

Seo Master present to you: In the last tutorial, I wrote about how you can change avatars size in blogger comments and in this simple tutorial, I will show you how to change or customize default avatar of anonymous commenters or Blogger users with no picture added on their profiles. After Blogger announced new feature of threaded comment, we can still customize it by adding a jQuery plugin to our template and replacing the default anonymous avatar found at this

URL http://img1.blogblog.com/img/anon36.png
and the one for blogger users http://img2.blogblog.com/img/b36-rounded.png

...with our own.

anonymous, default avatar, blogger blogspot

Step 1.

Go to Dashboard - Template - click on the Edit HTML button and then Proceed



...then select Expand Widget Template (don't forget to make a backup)

    Step 2. Find (CTRL + F) this code in your template:

    </body>

    Step 3. Add the following code just above it:

    <script src='http://code.jquery.com/jquery-latest.js'/>
    <script>
    $(&quot;img[src=&#39;http://img1.blogblog.com/img/anon36.png&#39;]&quot;)
    .attr(&#39;src&#39;, &#39;http://www.matrixar.com/-Zphr2YJH_6w/T6ZZE4YeNBI/AAAAAAAACF0/Tyuj8hkOpdc/s1600/default_avatar.gif&#39;)
    .ssyby(&#39;blank&#39;)
    </script>
    <script src='http://code.jquery.com/jquery-latest.js'/>
    <script>
    $(&quot;img[src=&#39;http://img2.blogblog.com/img/b36-rounded.png&#39;]&quot;)
    .attr(&#39;src&#39;, &#39;http://www.matrixar.com/-eKbzORzVaBQ/T6ZXHmdgHqI/AAAAAAAACFs/rVy3T4gxojM/s1600/blogger-user.png&#39;)
    .ssyby(&#39;blank&#39;)
    </script>

    Step 4. Save the Template

    How to change avatar:

    For Anonymous users: Replace the code in red with the url address of your image
    For Blogger users: Replace the URL in blue with your own.

    You can choose one from these below (copy the url address):


    http://www.matrixar.com/-Zphr2YJH_6w/T6ZZE4YeNBI/AAAAAAAACF0/Tyuj8hkOpdc/s200/default_avatar.gif


    http://www.matrixar.com/-p4JvM7rWNG4/T6ZcU5eKqTI/AAAAAAAACGM/K0DB35A5brE/s1600/facebook.gif


    http://www.matrixar.com/-5nGzg5T-9qA/T6ZbL9JF0iI/AAAAAAAACF8/TvTnURwsNb0/s1600/anonymous3.png



    http://www.matrixar.com/-oivPlkvBNBY/T6ZoNQhfAII/AAAAAAAACGY/3gem5DBmmQ8/s1600/blogger-user.png


    That's it!
    If you liked this post, please consider sharing it.

    2013, By: Seo Master

    seo How to Hide Blogger Sidebar to Display AdSense For Search Results 2013

    Seo Master present to you: When visitors are searching for content on your blog, you have the following options to display the search results: opening the results in the same window, in a new window or within your own site using an iframe.

    But the best option is to display the search results in your own site/blog, mainly because you are not sending people off your blog and when they are taken to a new page of search results, so it could be confusing many times because it doesn't look anything like your site or Google. Therefore, displaying the search results within your site, could look more professional and could also increases your page views and your revenue from the ads on the search page.

    A problem that many bloggers are facing is that the page which displays the AdSense for search results must be at least of 800 px wide, so the posting area must be of minimum 800px and there's nothing like that in most of the blogs.

    So, what we will do in this tutorial is to set up the search results to be displayed in a static page (none of other posts or pages will be affected) where we'll remove the sidebar, so that we'll have enough space to make the post/page section of 800px wide. Also, we will create a static page specially designed for the search results, then create a new AdSense for search in our AdSense account and finally add a small snippet of code top in your Blogger template to hide the sidebar in that specific page.

    Search results span the width of the page with the sidebar hidden:


    Display AdSense For Search Results Within Blogger Page

    Step 1. Create a new static page on your blog, you can give it the title 'Search Results' but leave the content section empty and then Publish the page.

    Step 2. When you publish the page you have the option to add the page to a menu, choose the third option 'No Gadget Link To Pages Manually' click 'Save and Publish'. OR in case this screen will not appear, right click on View Page and select Copy Link Address. We will need this URL of the page when creating the AdSense for search.

    Step 3. Go To Your AdSense account, then go to My ads tab, select the Search option and Create a New custom search engine. Follow the steps until you come to the Search results option.

    Step 4. Select the 3rd method "on my website using an iframe", then Enter the URL of the page you created into the URL field and continue.


    Step 5. Follow the rest of the set up process, at the end you will be given two pieces of code. The first piece of code is for the actual search bar that you can paste into a Html/Javascript gadget in your sidebar or wherever you want it. The second piece of code you must copy and paste into a new HTML/JavaScript gadget and after clicked on Save - drag it above the Blog Posts area


     Now that you have your page set up with the search results code and your search bar code in your sidebar, it is time to add a snippet of code to your template to remove the sidebar.

    Adding The Code In Blogger To Change the Results Page Layout

    Step 1. In Your Blogger Dashboard, go to Template > Edit HTML - then click Proceed 


    Step 2. Select the "Expand widget templates" box



    Step 3. Find (CTRL + F) the following piece of code

    ]]></b:skin>

    Step 4. Just below it, paste this code:

    <b:if cond='data:blog.url == &quot;PAGE-URL-HERE&quot;'>
    <style>
    .main-inner .columns {
    padding-left: 0px !important;
    padding-right: 0px !important;
    }
    .main-inner .fauxcolumn-center-outer {
    left: 0px !important;
    right: 0px !important;
    }
    .main-inner .fauxcolumn-left-outer, .main-inner .fauxcolumn-right-outer, .main-inner .column-left-outer, .main-inner .column-right-outer {
    display: none !important;
    }
    </style>
    </b:if>

    Note: Replace PAGE-URL-HERE with the url address of the page where the search results will be displayed (the one you have added at the step 4)

    Step 5. Now Save Template and you're done!

    This simple trick allows you not only to hide the sidebar in the search results page, you can, as well, hide it in any page you want... just create your page and follow the same steps. It is also good to hide the sidebar in Privacy Policy Pages, Contact Pages and in all the non-content-based pages with little content or no content at all.

    Make sure to check out other interesting AdSense Tutorials.
    If you need more help, leave your comments below.

    2013, By: Seo Master

    seo Show Blogger Image only in Homepage and Hide it in Post Page 2013

    Seo Master present to you:

    To hide images/pictures from our blogger posts and to make them appear only in homepage, we will have to add just a small piece of CSS code in our template and then use the class "hidepic" each time we want to hide an image.

    Just follow the next steps:

    Step 1. Go to Dashboard - Template - Edit HTML ( click on Proceed button )


     Step 2. Select "Expand Widget Template" (make a backup)

       Step 3. Find (CTRL + F) this code in your template:

          }]]></b:skin>

      Step 4. Copy and paste the following code just below it

      <b:if cond='data:blog.pageType != &quot;index&quot;'>
      <style>
      .hidepic{
      display: none;
      }
      </style>
      </b:if>

      Step 5. Save the Template.

      Now everytime you create a post, firstly add the pic you want to hide and then switch to HTML tab where you'll see the HTML code of the image you have added that will look something like this:

      <div class="separator" style="clear: both; text-align: center;">
      <a href="http://www.matrixar.com/-shsd_c51zRA/T6UeoPgcbII/AAAAAAAACCc/sYI6WB22CaM/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://www.matrixar.com/-shsd_c51zRA/T6UeoPgcbII/AAAAAAAACCc/sYI6WB22CaM/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>

      Note: it should be at the exact location where your image has been added 
      (if the image is at the middle of the text, then the code should be found at the middle)

      Step 6. Replace "separator" with "hidepic" - see the screenshot below:


      If you need more help, please leave a comment below.

      2013, By: Seo Master

      seo How to Remove Showing Posts With Label in Blogger 2013

      Seo Master present to you:
      label, blogger, remove, how to

      For any default Blogger layout, the "Showing posts with label" message shows up above the posts whenever you click on a label link. As it's a pretty useless and annoying message, many people like to have it removed. If that is your wish, just follow the tutorial below:

      Removing "Showing post with label...show all posts"

      Step 1. Go to Dashboard - Template - Edit HTML (if necessary, click on Proceed button)


      Step 2. Click somewhere inside the template code, then search - using CTRL+F - this code:

      <b:includable id='status-message'>

      After you found it, click on the sideways arrow next to it, to expand the rest of the code.

      Screenshot:

      Step 3. Below is this code that you need to remove - along with the first one, as well:

           <b:includable id='status-message'>
            <b:if cond='data:navMessage'>
            <div class='status-msg-wrap'>
              <div class='status-msg-body'>
                <data:navMessage/>
              </div>
              <div class='status-msg-border'>
                <div class='status-msg-bg'>
                  <div class='status-msg-hidden'><data:navMessage/></div>
                </div>
              </div>
            </div>
            <div style='clear: both;'/>
            </b:if>
          </b:includable>

      Screenshot 

       Step 4. Replace it with this one:

      <b:includable id='status-message'>
      <b:if cond='data:navMessage'>
      <div>
      </div>
      <div style='clear: both;'/>
      </b:if>
      </b:includable>

      Step 5. Save the template. Now view your blog and click on some label....there should be no box anymore.

      2013, By: Seo Master

      seo How to number comments in Blogger/BlogSpot 2013

      Seo Master present to you: This Blogger hack will show you how to add comment count inside a speech bubble, so that you & your readers can use the numbers to mention or point to a particular comment on any of your posts and besides this, it could as well improve the look and feel of your blog.

      Note: This works with the previous blogger commenting system, so if you want to add this hack, you should remove first the Blogger threaded comments. Learn here How to remove Blogger threaded comments

      UPDATE! Now you can add comment bubble in your threaded comments too. Read this tutorial:
      How to Add Numbered Comments In Threaded Comments
      blogger blogspot, tricks

      How to add numbered comments on our Blogger/Blogspot blog
      how to blog, blogspot blogger

      Step 1. Go to Dashboard - Template - Edit HTML (click on Proceed button, if needed)


       Step 2. Select "Expand Widget Template" (make a backup)

        Step 3. Now find (CTRL+F) the following code in your template:

        <b:loop values='data:post.comments' var='comment'>

        Step 4. Immediately above/before it, paste this code:

        <script type='text/javascript'>var CommentsCounter=0;</script>

        Step 5. Find this code:

        <data:commentPostedByMsg/>

        Step 6. And immediately below/after it, copy and paste this:

        <!--comments-count-starts-->
        <span class='comments-number'>
        <a expr:href='data:comment.url' title='Comment Link'>
        <script type='text/javascript'>
        CommentsCounter=CommentsCounter+1;
        document.write(CommentsCounter)
        </script>
        </a>
        </span>
        <!--comments-count-stops-->

        Step 7. Find (CTRL+F) this tag in the template:

        </head>

        Step 8. Paste this code just above/before it:

        <!-- comments-count-starts-->
        <style type="text/css">
        .comments-number a:link, .comments-number a:visited {
        color: black !important;
        text-decoration: none !important;
        background: url(http://www.matrixar.com/-zrPssaxSG2E/T47v-XB1EWI/AAAAAAAAB8E/uUz8RiJnW2U/s1600/comment+bubble+1.png) no-repeat;
        width: 50px; /*image-width size*/
        height: 48px; /*image-height size*/
        float: right;
        display: block;
        margin-right: 5px;
        margin-top: -15px; /*comments-counter position*/
        text-align: center;
        font-family: 'Century Gothic','Lucida Grande',Arial,Helvetica,Sans-Serif;
        font-size: 15px;
        font-weight: normal;
        }
        .comments-number a:hover, .comments-number a:active {
        color: #1BA0E1 !important;
        text-decoration: none !important;
        }
        </style>
        <!-- comments-count-stops-http://www.matrixar.com-->

        Note:
        • To change the comment bubble, replace the red text from above with your own address
        • To change the color of the numbers, replace the blue text with the hex value of your color

        Comment Bubbles 

        To choose a comment bubble, right-click on the image and select "Copy Image Address/Location":


        how to blogblogger blogspotblogspot blogger, how to blogwidget blogger blogspotblogs, how to blogblogspot or blogger, how to blogtutorials, how tocomments, how to, blogspot bloggernew comment, how to blogblog design, bloggerblogger.com


        IMPORTANT: You could use any image instead of the one linked in the code above (STEP 8) but after that, you should modify the size values (width and height), so that the numbers inside the bubble to be correctly adjusted.

        Step 9. Save the template... and enjoy your comments :]

        You might also be interested in this tutorial from the same category:
        How to Add a Comment Bubble to Blogger Post Titles.


        2013, By: Seo Master

        seo How to Add A Comment Count Bubble To Blogger Post Titles 2013

        Seo Master present to you: A comment bubble with current number of comments displayed to each blogger post titles could make your blog more attractive. This improves not only your comments count but also allows your visitors to see what are the most popular posts on your blog. When a post has many comments, then the comment bubble will show the popularity of your posts to readers and visitors so that they might be more interested in reading them.

        So let's start adding it:


        Step 1. Go to Dashboard - Template - Edit HTML (click on Proceed button, if needed)


        Step 2. Select "Expand Widget Template" (make a backup)

          Step 3. Find - using CTRL + F - the following piece of code in your template:

          ]]></b:skin>

          Step 4. Add the below code just above ]]></b:skin>:

          .comment-bubble {
          float : right;
          width : 48px;
          height : 48px;
          background : url(http://www.matrixar.com/-7FFIKA34Kvw/T4x9E0RmA0I/AAAAAAAAALI/03AG305CesI/s1600/speech+bubble+green.png);
          background-repeat: no-repeat;
          font-size : 18px;
          margin-top : -15px;
          margin-right : 2px;
          text-align : center;
          }

          Step 5. Now find this code:

          <b:if cond='data:post.title'>
          <h3 class='post-title entry-title'>

          Note: If you can't find it, search this code instead:

          <b:if cond='data:post.title'>
                <h3 class='post-title entry-title' itemprop='name'>

          Step 6. And add this code immediately after it:

          <b:if cond='data:post.allowComments'>
          <a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick' style='color: #ffffff; font-size: 18px; font-weight: bold;'><data:post.numComments/></a>
          </b:if>

          Note:
          • to change the color of the comments number, replace #ffffff with the hex value of your color;
          • to change the font size, increase/decrease the 18px value;

          Step 7. Preview your template and if everything is ok, click on Save Template.

          Comment Bubbles 

          You can choose one of the images below - right click on the desired image and select "Copy Image Address/Location", then replace the red code from step 3 with the address you just copied.

          bubble comment count, bubble blogger postsblogger comments, comment countblogger blogspot, blogger commentsblogger bubble comment countcomments in blogger titlesblogger tips, blogger tricksblogger widgets, bubble comment countbubble comment countBubble Comment CountBubble Comment Count, blogger blogspot


          That's it! Enjoy (:

          You might also be interested in reading this tutorial:

          2013, By: Seo Master
          Powered by Blogger.