A Simple Related Posts Widget For Blogger



In the last tutorial, i’ve been talking about the Related Posts widget that shows related posts along with thumbnails just at the end of your blog articles. Some of the users, however,
would prefer a simpler and cleaner displaying of their related posts so that it would show just the posts titles. So let’s begin adding it!

DEMO BELOW

How to add Related Posts Widget to Blogger


Step 1. Go to Template >> Edit HTML and tick the “Expand Widget Templates” checkbox

Step 2. Find the below tag

</head>


Step 3. And just above it, paste the following code:


<!–Related Posts Scripts and Styles Start–>
<!–Remove–><b:if cond=’data:blog.pageType == &quot;item&quot;’>
<style type=’text/css’>
#related-posts {
float:center;
text-transform:none;
height:100%;
min-height:100%;
padding-top:5px;
padding-left:5px;
margin-top: 20px;
}
#related-posts .widget{
padding-left:6px;
margin-bottom:10px;
}
#related-posts .widget h2, #related-posts h2{
font-size: 17px;
font-weight: normal;
color: black;
font-family: Arial Narrow;
margin-bottom: 0.75em;
padding-top: 0em;
}
#related-posts a{
font-size:16px;
color: #555555;
font-variant:small-caps;
}
#related-posts a:hover{
text-decoration: none;
color: #ffffff;
font-weight: bold;
}
#related-posts ul{
list-style-type:none;
margin:0 0 0px 0;
padding:0px;
text-decoration:none;
text-color:#000000
}
#related-posts ul li{
list-style-type: none;
border-left: 2px solid #1399CF;
border-bottom: 1px dotted #1399CF;
margin-bottom: 3px;
padding-left: 30px;
padding-top:0px;
}

#related-posts ul li:hover{
background-color: #1399CF;
border-left: 2px solid #B3CA3D;
border-bottom: 1px dotted #B3CA3D;
}
</style>
<script type=’text/javascript’>
var relatedpoststitle=&quot;Related Posts&quot;;
</script>
<script src=’http://helplogger.googlecode.com/svn/trunk/related_posts.js’ type=’text/javascript’/>
<!–Remove–></b:if>
<!–Related Posts Scripts and Styles End–>


Note:
– if you want to change the size and color of ‘Related Posts’ title, change the bolded values (17for the font size and black for the color)

-to change the related post title color, replace the value in red;
-to change the background color on mouseover, replace the color value in blue;

Step 4. Now find (CTRL + F) the below line:

    <div class=’post-footer’>


Step 5. Just above it, paste the code below:

<!– Related Posts Code Start–>
<!–Remove–>
<b:if cond=’data:blog.pageType == &quot;item&quot;’>
<div id=’related-posts’> <b:loop values=’data:post.labels’ var=’label’> <b:if cond=’data:label.isLast != &quot;true&quot;’> </b:if> <b:if cond=’data:blog.pageType == &quot;item&quot;’> <script expr:src=’&quot;/feeds/posts/default/-/&quot; + data:label.name + &quot;?alt=json-in-script&amp;callback=related_results_labels&amp;max-results=6&quot;’ type=’text/javascript’/></b:if></b:loop>
<script type=’text/javascript’> var maxresults=5; removeRelatedDuplicates(); printRelatedLabels(&quot;<data:post.url/>&quot;); </script> </div> <!–Remove–></b:if> <!– Related Posts Code End–>


Note: In order to change the number of maximum related posts being displayed for each label, search for the code max-results=5 and change the number “5” to any desired number.
Step 6. Save Template

Enjoy Guys! and don’t forget to post your comments. � MyTricksTime.com

How to increase your RAM and make your computer system faster


These tips will help you to increase your Desktop or Laptops speed and make your system quick

It includes to main steps . from these you will learn How to increase your RAM and make your computer system faster 



1.Increase virtual Ram (Paging)       2.Check for errors, Analyze and defragment. 3. Deleting %temp% and temp

1.   Increase virtual Ram (Paging) It will increase the virtual Ram .just follow the steps

    •  Hold down the ‘Windows’ Key and Press the ‘Pause/Break’ button at the top right of your keyboard.

Another way is Right-Clicking ‘My Computer’ and then Select ‘Properties’.

    • Click on the ‘Advanced’ tab.


    • Under ‘Performance’, click ‘Settings’.


    • Then click the ‘Advanced’ tab on the button that pops up.


    • Under ‘Virtual Memory’ at the bottom, click ‘Change’.


    • Click the ‘Custom Size’ button.


    •  For the initial size (depending on your HD space), type in anywhere from 1000-1500 (although I use 4000), and for the Maximum size type in anywhere from 2000-2500 (although I use 6000).


    •  Click ‘Set’, and then exit out of all of the windows.


    •  Finally, Restart your computer.


    •  You now have a faster computer and 1-2GB of Virtual RAM..!


2.Check for errors, Analyze and defragment.

    • go to my computer


    •  right click on c drive, click properties


    • click on tools tab


    • Click check now and start disk check. It will scan the system for errors.sometimes it show , disk check will take place when you restart computer, if it show such message then click yes and it will automatically check when you restart.


    • follow step 1-4 for all drives.


    • if no message is shown then manually check for errors and then click analyze and after analyzing click defragment.


    • On your next restart you will see the changes in speed.


3. Deleting %temp% and temp


    • go to run 
    • type:-  %temp%
    • and press enter
    • select all by using ctrl+a delete all files. This are temparary files taking the disk space. Deleting files would not affect the system.some files may not be deleted so just ignore them.

Follow all this steps every week or every month for better performance from your system.
Enjoy Guys! and don’t forget to post your comments. � MyTricksTime.com

ADD TRANSPARENT NOTIFICATON BAR TO BLOG


Many Popular blogs use a notification bar to show a News feed and latest content because it attracts your visitors attention.

You can add a link to a featured post, your Rss feed, social profile or an affiliate offer. So here I will show you how to add an awesome notification bar with close button. Its very simple and looks very cool.You can use it on a blogger blog and wordpress blog or even in your websites.
Add The Transparent Notification Bar To Blogger

Remember Always Back Up Your Template Before You Make Changes – How To Back Up A Blogger Template 

Step 1. In Your Blogger Dashboard Click Design > Edit Html 

Step 2. Find the following piece of code in your blogs Html : (Click Ctrl and F for a search bar to help find the code – How To Find Code In Blogger Template Template) 

</body>


Step 3. Copy and Paste the following code Directly Above / Before </body>

<!– Notification code start –>
<style type=’text/css’>
#ut-sticky
{
background:url(&#39;http://3.bp.blogspot.com/-7oGSlq30cTw/Tv33CS4WGgI/AAAAAAAAA0w/HxId_tRUae8/s1600/ut-bg.png&#39;) repeat; 

color:#fff;

text-align: center;
margin:0 auto; 

border-top: 1px solid #fff;

height:28px;
font-size:13px;
position:fixed;
bottom:0;
z-index:999;
width:95%;
border-top-left-radius:15px;
border-top-right-radius:15px;
display:block;
font-weight: bold;
font-family: arial,&quot;Helvetica&quot;;

font-color:#fff;

}
#ut-sticky:hover
{background:#333;}
#ut-sticky p{line-height:5px; font-size:13px; text-align:center; width:95%; float:left;}
#ut-sticky p a{ text-decoration:underline; color:#FFFF33;}
.ut-cross{display:block; position:relative; right:15px; float:right;}
.ut-cross a{font-size:18px; font-weight:bold; font-family:&quot;Arial&quot;; color:#FF0000; line-height:30px;}
</style>
<div id=’ut-sticky’>
<p>Add This Transparent Notification Bar To Your Blog <a href=’http://www.pctricksarena.blogspot.com.com’ target=’_blank’>Transparent Notification Bar</a></p>
<div class=’ut-cross’><a href=’javascript:hide_cross();’>X</a></div>
</div>
<script language=’JavaScript’>
function hide_cross() {
crosstbox = document.getElementById(&quot;ut-sticky&quot;);
crosstbox.style.visibility = &#39;hidden&#39;;
}
</script>
<!– End of Notification code, info – http://www.pctricksarena.blogspot.com –>

How to change color and Notification Message.

In this code i have chosen such a color combination so that its looks transparent and whenever you take your mouse on this bar it become more visible.

Change Message – The message and link are highlighted in red above, change as required.
The colors used for the bar are highlighted Enjoy Guys! and don’t forget to post your comments. � MyTricksTime.com

IPL 2013 Schedule / PEPSI IPL 6 Timetable � Match List (revised)

IPL 2013 Schedule and PEPSI IPL 2013 Time table of season 6 with venue and matches timings list are displayed here and this is the revised schedule. PEPSI IPL 2013 is scheduled to be held in April 2013. Chennai won the match today and has proved that its a master in T20 format game and thala Dhoni is in full form. There was no problem in chennai due to this sri lankan problem and all the matches are going smoothly and peacefully. Vijay mallya might be facing a problem here and there due to his kingfisher bankrupcy. Once up on a time he was in the list of top richest man.. But see now, its all changed. Same applies to cricket too. No one can guess this.Daily match list can be seen in this website and you can actually go ahead and bookmark this

page. Due to karnataka elections, schedule for 10 matches are changed and this schedule list shows the updated latest time table. Sri lankan players wont be playing this IPL 2013 in chennai due to political problems. State government has not allowed sri lankan cricketeers to enter tamil nadu.. No matter what happens T20 cricket is gonna win forver.Excitement for IPL 2013 is getting bigger each day. People are already fighting for tickets for pepsi IPL season 6 cricket matches.

PEPSI has won the IPL Sponsorship rights for 5 years to sponsor IPL 2013 � edition 6 schedule 6 and time table. This is the confirmed schedule of IPL 2013 match timings and schedule with venue.. The new team has been named as Sun Risers and 2013 IPL Auctions are over and final team list is out. Book your IPL 2013 Tickets now.
Top Readers comments
  • oye weeeeeeeeeeeeeeeeeeeeeeeeeee i want todays match schedule 2013 to win all game daily  and i want to support rajisthan royals  shilpa shetty
  • nooo! This RCB ,CSK ,KKR ,DD ,PWI, MI,RR,KXP can�t rockkkkkkkkkk because SUN RISES HYDERABAD IS IN IPL Sun RISES Will Rock This IPL VER VERY VERY VERY VERY BIGGGGGG Don�t Worry Oher Team Supporters without SUN RISES HYDERABAD FANS WE WILL ROCK THIS TIMeI AM A BIG FAN OF DAVID WARNER I WANT WARNER`S NUMBER HE WANT TO SEND A EMAIL IN THIS ID IAM IN TAMIL NADU THOOTHUKUDI DISTRICT KOVILPATTI
  • This s I p l.  T20.  20.  East. R. West.   This time. R. C. B. Is the best.  So no doubt. R c. B going to
  • win the cup  ����!what the  hell happened chennaai super kings jayalalitha
  • iam with sunrisers hyderabad and they will win the ipl trophy of 6th season go on sunrisers hyderabad
  • IPL 2013 Schedule is so nice and good and the ipl 2013 time table is the best among all seasons of this cricket tournament.
  • need not to say its KKR da winning team for this year too..,..Wish u all da luck n yes love u Shahrukh
  • IPL6 winners will be (Aamchi ) Mumbai. Any takers?
  • I want and wait to Mr.Chris Gayle all shots (Sixs). In that time i forget my all problems. I am a fan of my star Chris Gayle. We are await for our huge sixer shots. (My god please avoid April and May  month current cut schedule).
  • Chennai super kings is the best in last all IPL Series. 4 time he�s qualified final and 2 times win the Trophy. So this comment is not in this match only. All the matches (IPL-2013) CSK win and get the Title. I wish to DHONI &amp; CO.
  • i think this is right decision that rickey ponting is playing for mumbai indians
  • I am a very good fans of CSK�����.so I wish all the CSK team members Best of Luck to all of you please keep shine with the 6th edition of IPL �������.keep rolling the of CSK��.and remember the year of 2010��and��.2011���.chears����..
  • Now i think that this is the time that MI should show something special to the crowd and take the trophy with them
  •  MuMbAi InDiAnS Rocks m/
  • East or west chennai super kings is the best.csk will win 2013 ipl
  • pune worriers india this times rock & yuvraj sing back in side, he will do funtastic job for his team
  • Sahara Pune Warriors is best and now Yuvi is back . He will do great perforformance for his team and make a winner in 2013 IPL the season 6.
  • kolkatta will win ipl 6 sure 100% if not .so rajsthan will win ipl 6
  • Bangalore Won�t win this ipl 2013
  • Chennai Super Kings is in good form and more chances are there in they are reaching to finale. But winner is in guess only. Wait and watch
  • Chennai is the one of the best team in ipl and will confident win this series ipl 2013, M.s Dhoni is world best captain no.1@@@@@@@@@@@��
  • mumbai indians is the champions of 2013 dlf ipl6 best of luck mumbai in the april4th rcb vs mi beat the rcb and all the teams and take the trophy
  • Kolkata or Bangalore are in good form interms of players recent performances so there is more chance for them to win 6th IPL Trophy
  • mumbai indians won the ipl 6 because the ricky ponting is captain of the team
  • one & only delhi won the ipl 6
  • and viru right back to india open the innings against south afericaThis 2013 IPL will win only chennai super king , becaus CKS is strong team in this time and MS Dhoni infom �..
  • If Dada Sourav Ganguly Not Playing IPL 6�does it any mean for me to watch ipl  6 matches�����.M a big fan of dada after playing 183 In 1999 World Cup  I Have seen every match��.this time m not interested to watch any ipl 6 match Because Of Him����
  • Chheennnaaaiiii�no questions�Every other team relies on one or few outstanding players�only chennai has lots of match winners�they can never be crused�they might looses matches here and ther but never anywhere near the bottom of the table because..they are a classic team�not win matches like other teams by luck�It s the only consistent performing team in IPL history�Cheennaiku whistle podu
  • I want and wait to Mr.Chris Gayle all shots (Sixs). In that time i forget my all problems. I am a fan of my star Chris Gayle. We are await for our huge sixer shots. (My god please avoid April and May  month current cut schedule).
  • Chennai super kings is the best in last all IPL Series. 4 time he�s qualified final and 2 times win the Trophy. So this comment is not in this match only. All the matches (IPL-2013) CSK win and get the Title. I wish to DHONI &amp; CO.
  • this year 2013 ipl cup to punjab team
1st  IPL ( 2008 ) - Rajasthan Royals ( RR vs CSK )
2nd IPL ( 2009 ) - Deccan Chargers ( DC vs RC )
3rd IPL ( 2010 ) - Chennai Super Kings ( CSK vs MI )
4th IPL ( 2011 ) - Chennai Super Kings ( CSK vs RCB )
5th IPL ( 2012 ) - Kolkata Knight Riders ( CSK vs KKR )

6th IPL ( 2013 ) - Who ??? guess people..
Latest PEPSI IPL 2013 Match Schedule / IPL 6 Fixtures with timings:
Date TIME Details Match Venue
03-Apr 2013 8:00 PM Kolkata Knight Riders vs Delhi Daredevils Kolkata
04-Apr 2013 8:00 PM Royal Challengers Bangalore vs Mumbai Indians Bangalore
05-Apr 2013 8:00 PM Sunrisers Hyderabad vs Pune Warriors Hyderabad
06-Apr 2013 4:00 PM Delhi Daredevils vs Rajasthan Royals Delhi
06-Apr 8:00 PM Chennai Super Kings vs Mumbai Indians Chennai
07-Apr 4:00 PM Pune Warriors vs Kings XI Punjab Pune
07-Apr 8:00 PM Sunrisers Hyderabad vs Royal Challengers Bangalore Hyderabad
08-Apr 8:00 PM Rajasthan Royals vs Kolkata Knight Riders Jaipur
09-Apr09-Apr 8:00 PM4:00 PM Mumbai Indians vs Delhi DaredevilsRoyal Challengers Bangalore vs Sunrisers Hyderabad MumbaiBangalore
10-Apr 8:00 PM Kings XI Punjab vs Chennai Super Kings Mohali
11-Apr 4:00 PM Royal Challengers Bangalore vs Kolkata Knight Riders Bangalore
11-Apr 8:00 PM Pune Warriors vs Rajasthan Royals Pune
12-Apr 8:00 PM Delhi Daredevils vs Sunrisers Hyderabad Delhi
13-Apr 4:00 PM Mumbai Indians vs Pune Warriors Mumbai
13-Apr 8:00 PM Chennai Super Kings vs Royal Challengers Bangalore Chennai
14-Apr 4:00 PM Kolkata Knight Riders vs Pune Warriors Kolkata
14-Apr 8:00 PM Rajasthan Royals vs Kings XI Punjab Jaipur
15-Apr 8:00 PM Chennai Super Kings vs Pune Warriors Chennai
16-Apr 4:00 PM Kings XI Punjab vs Kolkata Knight Riders Mohali
16-Apr 8:00 PM Royal Challengers Bangalore vs Delhi Daredevils Bangalore
17-Apr 4:00 PM Pune Warriors vs Sunrisers Hyderabad Pune
17-Apr 8:00 PM Rajasthan Royals vs Mumbai Indians Jaipur
18-Apr 8:00 PM Delhi Daredevils vs Chennai Super Kings Delhi
19-Apr 8:00 PM Sunrisers Hyderabad vs Kings XI Punjab Hyderabad
20-Apr 4:00 PM Kolkata Knight Riders vs Chennai Super Kings Kolkata
20-Apr 8:00 PM Royal Challengers Bangalore vs Rajasthan Royals Bangalore
21-Apr 4:00 PM Delhi Daredevils vs Mumbai Indians Delhi
21-Apr 8:00 PM Kings XI Punjab vs Pune Warriors Mohali
22-Apr 8:00 PM Chennai Super Kings vs Rajasthan Royals Chennai
23-Apr 4:00 PM Royal Challengers Bangalore vs Pune Warriors Bangalore
23-Apr 8:00 PM Delhi Daredevils vs Kings XI Punjab Delhi
24-Apr 8:00 PM Kolkata Knight Riders vs Mumbai Indians Kolkata
25-Apr 8:00 PM Chennai Super Kings vs Sunrisers Hyderabad Chennai
26-Apr 8:00 PM Kolkata Knight Riders vs Kings XI Punjab Kolkata
27-Apr 4:00 PM Rajasthan Royals vs Sunrisers Hyderabad Jaipur
27-Apr 8:00 PM Mumbai Indians vs Royal Challengers Bangalore Mumbai
28-Apr 4:00 PM Chennai Super Kings vs Kolkata Knight Riders Chennai
28-Apr 8:00 PM Delhi Daredevils vs Pune Warriors Delhi
29-Apr 4:00 PM Rajasthan Royals vs Royal Challengers Bangalore Jaipur
29-Apr 8:00 PM Mumbai Indians vs Kings XI Punjab Mumbai
30-Apr 8:00 PM Pune Warriors vs Chennai Super Kings Pune
01-May 4:00 PM Sunrisers Hyderabad vs Mumbai Indians Hyderabad
01-May 8:00 PM Delhi Daredevils vs Kolkata Knight Riders Delhi
02-May 4:00 PM Chennai Super Kings vs Kings XI Punjab Chennai
02-May 8:00 PM Pune Warriors vs Royal Challengers Bangalore Pune
03-May 8:00 PM Kolkata Knight Riders vs Rajasthan Royals Kolkata
04-May 8:00 PM Sunrisers Hyderabad vs Delhi Daredevils Hyderabad
       
05-May 4:00 PM Mumbai Indians vs Chennai Super Kings Mumbai
05-May 2013 8:00 PM Rajasthan Royals vs Pune Warriors Jaipur
06-May 8:00 PM Kings XI vs Royal challengers Mohali
07-May 4:00 PM Rajasthan Royals vs Delhi Daredevils Jaipur
07-May 8:00 PM Mumbai Indians vs Kolkata Knight Riders Mumbai
08-May 8:00 PM Sunrisers Hyderabad vs Chennai Super Kings Hyderabad
09-May 4:00 PM Kings XI Punjab vs Rajasthan Royals Mohali
09-May 8:00 PM Pune Warriors vs Kolkata Knight Riders Pune
10-May 8:00 PM Delhi Daredevils vs Royal Challengers Bangalore Delhi
11-May 4:00 PM Pune Warriors vs Mumbai Indians Pune
11-May 8:00 PM Kings XI Punjab vs Sunrisers Hyderabad Mohali
12-May 4:00 PM Kolkata Knight Riders vs Royal Challengers Bangalore Ranchi
12-May 8:00 PM Rajasthan Royals vs Chennai Super Kings Jaipur
       
13-May 8:00 PM Mumbai Indians vs Sunrisers Hyderabad Mumbai
14-May14-May 4:00 PM8:00 PM Royal Challengers Bangalore vs Kings XI PunjabCSK vs DD BangaloreChennai
15-May 4:00 PM Chennai Super Kings vs Delhi Daredevils Chennai
15-May15-May 8:00 PM4:00 PM Mumbai Indians vs Rajasthan RoyalsKolkata Knight Riders vs Pune Warriors MumbaiRanchi
16-May 8:00 PM   Dharmasala
17-May 8:00 PM Sunrisers Hyderabad vs Rajasthan Royals Hyderabad
18-May 4:00 PM Kings XI Punjab vs Mumbai Indians Dharmasala
18-May 8:00 PM RCB vs CSK Bangalore
19-May 4:00 PM Pune vs Delhi Pune
19-May 8:00 PM Sunrisers Hyderabad vs Kolkata Knight Riders Hyderabad
21-May 8:00 PM Qualifier 1 : TBC vs TBC Chennai
22-May 8:00 PM Eliminator:  TBC vs TBC Chennai
24-May 8:00 PM Qualifier 2: TBC vs TBC Kolkata
26-May 8:00 PM IPL Finals:   TBC vs TBC Kolkata

Enjoy Guys! and don’t forget to post your comments. � MyTricksTime.com

Speed up our blog by hosting CSS files externally

Nowadays, blogs and websites are ranked on basis of various factors and page load speed is also one of the factor on which your search rank depends.
If you are on Blogger then the reason you don’t get good search results if compared to similar WordPress blogs is because WordPress sites load faster and that’s because the CSS for the website is hosted externally.

In blogger templates the CSS styles are always internal and those CSS lines are 100s in number. The simple template in Blogger have more than 20kb of CSS styles inside the document.You maybe thinking how 20kb of CSS can slow down your page, 20kb can be downloaded easily with speed or even slow internet connection but here it’s not about your internet connection speed, it is about your page’s speed. Every single bytes can decide your rankings on search pages.

The first thing you must check is your current page speed marks, the highest score you can get is 100.
[Click here to check your Page Speed]

If you get less than 90 then you should now host the CSS externally and speed up your site.

Get your CSS codes into a stylesheet file

Note: The first step to out the CSS styles in your template on an external stylesheet file. To do that you have to make changes into your template, so i suggest you to keep a backup of your template for future.

You are now ready to remove the CSS from your template and put it into a CSS file. Follow the instruction below.

Create a CSS file

Before you take out the CSS codes from the template you have to make a stylesheet file. You don’t need any special tool to create a .css file. You just need a plain text editor (notepad).

  1. Open Notepad, don’t type anything 
  2. Click on the file menu and click on Save As
  3. Locate where you want to Save the file
  4. Now name your file with .css at end, in Save As type place select ‘All Files’ and in Encoding select ‘UTF8’ that is it. See what it should look like this

  5. Save the file and it will be in a .css format if you did it right

Continue the next section to learn how to take out all the CSS in your blogger template and then put it into the stylesheet file

Move style code from template to stylesheet

Now you have to open up your template code, you can do it by going to Blogger Dashboard -> Template -> Edit HTML ->  and Proceed.

Now copy all the CSS codes you have in your template and paste it into the stylesheet file we just created and delete the codes from template as you have now pasted it already into the file.


Note: You can not normally use the Blogger’s default CSS code which has dollar sign into it’s values for example font: $(body.font); as the value of a property is fetched from database, so you can’t use it into a normal stylesheet file. If you want to speed up your blog page more efficiently than you can ask me to make the blogger’s CSS code compatible with a stylesheet for as low as $8 as a donation amount. Contact me on my email i[email protected] or [email protected] or both

Host the file

Now when you have made the stylesheet file ready with the codes you can now upload it to your hosting service [Click here to know how to use free DropBox as CDN]. When the file is uploaded, get the hotlink (direct link) to it.

Attach it to your template

This is the last step, you now have to link the hosted CSS file to your template so it fetches the styles from the stylesheet. To do that go to your Blogger Dashboard -> Template -> Edit HTML -> Proceed -> Use CTRL+F5 to find </head> and paste this code above </head> 
1
<link rel='stylesheet' type='text/css' href='http://host.com/files/stylesheet.css'/>
You obviously have to have the link in the href value, replace this link in above HTML

http://host.com/files/stylesheet.css

With the link to CSS file hosted by you.

Enjoy Guys! and don’t forget to post your comments. � MyTricksTime.com