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 » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] %date-modified% shows same as %date%


  #1  
Old Apr 4, 2012, 11:47 AM
dcclxi
 
10 posts · May 2011
Hello,

I'm not sure why this is happening: %date-modified()% shows the same date as %date()%.

I have Atahualpa 3.7.3. In the template options, under Edit post/page info items, I have this for the three byline fields:

<image(user.gif)> %author%&nbsp;&nbsp;&nbsp;&nbsp;<image(date.gif)> %date('j F Y')%(modifi&eacute; le %date-modified('j F Y')%)&nbsp;&nbsp;&nbsp;&nbsp;<image(comment.gif)> %comments('Commenter', '1 commentaire', '% commentaires', 'dontshow')% %edit('&nbsp;&nbsp;&nbsp;', 'Editer', '')%

I added the date-modified part this morning. (P.S.: I know the repetition of &nbsp; isn't great, but I haven't had time to think of a better solution.)
This works, as in all images and fields are printed out in the byline of each post, but the modified date is the same as the publication date for all posts.

I saw another thread on this (from ~2009), that suggested there was a bug in bfa_postinfo.php. I had a look the code, it seems fine to me.

Any idea of what is going on? Is this even a problem with the theme?

dcclxi
  #2  
Old Apr 4, 2012, 12:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see PATCH 373-03: date-modified in post/page info items returns the date published
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 4, 2012, 12:08 PM
dcclxi
 
10 posts · May 2011
It works!
Thanks a lot,
dcclxi

Bookmarks

Tags
byline, date, date-modified, modification date, publication date



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Footer: date modified unelma Post-Kicker, -Byline & -Footer 2 Jun 7, 2010 01:06 PM
[SOLVED] Order Posts by Modified Date ysbwriel2k Excerpts, Read more, Pagination 3 Aug 21, 2009 02:36 PM
The %date-modified('F jS, Y')% in post footer not working Glottis Post-Kicker, -Byline & -Footer 11 Apr 11, 2009 05:52 AM


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


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