How To Remove Date Stamps From Blog Posts

Permalink
Hi

How can I hide the date stamp from both the blog post and the main blog page(where all post excerpts are shown). I am not going to be updating the blogs regularly and displaying the posts will make the site look stale I suppose. I really need help with this. Can someone please help.

Many Thanks
Vijay

View Replies: View Best Answer
jrlas replied on at Permalink Reply
Hi

/concrete/page_types/blog_entry.php


<p class="meta"><?php  echo t('Posted by')?> <?php  echo $c->getVersionObject()->getVersionAuthorUserName(); ?> on <?php  echo $c->getCollectionDatePublic('F j, Y'); ?></p>


F j Y is the date

try, if you can remove that:
on <?php  echo $c->getCollectionDatePublic('F j, Y'); ?>


I am also just beginning here at concrete5, but I hope, I could help you.
vincedelaking replied on at Permalink Reply
vincedelaking
That is one way, but all stripping and editing will be lost if you update your Concrete5.
Beter is it to make a folder named 'page_types' in the root. One level above the concrete folder, and put your blog_entry.php in there. Edit it there and that file will be used first, even if you update your c5 in two months. Same goes with editing blocks.
jrlas replied on at Permalink Best Answer Reply
Yes, I forgot to say, sorry
liger123 replied on at Permalink Reply
Thank you very much jrlas and vince. That worked, now my posts dont have any date stamp :-)

But I also want the date to be hidden even in the main blog page, where all the post excerpts are listed. Any way to get that happen?
jrlas replied on at Permalink Reply
I think it is depends on your theme. What theme they use?
liger123 replied on at Permalink Reply
I see.
I am using the Rigid-Bold theme... Does that help or do you think I need to contact the theme developer?

Thanks for your replies. Much appreciated.
jrlas replied on at Permalink Reply
I don't think so. What kind of blog-system do you use. Blogga?

If Blogga

packages/blogga/page_types/blogga_page.php

<?php  echo $thisPage->getCollectionDateAdded('F j, Y'); ?>&nbsp;&nbsp;|&nbsp;&nbsp;
.
liger123 replied on at Permalink Reply
I am not using any add-on. Infact there uis nothing under package folder at all. I just set the page type to "Blog type" - thats it.

You can check it here
champix.org.uk/blog/
jrlas replied on at Permalink Reply
I think, it's inside the package of the theme. You should ask the developer of the theme. I don't know the theme. I tried to find the answer in concrete5, but was not successful. Sorry and good luck.
liger123 replied on at Permalink Reply
will do that. Thank you very much for all the help :)