How to Show Posts Timestamps in Blogger?


#1

Hi,

I just want to show timestamps of each blogger’s posts correctly.

Currently It shows “Undefined” at the place of Date, Month and Year.

(I have installed the this template and here i am sending the screenshot of Error in my template.)

Please suggest me right code that i can replace the existing code to work this Timestamps correctly.

Thanks!


#2

@GKVish, I think you have solved it yourself because its working. :smile:


#3

Yes @Shivansh, I have solved it myself. There was a minor coding issue in JavaScript.

And Many Thanks for your Response.

Now, I want an another help from you. You can see, there are 3 column in footer in original template. But it show only 2 column in footer side. I have used 3 widget for all 3 column but they get overlapped on 2 column of right side in footer.

Can we fix that?

Gaurav Vishwakarma


#4

You would have Corrected this problem by using below steps:-

My blogs · Settings › Language and formatting

and Changed Date Header Format to WeekDay,Month+Day,Year


#5

Thanks @ishworgiri, I have fixed it myself. Please have a look on second issue. Thanks!


#6

Ya… I knew it but Have Given You Some Easy Way anyway You Solved it Keep It Up…


#7

@GKVish Sorry for not replying. Actually I am busy these days. :frowning:

But here’s the solution:

(1) Search for this code:

id="footer-widget-1"

(2) And now, replace all the code (from b:section to b:section close) with the following code:

    <b:section id="footer-widget-1" class="footer-widgetnbt" preferred='yes'>
      <b:widget class="footersec section" id="footersec1" locked='false' title='Follow Our Author' type='HTML'>
        <b:includable id='main'>
          <!-- only display title if it's non-empty -->
          <b:if cond='data:title != &quot;&quot;'>
            <h2 class='title'>
              <data:title/>
            </h2>
          </b:if>
          <div class='widget-content'>
            <data:content/>
          </div>
          <b:include name='quickedit'/>
        </b:includable>
      </b:widget>
    </b:section>

and then save your template. Then go to layout tab and add your widget and tell me if it showed correctly.