Showing posts with label Posts. Show all posts
Showing posts with label Posts. Show all posts

Wednesday

9

Animation for Recent Post Gadget

  • Wednesday
  • Andy Law
  • In this tutorial, we will learn how to make an animation for the Recent Post gadget. As you can see an example here, it looks quite attractive, isn't it?. When the recent posts keep changing the positions, it can actually draw attention from visitors, thus more posts will be read, and visitors will probably stay longer on your site. You can see the instruction below:







    1. Go to Page Elements / Layout  >>  Add a Gadget  >>  HTML/Javascripts
    2. Place this code into the content box
    3. <style type="text/css"> #rp_plus_img{height:377px;} #rp_plus_img li {height:60px;padding:5px;list-style:none; background-color:#ffffff; border:solid 1px #000000;} #rp_plus_img a{color:#00000;} #rp_plus_img .news-title{display:block;font-weight:bold ;margin-bottom:4px;font-size:11px; text-align:justify; -moz-border-radius: 5px;} #rp_plus_img img{float:left;margin-right:14px;padding:4px;border:solid 1px #00000;width:55px;height:55px;} </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="https://sites.google.com/site/unwanted86/javascript/recentpost.js"></script> <script type="text/javascript"> var speed = 1500; var pause = 3500; $(document).ready(function(){ rpnewsticker(); interval = setInterval(rpnewsticker, pause); }); </script> <ul id="rp_plus_img"> <script style="text/javascript"> var numposts = 5; var numchars = 0; </script> <script src="/feeds/posts/default?orderby=published&alt=json-in-script&callback=rpthumbnt"></script> </ul><small><a href="http://www.blogonblogspot.com/" target="_blank"><span style="color:#fff;">get this widget here</span></a></small>
    4. SAVE
    read more

    Sunday

    2

    How to remove Subscribe to: Posts (Atom)

  • Sunday
  • Andy Law
  • Sometime, Subscribe to: Posts (Atom) are quite annoying to you if you never need it. So, you want to get rid of this as soon as possible. I support you because I don't have to use it also. Now, I will show you how to remove Subscribe to: Posts (Atom). This tip is very simple, and it takes no more than a minute to accomplish as long as you follow correctly the steps below:

    1. Go to Layout / Template (for new blogger) >> Edit Template >> Tick on the Expand Widget Templates box (remember to back up your template first)
    2. If you just want the Subsribe to: Posts (Atom) disappear for sometime, add this code just above the   ]]></b:skin>     :
    3. .feed-links { display:none; } 
    4. If you want to get rid of it forever, find this code , then delete it
    5. <b:include data='feedLinks' name='feedLinksBody'/>
      OR
      <b:include name='feedLinks'/>
    6. SAVE the template

    read more

    Saturday

    5

    How to change blog title tags

  • Saturday
  • Andy Law
  • Today, I will show an esay tip that can make your blog post likely listed in Google search results. And this has been implemented by many bloggers already. But if you haven't done this, it would be useful for you. As you can see an example below for my blog:



    Which one is better? The first one is absolutely the best because Google would read your blog post title first, then blog title (in the first one); and if your blog title is too long, it would be a big disadvantage for you if your blog is still displaying as the second example. Thus, now I will guide you how to change blog title tags in every blog post. You can see the instruction below:
    1. You're in draft.blogger.com , go to Template
    2. Scroll down until you find Backup/Restore Template >> Click on it, then Download full template
    3. Click on Edit Template >> Tick the Expand Widget Templates
    4. Find this code (to find it, press Ctrl + F)
    5. <title><data:blog.title/></title>
    6. Replace it with this code
    7. <b:if cond='data:blog.pageType == "item"'> <title><data:blog.pageName/> |<data:blog.title/></title> <b:else/> <title><data:blog.pageTitle/></title> </b:if>
    8. Click Save Template
    Note: if you just want to show the post title only which can even make your blog posts ranked higher in search engine, you can replace 
    <title><data:blog.title/></title>
    with the following code
    <b:if cond='data:blog.pageType == &quot;index&quot;'>
    <title><data:blog.title/></title>
    <b:else/>
    <title><data:blog.pageName/></title>
    </b:if>
      read more

      Friday

      0

      How to add rss feed to blog

    1. Friday
    2. Andy Law
    3. RSS Feed has become so popular because of its usefulness. It ties bloggers and their readers together as it updates the latest posts from a paticular blog and bring it to the blog's readers. For a normal readers, they just need to get the updates and read it themselves. On the other hand, for bloggers like as you and I, we can also use RSS Feed as a secret weapon to attract our readers by updating the latest interesting information from elsewher. If you just need to know how to add an RSS Feed icon to your blogger, you can see How to add Rss Feed icon to blog. Today, I will show you how to add RSS Feed to blog. Just follow the instruction below:
      1.  You're in draft.blogger.com, go to Layout >> Add a Gadget (a pop-up window will open)
      2. Scroll down until you see Feed >> Select Feed
      3. Add RSS Feed URL from your favorite blog (to get the URL, go to your target blog, click on the Feed icon, then copy the URL from your browser address bar)
      4. Click Continue >> SAVE
      read more
      2

      How to add rss feed icon

    4. Andy Law
    5. Today, I will show you how to add rss feed to your blog. This tip is quite simple, and easy to follow. You can see the instruction below. If you have any problems while doing this, please don't hesitate to leave a comment below this post, I will response as soon as I can.
      1. You're in draft.blogger.com, go to Layout >> Add a gadget
      2. Find the HTML/Javascripts
      3. Copy and paste this code into the content box
      4. <a href="YOUR FEED URL" target="_blank">
        <img src="YOUR RSS PICTURE URL" border="0" />
        </a>
        You can get some RSS icon at naldzgraphics.net
      5. Click SAVE
      read more

      Thursday

      1

      How to add read more to blog

    6. Thursday
    7. Andy Law
    8. Sometime you want to add a read more function to your blog home page because it doesn't look cool if you only have one (few) posts in the home page; and when visitors first time land on your blog, they just only see your very single post (if your post is too long). Does it look right to you? Actually, there are quite a few tutorials out there where you can learn to add the read more function to your blog. But in most of them, you have to use the tag  <span class="fullpost"></span> every time you write a blog article. It's quite inconvenient, isn't it? Therefore, today I will show you how to add read more to blog just by one click. Just follow the instruction below:

      1. You're in draft.blogger.com, go to Template (on the lower left sidebar)
      2. Scroll down to the end >> Backup/Restore Template >> Download Full Template 
      3. Click on Edit Template >> Tick the Expand Widget Templates box
      4. Press Ctrl + F , and type  " ]]></b:skin> "
      5. Just right above it, copy and paste this code:
      6. /*READ MORE*/ .jump-link a { background: #ffff00; padding: 3px; color: #fff; } .jump-link a:hover { background: #000000; padding: 3px; color: #ccc; }
      7. Place this code between the ]]></b:skin> and </head>:
      8. <!--READ MORE--> <b:if cond='data:blog.pageType != &quot;item&quot;'>     <style>     .post-body img {     img {     max-width: 100px;     width: expression(this.width &gt; 100 ? 100: true);     float: right;     }     </style>     </b:if>
      9. In the search box, type " <data:post.body/> " or " <p><data:post.body/></p> " if you use custom template
      10. Place this code right below <data:post.body/> or <p><data:post.body/></p>
      11. <!--READ MORE--> <b:if cond='data:post.hasJumpLink'> <div class='jump-link'> <span style='float:right; font-weight:bold;'><a expr:href='data:post.url + &quot;#more&quot;'><span><a expr:href='data:post.url + &quot;#more&quot;'>Read more &gt;&gt;</a></span></a></span> </div> </b:if>
      12. Click SAVE Template
      13. To add read more: Just after your introduction paragraph, click on the "break" icon located above the content box like this.
      If you can't follow the instruction, just leave a comment below. I will sort it out for you. Best luck !
      Thank you for dropping in this blog and reading my tip.
      read more
      6

      Different blog post background in each blog post

    9. Andy Law
    10. Hi all bloggers, have you thought of styling blog post background in your every blog post. If No, you don't have to continue to read this post, and you may discover some interesting posts inside this very lovely blog (for me i think :)). This tip is not too hard for a newbie, so don't think that you can't do it. All you need is that.... just follow some simple steps below:



      1. You're in draft.blogger.com, go to Create a new post
      2. Click on HTML (there are Compose and HTML options on the top left corner)
      3. Copy and paste this code into the content box (if you just want to change the background color)
      4. <div style="background:YOUR COLOR CODE GOES HERE; padding:5px 10px 5px 10px;"> WRITE YOUR CONTENT HERE </div>
        You can get color codes at html-color-codes.info. 
      5. Copy and paste this code into the content box (if you want to change the background image) 
      6. <div style="background:url(YOUR IMAGE URL HERE) no-repeat;"> WRITE YOUR CONTENT HERE </div>
        Image background examples: 
         
          5.  Click Preview to check the result, then Publish or Save
      read more

      Wednesday

      2

      How to make a block quote

    11. Wednesday
    12. Andy Law
    13. Block quote is commonly used to reference a long passage from other in a comprehensive and interpretative format. Block quote is alos used as an evidence for someone to prove something. As its ease of use, block quote has soon become popular over the internet. You can probably see it in most of blogs you have visited. For bloggers, we use block quote to share the codes as well. So how to make a block quote? To make it you just need to use the simple tag:

      <blockquote>

      I wanted to say thank yous
      To all of you who read my poems
      And leave your comments and reviews
      Which to me are precious gems

      Gems that make me a better writer
      See everything I think of goes into my poetry binder
      And I only keep writing because of all of you
      For helping me be better at what I do

      <blockquote/>

      It will become like this:
      I wanted to say thank yous
      To all of you who read my poems
      And leave your comments and reviews
      Which to me are precious gems

      Gems that make me a better writer
      See everything I think of goes into my poetry binder
      And I only keep writing because of all of you
      For helping me be better at what I do
       Sometime the block quote default design doesn't look right to you, so you can customize it by reading how to customize a block quote or return to the home page to get the latest tips


      read more
      3

      How to customize blockquote style

    14. Andy Law
    15. In this tutorial, I will show you how to customize blockquote style in blogger. I will do all of these changes in CSS style. By using CSS, we can change the look of the blockquote such as changing margin, background, colour, padding, etc..So, you just need to follow the steps below:

      1. Go to Layout >> Template >> Download full template >> Click on Expand Widget Template
      2. Press Ctrl + F, search for " .post blockquote ", you will see something like this:
      .post blockquote {
      margin:1em 20px;
      }
      .post blockquote p {
      margin:.75em 0;
      }

      If you use custom template, and cannot find it, search for " .entry blockquote " ; it looks very similar with the codes above.




    16. I have a few examples, so just replace the codes in Step 2 with the code in each example

      1. EXAMPLE 1:

        .post blockquote {
        margin: 1em 3em;
        padding: .5em 1em;
        border-left: 5px solid #fce27c;
        background-color: #f6ebc1; }

        .post blockquote p {
        margin: 0; }

        EXAMPLE 2:

        .post blockquote {
        margin: 1em 20px;
        padding-left: 50px;
        background: transparent url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNyJ7KaCHUS1KsWjj0UeD0359PmtfB9-fTMkWq4ZbpGksE1V9kV8wigbCT8kx66iD2FVvQa7TXj8fGg0XMd3Iyn-cVeAYm1aeNDhatFitC7Jfg9ZeTixEs8XOtF1YCQMlE3yjPYo9dKCDN/s1600/Next-icon.png) no-repeat; }

        EXAMPLE 3:

        .post blockquote {
        margin: 1em 2em;
        border-left: 1px dashed #999;
        padding-left: 1em; }

        .post blockquote p:first-letter {
        float: left;
        margin: .2em .3em .1em 0;
        font-family: "Monotype Corsiva", "Apple Chancery", fantasy;
        font-size: 220%;
        font-weight: bold; }

        .post blockquote p:first-line {
        font-variant: small-caps; }

        EXAMPLE 4:

        .post blockquote {
        background: #ffffff url(http://i44.tinypic.com/slh4yu.jpg);
        background-repeat:no-repeat;
        background-position:top center;
        margin: 6px 6px 6px 6px;
        padding: 8px 36px 8px 40px;
        font-size: 14px;
        line-height:1.4em;
        }
        4. Click SAVE and check result. If you don't know how to add a blockquote to your post you can see How to make a blockquote

        Enjoy !


        read more
        1

        How to customize next and previous post link

      2. Andy Law
      3. Today, I am going to walk you through how to customize next and previous post link. As we know, there are "Older Posts" and "Newer Posts" located in every blog which can make readers stay longer in your blog. But, is it attractive enough to draw visitors' attentions? I would recommend you change this. It won't take long to customize the next and previous links, so just follow the steps below:

        1. Go to Layout >> Template >> Download the full template >> Click on Expand Widget Templates
        2. Press Ctrl + F, and find this code:
        3. <data:newerPageTitle/>
        4. Replace it with: NEXT POST  or this code if you want to show an image:
        5. <img src="YOUR--IMAGE--ADDRESS--HERE" />
          We've added a NEW POST link, now we'll change the PREVIOUS link
        6. Find this code:
        7. <data:olderPageTitle/>
        8. Replace it with PREVIOUS or this code:
        9. <img src="YOUR--IMAGE--ADDRESS--HERE" />
          Now we'll do the same for the HOME PAGE
        10. Find this code: (note: there are two similar code, use the first one)
        11. <data:homeMsg/>
        12. Replace it with HOME PAGE or
        13. <img src="YOUR--IMAGE--ADDRESS--HERE" />
        I have these cool NEXT and PREVIOUS post link icons, you can use it also:


        https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwMDEjxzeoNc2g9fJAivTZWBB2sHc9HZR-SPo9lqhyphenhyphennrWGDZLUdAnQw_3S9eV7bHR0cbZGEA8a_FhK6fhcTBAQGw9lABrPf_8Wen-YIXrlbtC74wtrvCA1Jvc22sRpK_tbSYSMleJKSY6J/s1600/Home-page.png


        https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFQdldoHXW79qjR7r9WpyR_mw5t67PkZIHQx5Zb2LyT3Suy_9CgCME_HFiqqrvt0KQhHhhsyT4iGFTqb4hvVcvIP_P0K48WDP1jjnW4STdAGFa0FeKWS9qOeiwgKxoMThgGcdQ-f9PS7Uy/s1600/Next-page.png


        https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYH0yBkxocqtN8FJ-ZrH9lu86lokq1N1WgEGyEKyXLXGqjhpG6ww5XRUzlzuSzBk9recet6tBgjwjsUTBeBPHegfpkHEA9KFgCC5MSCrDsr5tpk0c8NVSOpmsX4t2jqo0BtznpTe0f2eP-/s1600/Previous-posts.png
        read more

        Tuesday

        50

        How to add slideshow in blogger

      4. Tuesday
      5. Andy Law
      6. Hi guys, someone has asked me how to add slideshow in blogger a while ago. Therefore, now I want to share my answer to anyone who can visit my blog. This tip is not too hard, so I would expect that you can get to know how to add slideshow in your own blog easily. All right, let's do these steps:



        1.  Go to Google Picasa (you probably have a google account, don't you?)
        2. Upload your photo into a album that you want to make it as a slide show in your blog posts
        3. After you have uploaded your photos into a specific album, click on the album
        4. Click on " Link to this album " (located in the right hand side)
        5.  Click on " Embed Slideshow "
        6. Copy the code in the yellow box. 
        7. Now, you've already have the code, Go to create a new post
        8. Paste the code into the content box where you want your slideshow to be displayed 
        9. Click on Preview to check the result, then Click on Save or Publish. 
        You're done
        Note: You can place your slideshow anywhere in your blog by copying the slideshow code into a Gadget. 

        You can go back to Blog on Blogspot home page to get the latest tips
        read more

        Monday

        1

        Embedding YouTube Code To Blog Posts

      7. Monday
      8. Andy Law
      9. Today, I'm going to guide you how to embedding Youtube code to blog posts. It would take you a few minutes as long as you follow exactly the following steps:

        1. Go to Blogger and click New Post
        2. In the Post section, you will see Compose and HTML, click on HTML. (actually, you can use any)
        3. Open Youtube.com in a new window
        4. Select your video
        5. Click on the Share button
        6. Click on Embed
        7. Copy the code
        8. Paste that code to your post
        9. Click Preview to see the result, then click Publish or Save
        It should look like this



        You're Done
         You can also return to the home page to see the latest posts
        read more

        Friday

        6

        Create Random Posts for blog

      10. Friday
      11. Andy Law
      12. 1. In Dashboard, go to Layout
        2. Click on Add a Gadget
        3. Find HTML/Javascript
        4. Paste this code to the content box
        <script type="text/javascript">
        var randarray = new Array();var l=0;var flag;
        var numofpost=6;function randomposts(json){
        var total = parseInt(json.feed.openSearch$totalResults.$t,10);
        for(i=0;i < numofpost;){flag=0;randarray.length=numofpost;l=Math.floor(Math.random()*total);for(j in randarray){if(l==randarray[j]){ flag=1;}}
        if(flag==0&&l!=0){randarray[i++]=l;}}document.write('<ul>');
        for(n in randarray){ var p=randarray[n];var entry=json.feed.entry[p-1];
        for(k=0; k < entry.link.length; k++){if(entry.link[k].rel=='alternate'){var item = "<li>" + "<a href=" + entry.link[k].href + ">" + entry.title.$t + "</a> </li>";
        document.write(item);}}
        }document.write('</ul>');}
        </script>
        <script src="/feeds/posts/default?alt=json-in-script&start-index=1&max-results=1000&callback=randomposts" type="text/javascript"></script>

        5. Click SAVE
        read more

        SUBSCRIBE NOW to get the latest posts