Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] - Command for date of pg last update
#1
Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?
Thanks,
jwzumwalt
(\__/)
(='.'=)
(")_(")
Reply
#2
(2016-01-03, 14:34:07)jwzumwalt Wrote: Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?

Use this code:
Code:
<p>revised on <?php get_page_date("l, F jS, Y - g:i A"); ?></p>
Format date as you need.
Reply
#3
(2016-01-03, 15:07:36)DimaYakovlev Wrote:
(2016-01-03, 14:34:07)jwzumwalt Wrote: Is there a command so that I can do a "revised on xxxx" based on when the page was last edited?

Use this code:

Code:
<p>revised on <?php get_page_date("l, F jS, Y - g:i A"); ?></p>
Format date as you need.

Thanks, that worked!
Thanks,
jwzumwalt
(\__/)
(='.'=)
(")_(")
Reply




Users browsing this thread: 1 Guest(s)