Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

How to remove date from post pages?


  #1  
Old May 16, 2017, 06:20 PM
hardworker1970
 
17 posts · Jul 2014
usa
How do I remove the date from the post page?
I have research old post and saw where i should remove the
date from the front page in the 'postformat.php'.
And i saw where i should also edit the single.php to delete
the date for single post. However i am not seeing where
in that file i should remove the date. Can someone please
advise me?
  #2  
Old May 17, 2017, 06:48 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
go to the MTO->Main Templates->single.php and find the section:
HTML Code:
<div class="post-footer">
	<?php the_time( 'j M Y' ); ?> &nbsp;&nbsp;| <?php the_category( ' &middot; ' ); ?>
	<?php the_tags( __( '<p class="post-tags">Tags: ', 'montezuma' ), ' &middot; ', '</p>' ); ?>
</div>
and change this line:
HTML Code:
	<?php the_time( 'j M Y' ); ?> &nbsp;&nbsp;| <?php the_category( ' &middot; ' ); ?>
to
HTML Code:
	<?php the_category( ' &middot; ' ); ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old May 17, 2017, 09:42 AM
hardworker1970
 
17 posts · Jul 2014
usa
Thank you juggledad, that was the only section i knew had to do with the date
but i didn't know what to to do.Thanks again.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove date from front page, post pages? JimTrail Montezuma Theme 5 Sep 1, 2014 11:30 AM
Remove date on pages and posts letsfigurethisout Montezuma Theme 13 Mar 10, 2013 07:21 PM
How to Remove Post date from Main page and Single Page? techyleakz Montezuma Theme 2 Mar 6, 2013 12:30 PM
PATCH 373-03: date-modified in post/page info items returns the date published juggledad Old Version fixes and change logs 0 Dec 30, 2011 07:41 PM
category pages - with just the linked title, author, date of each related post janey73 Atahualpa 3 Wordpress theme 2 Jun 25, 2009 02:11 PM


All times are GMT -6. The time now is 12:08 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.