Google Adsense Earning Trick With Coading Sript

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

Sunday, 19 May 2013

How To Display Codes On Your Desired Page/Post In Blogger?

Posted on 04:51 by Ashish Chaturvedi
Today is the common problem is "How To Display Gadgets Or Widgets Or HTML Codes That Are Added To Your Blogspot Template On Your Desire Page/Post In Your Blog With Little CSS Code?", Ther just give you the codes and you did not want that on every page or post, So the time is over now you just get html code and display it there where you want to show it.

When you add the html for a gadget to your blog and want to show it only on your desired page, post or place, then just add a snippet of your desired from given below to your code above it and a closing tag below it. Remember for some gadgets and code that also have CSS, JavaScript And JQuery Codes.
They generally direct you to add there Css code you added above ]]></b:skin> and there Script code above </head>. But why you have to do this as you have to allow your widget or code to displayed over your desired single page but there CSS-JavaScript on every page that will make your load time heavy and that will annoy your visitor? Then you also add your that code CSS-Script code also in it.

What Are These Codes?

Blogger conditional tags usually have the <b:if cond=..> starting and an ending of </b:if>.These codes are actually the condition that we keep.We use blogger conditional tags to show certain things only in homepage.or some other things only in post pages.We can there by control where the widget or item should be visible.Lets go into further details Now you understand it, here we come directly to the code that are also known as "Blogger Conditional Tags". Here we have most wanted code.

Blogger conditional tag is very important in blogger, because this fonction can make every blogger page different style, not only style CSS but you can put anything. In internet has already many tutorial about this, but it's only a basic tutorial, this tutorial is not basic but advanced, not only page but it can be used for any condition. Ok now for the article....

Features:

1.) 15 Blogger Conditional Tags Collection.
2.) Quick To Load And Easy To Install.
3.) Work With Every Codes.
4.) Official Tags Codes.
5.) Only Be Used In Blogger Template.

How To Add In Blogspot?

1.) Go To Your www.blogger.com
2.) Open Your Desire Blog.
3.) Go To "Template".
4.) Click "Edit HTML".
5.) Now Click Within Code Box.
6.) Now Copy The Below Code And Paste It Between "<head> </head>" Or  "<body> </body>".
7.) Click "Save Template" And Done.

Code Will Be Only On Post Pages:-

The tag we add to the html so it only appears on post pages is this :
<b:if cond='data:blog.pageType == "item"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Home Page Only:-

The code will be displayed only on your home page.
<b:if cond='data:blog.url == data:blog.homepageUrl'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Everything Except Post Pages:-

The code will be displayed only on (Home page, Labels pages, Archive pages etc).
<b:if cond='data:blog.pageType == "index"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On One Post Or On Page:-

The code will be displayed only on one post or page.
*) Change The Below Text With Your Desire URL.
<b:if cond='data:blog.url == "URL-Of-Post/Page"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On All Static Pages:-

The code will be displayed only on the static pages.
<b:if cond='data:blog.pageType == "static_page"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Selected Author Posts:-

The code will be displayed only on Selected Author Posts.
*) Change The Below Text With Your Desired Author Name As In Blogger Profile.
<b:if cond='data:post.author == "Author-Name"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On 404 Error Page:-

The code will be displayed only on 404 Posts.
<b:if cond='data:blog.pageType == "error_page";'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Archive Page:-

The code will be displayed only on archive page like http://www.exeideas.com/2013_01_01_archive.html
<b:if cond='data:blog.pageType == "archive"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Post And Static Page:-

The code will be displayed only on only on post and static page.
<b:if cond='data:blog.pageType == "data:post.url"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On First Post:-

The code will be displayed only on first post.
<b:if cond='data:blog.pageType == "data:post.isFirstPost"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Label Page:-

The code will be displayed only on serach label page or label page like http://www.exeideas.com/search/label/anylabel.
<b:if cond='data:blog.pageType == "data:blog.searchLabel"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Query Search Page:-

The code will be displayed only on query serach page like http://www.exeideas.com/search?q=anything
<b:if cond='data:blog.pageType == "data:blog.searchQuery"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>


Code Will Be Only On Selected Query Search Page:-

The code will be displayed only on selected query serach page like http://www.exeideas.com/search?q=css
*) Change The Below Text With Your Desired Query Keyword.
<b:if cond='data:blog.searchQuery == "The-Query-Keyword"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Selected Label Page:-

The code will be displayed only on selected label page like http://www.exeideas.com/search/label/Blogspot
*) Change The Below Text With Your Desired Label Name.
<b:if cond='data:blog.searchLabel == "Name-Of-Label"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Code Will Be Only On Mobile Template:-

The code will be displayed only on Mobile template like http://www.exeideas.com?m=1
<b:if cond='data:blog.pageType == "data:blog.isMobile"'>
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>

Reversing Any Condition:

A condition can be reversed simply by replacing the comparison operator from ==(is equal to) to != (is not equal to), like so:
<b:if cond="data:blog.pageType !="item"">
THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS
</b:if>
In the example above, the content will only appear on pages other than post pages (i.e. removed/hidden from post pages). This method is not applicable to Label Search and First Post conditionals.

Customization:

1.) Just Add Your HTML Code By Replacing "THE-HTML-CODE-GOES-HERE-BETWEEN-THE-TAGS" With Your Desired Code.
2.) Save And Done.

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Blogger Tips, Blogger Widgets | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

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