Wait, don't go yet. At least you should know how the codes work and what they do. Let me simplify and explain each tag one by one below.
This Tag defines only the homepage of your blog, it tells your blog home page to show your website title like this "Search Engine Rank - Optimization Ready". It does not define other pages.
This tag defines how post pages should look like in the title bar.
This code is for archive pages like January, February, 2019, 2020 like that. This one tells the archive pages to look like this "2019 in Blogtitle"
This tag defines the Pages on your blog.
Defines all label pages title that if a page is a "Label" then this <data:blog.pageName/> - <data:blog.title/>
Defines a error page
Defines all next pages on the homepage
Other common conditional tags
This code defines a specic post from this location /2020/01/post-title.html. it tells it to only use the specific title for the page.
It is used to command the tag to define a specific label page
This tag defines the search pages telling all the search pages on your website to look something like this "Search Query - Blogtitle"
This tag defines a specic search query which is (Seo) that when you searched for Seo, it should appear like " Seo - Blog title".
Defines all Statics page (pages that looks like this /p/title.html).
Defines a static page with the "p/page.html" specific destination.
Are conditional tags only used for titles?
No, conditional tags are used to show or hide certain objects in specic place. It can also be use to hide or show widgets on blogger. Let me show you some examples.
This code will only let your widget display on static pages.
This will load widget in label or search pages.
You can do that on and on and on...
In this case adding the code will be a little different from adding the conditional tittle tags
How to add Conditional tags for widgets
After clicking on Edit HTML then
Click on "Jump to Widget"
Click on Jump to Widget
Select Your Widget
Select your widget and paste your conditional tags.
Select your widget then save theme
Save Theme
After pasting your code, click on save, you're now done. Congratulations!.
Conclusion
This tags will help you structure your mobile or desktop site, it will also help your site prepare for optimization in terms of speeding up your blog and setting different page titles for different pages. In other words it helps you set better experience for users.
How To Show Only Post Thumbnails And Snippets In Blogger Blog Homepage Hi Welcome to another tutorial, How To Show Only Post Thumbnails And Snippets In Blogger Blog Homepage in this complete blogger blog tutorial series. By default, blog post shows full on your blogger blog homepage with a number of it as preset. This makes your blog looks clumsy, not neat and visitors leave your blog site quickly. If you’re tired of those full, long unending post of your blogger homepage, then you’ve come to the right place, just follow the tutorial and you should be fine! We have covered a lot in this full blogger blog tutorial series, first, we look at Blogger Review to How To Create A Blog On The Blogger.com Platform . We also learned How To Create HTML Sitemap Page for our blogger blog, in another tutorial, we’ve seen how to add Contact Form In Blogger On A Page , from there we added Twitter Card To our blog....
Structure of Custom Blogger Themes The documentation for Blogger Themes is lacking and incorrect in many spots, making it really difficult to get started on your own. You could of course rip code segments from existing themes but that is hardly the best method to go about creating your own theme. This document will cover the basic structure of the Blogger theme. In future posts (linked at the end) I will cover more parts about Blogger Themes. Blogger Themes are created using an XML Document (only one file). This single document specifies all cases of the website (index / archive / item) along with special styles for the “Widgets” you add to each section of your blog under the Layout section of Blogger Administration Panel. With all of this content in a single document, organization is key and understanding what everything does is even more important. Basic Layout Below is a very stripped down frame of the beginning layout of the XML document for a theme ...
Comments
Post a Comment