Google Adsense Earning Trick With Coading Sript

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Friday, 31 May 2013

How to Display Post Author, Date/Time and Labels Below Post Title in Blogger

Posted on 06:09 by Ashish Chaturvedi
 
 Dear CrcaksTrick readers when you publish a post on your blog, you may see information related to your post such as Author, Time, Labels etc. on your post footer. But if you wanna get rid of post footer or make use of jump breaks, readers may not be able to find that particular information on your homepage or blog. So you would like to show them off out of post footer. Else if you just wanna customize the way that post specific information has been displayed on your blog, you would seek a way to do that too. So how about showing those information along with your post title to be differentiate and stylish


It's kind of a complex process 'cause you can't easily get off those information from post footer and display elsewhere without editing your template. However eventually, you can display essential information such as post author, date and time and labels under your post title though you keep post footer or not. Bloggers who may show only snippet of post on their homepage with no footer, will obviously love this. So let me help you to show off your post related information beneath your post title.

Before You Go:
You should not be disabled displaying post date header option. And here we use Date Header Format for Date and Timestamp Format for Time. So make sure you have selected correct values for particular options. You can make sure all of these options by following below steps.

  • Go to Blogger Dashboard.

  • Click on your Blog Title.

  • Navigate to Layout from left pane
  • Now Click Edit link correspond to Blog Posts element under Page Elements tab.

  • Make sure the date option aka first option under Post Page Options heading is ticked and  selected value for that option represents full date including year, month and date.

    Note: Selected value will be displayed as the Date beneath your post title.
     
  • Now find the third option aka Timestamp format under Post Page Options and make sure the value selected for that option only shows Time, not a date.
  • Note: Selected value will be displayed as the Time beneath your post title.

  • Save your page elements.

  • Note: After enabling Date Header Format option, it will show up date above list of posts for particular date.


Steps:

1. Go to Blogger Dashboard.

2. Click on your Blog Title.

3. Jump to Templatetab.

Note: Before editing your template, you may want to save a copy of it. Read How to Back Up Your Template.

4. Click on Edit HTML button.

5. Now search for <b:if cond='data:post.dateHeader'> and identify which code snippet matches with yours from below. You may have either one code snippet in your template. Then select matching code snippet in your template.

Code Snippet 01
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
</b:if>

OR

Code Snippet 02
<b:if cond='data:post.dateHeader'>
<h2 class='date-header'><data:post.dateHeader/></h2>
</b:if>

6. Now replace your whole code snippet with following.

Note: If you code snippet matches with Code Snippet 01 above, use the Code Snippet 01 code below to replace your snippet. Else if you have Code Snippet 02, the use Code Snippet 02 below.

Code Snippet 01
<b:if cond='data:post.dateHeader'>
<script>var DateScript = '<data:post.dateHeader/>';</script>
<h2 class='date-header'><span><data:post.dateHeader/></span></h2>
<b:else/>
<h2 class='date-header'>
</h2>
</b:if>

Code Snippet 02

<b:if cond='data:post.dateHeader'>
<script>var DateScript = '<data:post.dateHeader/>';</script>
<h2 class='date-header'><data:post.dateHeader/></h2>
<b:else/>
<h2 class='date-header'>
</h2>
</b:if>

7. Now search for <div class='post-header-line-1'/> and add following code right after that. I have implemented the code using a table to make it more organized.


<b:if cond='data:blog.pageType != "static_page"'>
<table style="font-size: 12px">
<tr valign='top'>
<td>
<img src='[Author Icon]' style='vertical-align:middle;padding-right:5px;'/>
</td>
<td>
<span class='post-author vcard'><b:if cond='data:post.authorProfileUrl'><span class='fn'><a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'><data:post.author/></a></span><b:else/><span class='fn'><data:post.author/></span></b:if></span>
</td>
<td>
<img src='[Date/Time Icon]' style='vertical-align:middle;padding-left:10px;padding-right:5px;'/>
</td>
<td>
<script>document.write(DateScript);</script> at <data:post.timestamp/>
</td>
<td>
<img src='[Label Icon]' style='vertical-align:middle;padding-left:10px;padding-right:5px;'/>
</td>
<td>
<b:if cond='data:post.labels'><b:loop values='data:post.labels' var='label'><a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'> </b:if></b:loop></b:if>
</td>
</tr>
</table>
</b:if>



Color Indication Information












































Font Size

You can change text size of author name, date/time and labels here if you prefer. Just specify your value here in pixels.

URL of the Icon

You can specify URL of 16 x 16 pixels icons to show leading icons for information you displayed. For example, use an icon represent an author for Author Icon. If you need no icons, just remove whole image tag completely.

i.e: <img src='[Author Icon]' style='vertical-align:middle;padding-right:5px;'/>

 Post Author

This is tag which displays author of the post. If you need to append a text for that such as 'Post by', add your text before or after the tag.

i.e: Before: Post By <data:post.author/>      After: <data:post.author/> posted this.

 Published Date of Post


This tag displays date published of the corresponding post. It uses script to get post date. You can add more text to make it more informative by adding text as explained in Post Author.

 Published Time of Post

This tag displays published time of the corresponding post. You can add more text to make it more informative by adding text as explained in Post Author. I have added at text before that.

 Labels/Categories Related to your Post

This is code snippet which pops up labels you specified when you publish your post. You can add more text to make it more informative by adding text as explained in Post Author.

Text in between Labels
This is text in between multiple labels. I have specified just only a space. but you can specify a punctuation mark like comma (,) here.

That's Done!!!!!
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Blogger Widgets | 1 comment
Newer Post Older Post Home

1 comment:

  1. Unknown18 January 2016 at 10:38

    Hello, i don't know why that hack doesnt work for me, i don't get any result at all !! please help me

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Subscribe to: Post Comments (Atom)

Popular Posts

  • Place Qadabra ads inside blogger post
    Dear bloggers I have given you many ways to insert codes and ads between blogger posts. Today I am introducing you to put the famous ad sens...
  • 7 Best Shorten URL
    7 Best Shorten URL and Earn Money Sites that Pays for Clicks Most of the internet users must be knowing about this URL shortener sites ( Sho...
  • How to add Scrollbar within the Blogger Post
                                                Sometimes your blog post contents or text gets too long and you wants to add some blog post pa...
  • How To Automatically Add Blogger Post To Facebook
    Today you know that the best way to spread your article is social media. So after posting your article many bloggers usually add the article...
  • Super Ram 6 Pro Full with Patch for Free
    SuperRam is basically an utility tool to enhance the performance of your computer.Its main features are as follows: Compatible with Microsof...
  • Create a Contact Form With File Upload Option
    The contact form that I am using on this blog is from emailmeform and it is all free but customized using CSS. I previously published a p...
  • How To Convert A Facebook Account To Page?
    Dear readers to I will tell you haw to convert your personal facebook account to a facebbok page.  Are you still using a personal Facebook p...
  • Advanced SystemCare 5 Pro With Serial Number
                                                                 Advanced System Care 5 takes a one-click approach to protect, repair, clean, a...
  • Uniblue SpeedUpMy PC 2013 Full with License Key
    I am thankful to "bhagerath " who has shared this information with us. Speed Up My PC is a well known software which used for tw...
  • How to create your own keyboard shourcut
    Are there folders or applications you need a lot or use them havily?  Do you know that you can create your own keyboard shortcut to quickly...

Categories

  • Adsense Earning (11)
  • Anti Virus (4)
  • blog (1)
  • Blogger Tips (79)
  • Blogger Widgets (37)
  • Earn money online (19)
  • Earning By File Uploading (1)
  • Games (1)
  • Hacking (3)
  • Internet (1)
  • Media Players (1)
  • Moblie Tricks (13)
  • Modem Unlocker (1)
  • Online Jobs (13)
  • PC Tricks (16)
  • Serial Keys (2)
  • Skins For Windows (1)
  • Small And Easy Jobs (8)
  • Softwares (29)
  • Speed Up PC (6)
  • Tips for High Traffic (8)
  • Tricks (38)
  • URL Shortner (2)
  • Utilities (21)
  • Web Designer Software (3)
  • Website Tricks (24)
  • Windows (10)

Blog Archive

  • ▼  2013 (183)
    • ►  July (3)
    • ►  June (25)
    • ▼  May (152)
      • Tips on Designing Effectve Navigation for Website ...
      • How to Display Post Author, Date/Time and Labels B...
      • Why you should buy custom domain for blogger Blog
      • Tips to get approved by Google AdSense
      • How to add Scrollbar within the Blogger Post
      • Optimizing Your Site for Mobile Users: Plugin Vs. ...
      • How to add stylish multicoloured popular post widget
      • Top Sites To Do Online Jobs
      • Add Multi-Tabbed widget to Blogger Sidebar
      • Add Animated Scrolling Recent Post Widget In Blogger
      • Add Recent Comments Widget with Rounded Images for...
      • Add 3 In 1 Slide Out Follower Box Widget to Blogger
      • Boost Up Blog Comments In Exchange Of Incentives F...
      • Optimizing Your Site for Mobile Users: Plugin Vs. ...
      • Don't Forget To Join Our Community Popup Widget fo...
      • Possible Reason That will Cause Your Blog to be De...
      • Widgets How to add Stylish Search box to blogger blog
      • How to Add 5 in 1 Slide Out Social Subscribing Wid...
      • How To Add Buibbles Effect In Blogger
      • Feedburner subscribe via email gadget
      • How to Create Google custom search Engine
      • Add customized three column footer in blogger blog
      • Importance Of PPC In Online Marketing
      • Stylish Design your Cloud Label and Categories Wid...
      • Submit your blogs to Search Engines
      • Make money online with traffic exchange
      • DELETING files beyond recovery
      • Make money with Aurora websites
      • Make money with completing offers
      • How To Increase The Virtual Memory Of Your PC ?
      • Chitika Adsense
      • How to trace any phone number in the World ?
      • How to fix microsoft dotnet framework 3.5 on Windo...
      • Best Shortcuts and Tricks Windows 8
      • Display post author, date, labels and comments wit...
      • Top 5 High Paying Alternatives to Google AdSense
      • Stylish Facebook Like Box POP-UP With Timer For Bl...
      • How to Add Footer Column Widget into Blogger blog
      • Best Way To Optimise Adsense Earning
      • Optimize Blog Post Titles Using H2 Tag - Increase ...
      • Publish Several Posts Per Day To Boost Traffic!
      • Requirements" To Make Money Through Blogging
      • Important things to consider Before Starting Blogg...
      • Ways To Optimize AdSense Ads To Increase Revenue
      • Best Money Back Guaranteed Earning Methord
      • How to create your own keyboard shourcut
      • How to recover your lost cell phone India
      • Tool to Measure the Speed of Your Website
      • LG secret codes
      • Secret Codes For Nokia
      • Speed up your internet connection any software
      • How to install windows quickly or save your time w...
      • How to protect gmail account from hackers
      • 8 ways to access blocked websites
      • How to create facebook Chat codes
      • How to boost internet speed by 20% without any sof...
      • Top 5 most Dengerous notepad Tricks
      • Download Connectify Hotspot Pro 4.3.3 Full Version...
      • Shortcut keys ABCs
      • HOW TO INCREASE INTERNET SPEED TO MAXIMUM AVAILABL...
      • Download Mac Blu-ray Player for Windows 2.8 Fully ...
      • How to add facebook comment box in blogger
      • How to Convert Normal Sim Card to Micro Sim
      • One Click Way to Find the Best Indian Mobile Plans...
      • Earn Money With TusFiles By Uploading And Sharing ...
      • Expandable Recent Comments Widget for Blogger/Blog...
      • Create Navigation Menu With Drop Down Submenus
      • How To Remove Blogger Attribution Gadget
      • Add a Blog To My website
      • How can I optimize my site for search engines?
      • How To SEO Optimize Your Blogger Blog Titles For H...
      • Make Money Online Via Bux Sites
      • Earn Money Via Your Facebook Profile
      • Embed IP Address Widget Of Visitor On Your Blog Or...
      • Blog Rank Checker Widget
      • Fixed Top Bar With Close Button For Blog And Website
      • How To Make Your Blog For Low Speed Connection?
      • Stylish And Awesome Search Engine Boxes For Blog &...
      • How To Make Your Own Custom Folder Locker
      • How To Make AutoRun CD And Change CD Icon?
      • How To Install Linux On Top Of Windows OS
      • Exciting Combination Of Mobile Technology And Auto...
      • How To Add/Remove Gadget/Widget To Your Mobile Blo...
      • How To Add Automatically Copyright When Copying Yo...
      • Secure/Protect Your Blog/Website From 1st Degree C...
      • Secure/Protect Your Blog/Website From Content Copier
      • Secure/Protect Your Blog/Website Images From Copier
      • Secure/Protect Your Blog/Website From 2nd Degree C...
      • How To Use Free Web-Hosting Websites As Free Domai...
      • How To Display Codes On Your Desired Page/Post In ...
      • Positive Points Of Guest Blogging To Make It Usefu...
      • Stylish "List Of Post/Article" Widget For Blogger
      • Success Secrets of Pete Cashmore who started blogg...
      • How to increase traffic of blog/website
      • Earn Money From mGinger By Reading SMS and Mails
      • Call Any One From Any Mobile Number
      • Trick to Lock Your Computer in Windows 7 , XP and ...
      • Free GPRS Trick on PC for Reliance SMART Using USB...
      • Super Ram 6 Pro Full with Patch for Free
      • Download Universal Keygen Generator for Free
    • ►  January (3)
  • ►  2012 (15)
    • ►  December (15)
Powered by Blogger.

About Me

Ashish Chaturvedi
View my complete profile