Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

How to remove date from post pages?


  #1  
Old May 16, 2017, 05:20 PM
hardworker1970
 
8 posts · Jul 2014
usa
How to remove date from post pages?

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, 05:48 AM
juggledad's Avatar
juggledad
 
23,545 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, 08:42 AM
hardworker1970
 
8 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 10:30 AM
Remove date on pages and posts letsfigurethisout Montezuma Theme 13 Mar 10, 2013 06:21 PM
How to Remove Post date from Main page and Single Page? techyleakz Montezuma Theme 2 Mar 6, 2013 11:30 AM
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 06:41 PM
category pages - with just the linked title, author, date of each related post janey73 Atahualpa 3 Wordpress theme 2 Jun 25, 2009 01:11 PM


All times are GMT -6. The time now is 12:26 AM.


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