Wednesday, April 10, 2013

Blogger template HTML editor has been updated

Whether you’re a web developer who builds blog templates for a living, or a web-savvy blog owner who prefers to make changes to your template using HTML, CSS or JavaScript, you may be interested in some enhancements that blogger made to Blogger’s Template HTML Editor.

Your blog’s HTML template is the source code that controls the appearance of your blog. This template can be customized to appear however you’d like. The improved HTML template editor now supports line numbering, syntax highlighting, auto-indentation and code folding to make editing your template much easier.

Suppose we wanted to move the date of a blog post underneath the post title. To do this, follow these steps:



1.Click the “Template” tab on the Blogger dashboard, then the “Edit HTML” button, to see the new template HTML editor:


2.Locate the “Blog1” widget quickly using the new “Jump to widget” drop down:

3.This widget controls how your blog posts are displayed. The code inside the widget is folded by default. Clicking the new fold markers ‘►’ next to the line numbers expands the widget and reveals a set of “includable” tags:


4.Inside the “main” includable is the block of code that renders the post date:



5.Cut the post date code section and move it to where we want it, in this case, under the post title in the “post” includable:



6.To check our changes, click the new “Preview template” button to see the updates:



7.The post date is exactly where we want it, so tab back to “Edit template”, hit “Save template” and we’re done!

Finally, blogger has added a “Format template” button that automatically cleans up the indentation of

the template, and made it possible to search for text by pressing “Ctrl+F” once you’ve clicked into the

editor.

To find and replace text occurrences one by one, use “Ctrl+Shift+F” or to find and replace all

occurrences at once, use “Ctrl+Shift+R

0 comments:

Post a Comment

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our Instant HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. Please do not spam Spam comments will be deleted immediately upon our review.
4.Click Subscribe by Email to receive Replies