Guest Posted March 23, 2020 Posted March 23, 2020 Site URL: https://www.ealt.ca/blog Hi, 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! Nikki
derricksrandomviews Posted March 23, 2020 Posted March 23, 2020 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: <style> .date { display: none; } <style> 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.