Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hide/show dates on separate blog pages



Site URL: https://www.ealt.ca/blog


I am trying to figure out how to hide the date on our blog pages that are more or less static with little new content additions (ie. https://www.ealt.ca/kids/), and show the date on our main dynamic blog page (https://www.ealt.ca/blog) posts. I understand that you can hide/show via the Design function, but that that will be site-wide. I am wondering if there is a way to hide/show date via code injections on individual pages. I feel like it should be an easy fix but I have very little web experience and have scoured the internet to no avail.

Thank you!


Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

The only thing I can think to try is you put a code block on the blog post you don't want the date to display and then past this in the block:

      .date {
        display: none;
I have not tried it, but this is the code i use for my whole blog not just one post.

If you have two separate blogs/pages and you don't want the date to show on only one, then you put the above code in the advanced header code injection of the dateless blog.  Let us know how it works. 

Edited by derricksrandomviews
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...