Showing posts with label *Software: Blogger. Show all posts
Showing posts with label *Software: Blogger. Show all posts

Thursday, 22 April 2021

Easiest Way to Create a Blogger Post Template - Perfect Post Shortcut

Easiest Way to Create a Blogger Post Template

Easiest Way to Create a Blogger Post Template


Blogger gives us many tools to help us with our blog posts to get our thoughts out there to our readers and friends. Post templates are just one of them, and they can give our blogging a useful boost.

❓What is a Blogger post template?❓

Simply put a post template is a way to add elements into a post every single time we create a new one. We can add in whatever we like:

  • Footer content we want to have in every post - e.g. I have my newsletter info in my template.
  • Formatting, like main title, and any banners we like to have in every post.
  • A blog post structure to remind us how to create the best posts.
The possibilities are endless.

❓Why Use a Blogger post template?❓

There are 2 very simple reasons for using a post template:

  1. It makes creating blog posts quicker if all the repeated bits are already there.
  2. It makes out lives easier by giving us a reminder of how we want to put our posts together.

❓Where can we add a Blogger post template?❓

In the main design area menu - scroll down to the "Settings" option and click on it:
click to enlarge


Scroll down the setting until reaching "Posts" section. Within this there is an option called "Post template (optional)" - clicking on this title with bring up a pop-up where the post template may be edited.

click to enlarge

❓What should we put in the post template?❓

A post template can be as simple as some plain text that reminds us what to put where, or gives us pointers what to write, or as complex as a detailed layout with images and formatting.
  1. Plain text - simply type in what is required and click save.
  2. Formatted text, possibly with images and more - we will need the html to paste into the pop-up (see next section).

❓What is the easiest way to create the HTML post template?❓

The simplest and easiest way to create the exact HTML we need for our post template is to create the base post inside Blogger and simply copy and paste it.
  1. Create a new post.
  2. Add in all the content required for the post template as if creating a normal post in compose view.
  3. Once the layout and content are complete, change to HTML view (top left in the compose menu)

  4. Copy all the code from the HTML view.
  5. Exit the post back into the main design area.
  6. Go to Settings > Posts
  7. Open the Post template, and paste the code into the pop-up and click save.
Now, whenever we create a new post, this template will be used and our common content will already be there for us so we don't have to copy and paste it in from anywhere else. If we decide we don't want it for a particular post we can delete or edit it as we complete the entry.

It's probably best not to have too much common content, since we don't want our readers to see a post and think "same old, same old" or Google to get spam ideas, or anything like that, but for some things it can be very useful.


Do you use a post template for your blog posts? What kind of things do you have in it? Drop a comment and LMK. πŸ’–πŸ’–



πŸ“šJoin My NewsletterπŸ“š


Receive 2 FREE eBooks just for signing up and a free short story on the first Friday of every month on Free Fiction Friday.


Two books covers - one with a woman firing guns above the title "Assassin's Blood" the other with a woman screaming and glowing with the title "Curse of a Banshee"

List hosted on MailChimp, information will only be used for Newsletter contact, and we do not send spam.

Monday, 13 January 2020

New Blog Layout!


New Blog Layout!

So I decided it was finally time for a change and I have a lovely new blog layout. It's still a 3 col one, but it has a new header and I've changed up some of the widgets in the sidebars too.

If you're on mobile I think the only difference you'll see is the header because, for some reason, Blogger sees fit not to include all the sidebars at the bottom in the mobile layout. I'm guessing it's because half the gadgets don't actually work on mobile. For example my blog topics page that uses a gadget doesn't show anything on mobile, so I have had to create a manual one for mobile users. 

Most frustrating!

I've gone for a brighter choice of colours, or rather grey scale with a hint of browns - so it's easy on the eyes, but feels a bit more upbeat.

I have a new header banner which makes me happy too :). The background image is by Pereanu Sebastian on Unsplash, which is also the background for the featured image in this post.

Anyway, I hope you all enjoy the new layout as much as I do.

πŸ’–Best wishes to all πŸ’–

Tuesday, 1 December 2015

How To Display the Blogger Labels Widget on a Separate Label's Page - #TipsTuesdays 15


So I reorganised all my Blogger labels at the weekend because they were messy and not very helpful and I also looked into how to Display Blogger labels on their own page (mine is called Blog Topics), like the tags page on LJ so they were easier to see. I had a few issues, so I decided to write it up.

How To Display the Blogger Labels Widget on a Separate Label's Page

Now blog labels are very useful to find topics about which we might be interested or to track down our own posts without scrolling through the whole list. I believe we often use them straight from the posts on which they have been placed to find like posts, but Blogger also offers a widget so we can display the labels in our blog layout as well.

If we look at a screen shot of my blog I have this widget on my left side bar and I have called it Blog Topics:
click to enlarge
However, until Sunday, this list was much, much bigger and very disorganised. What I did over the weekend was give all my posts what I like to refer to as Major Topics and then Sub Topics, where the Sub Topics are much more specific and the Major Topics are more an overview. Only the Major Topics are now listed in the sidebar.

However, I did not wish to lose the functionality of all the Sub Topics in a list as well.

All the topics, Major and Sub are now listed on the Blog Topics page which I created at the same time. As you can see in the following image, which is just a subsection screen capture of that page, there are many more topics listed, but they are much more useful for finding individual posts.
click to enlarge
Wittegen Press
$0.99 | £0.99
Amazon | Other
Being a complete beginner when it comes to editing Blogger in any way except directly through the menus, I needed to do some research and it seems I am definitely not the only person who wants to do similar things. I had to edit my Blogger Template directly and I used this very helpful article to find out how to do it: Blogger-Hints-and-tips - How to Edit Your Blogger Template.

Then I used the following article to find out what-part-of and how-to edit the template so that I could make it do what I wanted it to: Blogger-Hints-and-tips - Displaying Gadgets Only on the Home Page. However, this post doesn't quite cover everything specifically and I found a few hang ups so I am going to create my own How-To post which will also list the other steps I took.

Re-Organise Your Labels:

Now your labels might be already beautifully organised, but mine weren't so the first thing I had to do was that. Doing this first will make choosing what labels go where much easier for us and means we won't have to do it twice. Bloggers labels can be a real pain and I had no idea how to change them, so I'm including that information as well.
How to Change Your Labels:
  1. Go to Posts in your Blogger back end.
  2. Choose the label you wish to edit from the drop down
    Label select drop down.
  3. Select all posts and add the new label using the "New Label" option in the Add/Remove Label Drop Down Menu as show below (if you put a * in front of a label, it will appear above normally alphabetically sorted labels).
    Add/Remove Label Drop Down Menu
  4. Use the Add/Remove Label Drop Down Menu again to choose the label you wish to remove and it will remove it from all selected posts.
DO NOT do this in the opposite direction because all the posts will disappear from the list you are looking at since they will no longer have the search label and then you will have to search them all out again by hand. Trust me, this is a pain in the bottom - I had to do it a couple of times :).

Adding the Labels Gadgets:
Wittegen Press
$3.29 | £2.19
Amazon | Other
  1. Choose Layout from the main Blogger Dashboard menu.
  2. Click "Add Gadget" in the side bar where you wish to add the main Labels gadget and pick it from the options.
  3. Go in to this Gadget and choose the Selected Labels option, choosing all your Main Topics from the list offered.
  4. Repeat the adding Gadget process and move the gadget to the position in the Main section above the Blog Posts.
  5. Go in to this Gadget and choose the selected labels option and pick just one - this will mean the gadget is not obtrusive while you are making the other changes.
  6. Edit this Gadget again and maximise the edit window and look at the URL listed at the top, it will look like this and you will need the widgetId at the end shown below in red (it will probably be something like Label2) (once you have it, just cancel the edit):
    https://www.blogger.com/rearrange?blogID=8918688759465977896&action=editWidget&sectionId=main&widgetType=null&widgetId=Label2
Add Your New Topics Page:

I'm sure most of us have done this many times, but I'm including it for completeness.
  1. Choose Pages from the main Blogger Dashboard menu.
  2. Click New Page and create your new one. You don't need to add any content to it.
Editing Your Template:

The first 3 steps of this are how to edit your static template, if you are using a Dynamic template you will need to check the article I mentioned above at this link. You can tell which you are using by looking at the Template page.
  1. Choose Template from the main Blogger Dashboard menu.
  2. Always BACKUP your template before you do anything else using the Backup/Restore button then make sure you save it somewhere safe in case you mess up and want to restore it.
    Backup/Restore button
  3. Click Edit HTML under the "Live on Blog" to open the raw template code.
  4. Use the "Jump to Widget" option to go to your Gadget using the ID you recorded when adding it. The code should look something like this:
    Click to enlarge and read
  5. Under the line that says <b:includable id="'main'> add the following line:

    <b:if cond='data:blog.url == &quot;
    http://tashasthinkings.blogspot.com/p/blog-topics.html&quot;'>
    Replacing the URL in red with the URL of the page you created as your topics page - as you can see mine is imaginatively called Blog Topics :). ALWAYS use the .com version of the URL, not the .co.uk one, because it won't work - it took me a whole day to find out why my condition was never being hit.
  6. Just before the line which says </b: includable> at the end of the widget, put in the following code:

    <b:else/>


    <style type='text/css'>
    #Label2 {display:none !important;}/*remove blank space that the gadget leaves*/
    </style>
    </b:if>
    Changing the Label2 part in red to the id of your widget.
  7. Use the Preview Template option, your new Labels Gadget just above your main posts should have disappeared.
  8. Save the Template.
I also added the new Blog Topics page to my main menu at the top and added a new HTML/text widget in just above the Major Topics widget in the side bar to point people at the more detailed topics should they want to see them like so.

And there you have it, how I rearranged my blog labels to make them more useful :). Of course you can choose different ways of arranging the labels and different criteria for the labels you have in your side bar, but, hopefully, this will help have all your blog topics in their own page should you wish to.

We can do the same with any other widget since the principle also works for any of the Blogger Gadgets, simply choose the correct widgetId and the correct page URL when editing the code.

If you have any questions, please feel free to ask in the comments and I will do my best to answer them.


Authors - win a month's stay in a castle for NaNoWriMo 2016 via Derek Murphy (book designer and author).


(occasionally you see a page not found, but wait a second and it will redirect you to the right place - I think sometimes the server is overloaded)