Due to some circumstances, this blog is now up for sale, for more enquires contact: Plushista@gmail.com
RealcomBiz
Pin It

Show Or Hide Blogger Widget On Homepage, Post Pages, Static Pages, Or On Selected Pages

by Unknown | Saturday, February 02, 2013 | 24 Comments

It is always important that you control how widget function in your blog, because their are some widget that are suitable mostly for homepage only while some makes sense post pages, archive pages, and so on. Most frequently asked question by my blog readers is that how can they hide a particular widget (especially recent post widget) from displaying in homepage in other to reduce the load time of their homepage, while some are interested in showing a widget on only homepage. So if you are also interested in controlling your widget performance, then this tutorial will trash out your worries.
We will be using different conditional tag to selectively display widget on any preferred pages.


How To Show Widget Only On Homepage

Use the following conditional tag to show widget on homepage only.

<b:if cond='data:blog.url == data:blog.homepageUrl'>

WIDGET CODE HERE

</b:if>

How To Hide Widget On Homepage

<b:if cond='data:blog.pageType == "item"'>

WIDGET CODE HERE

</b:if>

How To Show Widget Only On Static Pages

<b:if cond='data:blog.pageType == "static_page"'>

WIDGET CODE HERE

</b:if>

How To Hide Widget On Static Pages

<b:if cond='data:blog.pageType != "static_page"'>

WIDGET CODE HERE

</b:if>

How To Show Widget Only On Archive Pages

<b:if cond='data:blog.pageType == &quot;archive&quot;'>

WIDGET CODE HERE

</b:if> 

How To Hide Widget On Archive Pages

<b:if cond='data:blog.pageType != &quot;archive&quot;'>

WIDGET CODE HERE

</b:if> 

How To Show Widget On A Selected Post

<b:if cond='data:blog.url == "URL Of Selected Post"'>

WIDGET CODE HERE

</b:if>

How To Hide Widget On A Selected Post

<b:if cond='data:blog.url != "URL Of Selected Post"'>

WIDGET CODE HERE

</b:if>

How To Wrap Widget With The Conditional Tag

The conditional tag can be applied to any widget using the same procedure.
  • Go to your blogger dashboard
  • Click on Template > Edit HTML > Proceed (Mark/Tick Expand Widget Template)
Every widget has a code structure, but you can easily locate a widget using the widget title. Each widget code structure will look like the following:

<b:widget id='Widget-ID' locked='' title='Widget-Title' type=''>
<b:includable id='main'>


LARGE CODE


</b:includable>
</b:widget> 

Wrapping the widget with any conditional tag, the final result will look like the following:

<b:widget id='Widget-ID' locked='' title='Widget-Title' type=''>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>

LARGE CODE

</b:if>
</b:includable>
</b:widget>

The conditional tag used above is just an example, you can choose any condition tag of your choice, and the same procedure applies to all.
Any queries or contribution/appreciation is highly welcome, and don't forget to share it with friends/followers.



Go Social:

Subscribe For Free Updates!

*Please confirm the email sent to your inbox after clicking "Sign Up!".

24 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. How to hide post images in homeapages.

    ReplyDelete
  2. I have different pages in my blog. I want to categorize posts for particular pages only and it should not show in home page. How I can do this?

    ReplyDelete
  3. I would like to say that this blog really convinced me to do it! Thanks, very good post.
    game sniper | geometry dash lite|agario skins happy wheels happy wheels game hulk | pac man | my little pony |mahjong games

    ReplyDelete
  4. Dear, I like all your post very much, it tells me so many thins that I do not touch before, hope you can do this job all the time. By the way, I want to introduce a useful Free Photo Recovery Software, which is a fantasy.

    ReplyDelete
  5. The blog or and best that is extremely useful to keep I can share the ideas. Age Of War 2
    Big Farm | Slitherio | Tank Trouble
    Of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
    Happy Wheels | Goodgeme Empire | Slither.io

    ReplyDelete
  6. On the off chance that you are a potential borrower, who as of now has a terrible record as a consumer, at that point it might bode well for you to settle on the no printed material payday credits as they don't require any check by the moneylender.
    Payday Loans San-diego

    ReplyDelete
  7. Ensure that you settle your advance manage a solid loan specialist. Hunting down a dependable source is a sorry bother with this credit arrange as the real hazard figure is on the loan specialist's side.
    Cash Advance

    ReplyDelete
  8. From time to time something startling comes up and we require some brisk money, and that is cash that can't hold up until the following payday. An auto title credit can be a way to give that snappy money that you require, and should typically be possible in one day or less.
    car title loans near me chicago

    ReplyDelete
  9. . This is the reason you ought to be careful about the promotions that are much of the time seen
    Cash Advance Chula-vista

    ReplyDelete
  10. Essentially convey your ID material to your neighborhood supplier and request an application. To spare time and assets, you might need to consider hunting down suppliers online - decrease the bother! Presently you're prepared to present the application and sit tight for your endorsement letter to touch base via the post office. usacheckcashingstore.com/corona

    ReplyDelete
  11. Philosophy coursework writing service seekers have been on the rise lately since most learners need Philosophy Essay Writing Services, philosophy assignment writing services and philosophy research paper writing services.

    ReplyDelete
  12. HP Wireless Printer Setup

    Connecting a printer over a USB cable is pretty easy. But connecting a wireless printer can become very challenging quite often. Follow the HP wireless printer setup process to install it in no time.

    1. Take the printer out of the box and remove all tapes from it before starting.
    2. Plug in the power cord, turn on the printer and install the print cartridges. Allow your printer to complete its startup routine, which includes printing of an alignment page (if applicable).
    3. Go to the manufacturer's website and download drivers for your printer model.
    4. Install the drivers and follow the instructions during hp wireless printer setup process.
    5. In the meantime, go to printer's control panel and use wireless printer setup wizard.
    6. Identify your wifi network and connect the printer to it using its correct credential.
    7. Complete the wireless printer setup process by connecting to your printer model as it would appear during installation.

    For more detailed information visit: https://mchelperprintersupport.com/hp-wireless-printer-setup/



    hp wireless printer setup

    ReplyDelete
  13. Canon printer support phone number

    Canon wireless printer setup is very easy if compared with other available printers in the market. In case of any problem or confusion, canon printer support phone number is easy to get from the supplied manual. Follow canon printer setup process to install canon wireless printer.

    1. Take the printer out of the box and remove all tapes from it before starting.
    2. Plug in the power cord, turn on the printer and install the print cartridges. Allow your printer to complete its startup routine, which includes printing of an alignment page (if applicable).
    3. Go to the manufacturer's website and download drivers for your printer model.
    4. Install the drivers and follow the instructions during canon wireless printer setup process.
    5. In the meantime, go to priter's control panel and use wireless printer setup wizard.
    6. Identify your wifi network and connect the printer to it using its correct credential.
    7. Complete the wireless printer setup process by connecting to your printer model as it would appear during installation.


    For more detailed information visit: https://mchelperprintersupport.com/canon-printer-setup/



    canon printer support number

    ReplyDelete
  14. Brother Printer Setup

    We are one of the most reliable, and independent 3rd party printer technical support and service providers, providing 24/7 online or on-call technical support services to the users of brother printer at a very nominal charge. Our printer experts have extensive knowledge to set up brother wireless printer in the simple ways. For brother printer setup, you can call our Brother printer support experts 24/7.


    For more detailed information visit: https://mchelperprintersupport.com/brother-printer-support/



    Brother Printer Support

    ReplyDelete
  15. Pogo.com/sign in problems

    Check for correct User Name or Screen Name. Most of the time we rely on the browser’s auto-complete feature and select wrongly entered screen name in the past.
    Passwords are case sensitive. Therefore, always check the letter’s cases of the entered password. If possible, type the password as you use in a notepad and then copy and paste the letters in the password field. Below is a list of things you should always check before entering into troubleshooting.
    1. If any of your family member shares the same account, ask them if they might have changed the screen name or password.
    2. Look into your email inbox to get the actual screen name when you had registered with Pogo
    3. If you find any point relevant to your case, you can go to the article explaining how to reset password of your Pogo account and follow all the steps carefully to reset your pogo account password.


    For more detailed information visit: https://pogo-supportcenter.com/2020/04/01/fix-pogo-sign-in-issue/



    pogo.com/sign in problems

    ReplyDelete
  16. Gmail not working

    When your email stops working or gets hacked, don’t panic. Call Email Support Phone Number and let the highly skilled Specialists get you up running.
    Troubleshooting steps you can try to fix basic email problems:
    1: Make sure you’re connected to the web.
    2: Close the app, then reopen it.
    3: Sign out, then sign back in.
    4: Clearing the cookies and history of browser
    5: Check your browser extensions or applications and remove unwanted extensions

    For more detailed information visit: https://mail-help-number.com/gmail-not-receiving-email/



    Gmail not receiving email

    ReplyDelete
  17. It's missing perplexing individuals concerning this issue, at any rate you sound like you hear what you're yielding! Thankful to you and continue to make those gifted posts.
    If a printer has a problem like HP Printer Activation Error Code 30, our printer technicians can fix the printer problem by calling our free toll number or visiting our site immediately. Thank you!!

    ReplyDelete
  18. Bio-Ethanol Production Cost Analysis 2021


    Bio-ethanol is an ethanol derived from renewable resources. It is produced using crops and their residues after undergoing a long process. Bio-ethanol comes with several benefits over traditional or regular fuels. For example, it is derived from renewable resources and thus ensures sustainable production. Another benefit of bio-ethanol over fossil fuels is its impact on greenhouse gas emissions as it is far less toxic than fossil fuels. It significantly helps to reduce carbon footprint in the environment. Also, blending bio-ethanol along with petrol can help extend the life of the oil supplies and ensure greater fuel security, thus, preventing heavy reliance on oil-producing nations. Also, using bio-ethanol in older engines can help lower the amount of carbon monoxide emitted by the vehicles, thereby improving air quality. It can be conveniently integrated into the existing road transport fuel system, offering several environmental benefits.


    Read the full production cost analysis report of Bio-Ethanol

    ReplyDelete
  19. 'I'm highly impressed by the piece of thoughts you have shared on this portal. Assignment Achievers is a leading online assignment help provider worldwide. We are helping students with their assignments, Dissertation, Homework Writing, Case Study Writing, Essay Writing etc.

    ReplyDelete
  20. Acetylene, which is better known by its systematic name, ethyne, is a well-known chemical compound.

    acetylene pricing

    ReplyDelete

Recent Posts

Let's Connect

Site Links

Copyright © 2014 RealcomBiz. All Rights Reserved.
Powered by Blogger