To increase the ability to load the page I hit hide the widgets, css, javascript ... to speed up the page load for blogger.
1.The Homepage
Only external display homepage:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
Your code
</b:if>
Hide the homepage
<b:if cond='data:blog.url != data:blog.homepageUrl'>
your code
</b:if>
the only difference between the != and ==
2. Only display archive
<b:if cond='data:blog.pageType == "archive"'>
your code
</b:if>
3. Show only Widgets in the article page
<b:if cond='data:blog.pageType == "item"'>
your code
</b:if>
4. Show only Widgets in the static page
<b:if cond='data:blog.pageType == "static_page"'>
code của bạn
</b:if>
5. Only at the site Widget displays with specific links
<b:if cond='data:blog.url == "URL-blog"'>
your code
</b:if>
6. Show the Widget in home, fashion Label and Archive page
<b:if cond='data:blog.pageType == "index"'>
your code
</b:if>
7. If you want to hide CSS, add the following code to insert the following lines]]> </ b: skin>. or before the </ head>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<style type='text/css'>
#PopularPosts1,#HTML1,#HTML2 {display:none}
</style>
</b:if>
1.The Homepage
Only external display homepage:
<b:if cond='data:blog.url == data:blog.homepageUrl'>
Your code
</b:if>
Hide the homepage
<b:if cond='data:blog.url != data:blog.homepageUrl'>
your code
</b:if>
the only difference between the != and ==
2. Only display archive
<b:if cond='data:blog.pageType == "archive"'>
your code
</b:if>
3. Show only Widgets in the article page
<b:if cond='data:blog.pageType == "item"'>
your code
</b:if>
4. Show only Widgets in the static page
<b:if cond='data:blog.pageType == "static_page"'>
code của bạn
</b:if>
5. Only at the site Widget displays with specific links
<b:if cond='data:blog.url == "URL-blog"'>
your code
</b:if>
6. Show the Widget in home, fashion Label and Archive page
<b:if cond='data:blog.pageType == "index"'>
your code
</b:if>
7. If you want to hide CSS, add the following code to insert the following lines]]> </ b: skin>. or before the </ head>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<style type='text/css'>
#PopularPosts1,#HTML1,#HTML2 {display:none}
</style>
</b:if>
No comments: