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 » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Last Update


  #1  
Old Mar 4, 2009, 05:45 PM
jockoe
 
23 posts · Feb 2009
Hi Flynn,

My site shows the current date...



How do I add to it the "date last modified" similar to the NY Times?


I've found the line of code where I think it needs to be added in my bfa_header_config.php file.
PHP Code:
'<p class="tagline">' date('l, F j, Y') . '</p>' '' ) . 
I'm trying to follow the examples for the
Code:
getlastmod()
method at http://us2.php.net/manual/en/function.getlastmod.php, but I do not know any PHP coding at all. How do I get "Last Update: xx:xx am/pm my-time-zone"?
  #2  
Old Mar 6, 2009, 01:46 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
That PHP functions would only cover the last modified date for the raw PHP file, it would not be related to anything Wordpress.

There's a template tag to display the last modified date for a given post, but none to display the last modified date overall. It can certainly be done in some way but nothing I could easily outline right now. It's probably best to look for a plugin for this, then put the plugin's PHP output code at the appropriate place in the theme's header.php or bfa_header_config.php

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Significant problem with update to 3.4 kdawes01 New Versions, & Updating 1 Jul 10, 2009 09:13 PM
Update or Install and Move to New ranch2 New Versions, & Updating 1 May 25, 2009 01:52 PM
Update rmribeiro New Versions, & Updating 1 May 13, 2009 08:19 PM
After latest update, can't see templates paulae New Versions, & Updating 4 Apr 5, 2009 05:03 PM
Update to latest version - will it break? bergonzzi New Versions, & Updating 1 Jan 28, 2009 05:21 PM


All times are GMT -6. The time now is 10:27 AM.


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