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 »

Change the Post Date dont work since version 3.6.1


 
Prev Previous Post   Next Post Next
  #1  
Old Mar 8, 2011, 11:07 PM
Nobody15
 
9 posts · Mar 2011
Change the Post Date dont work since version 3.6.1

Since Version 3.6.1 the Footer don´t change to the modified date (”Aktualisiert am:”) because the If block always returns false.
I´m using this Script in Atahualpa 3.5.3 "Edit Post/Page Info Items" (FOOTER: Homepage, FOOTER: Multi Post Pages, FOOTER: Single Post Pages, FOOTER: "Page" Pages) to modify the Footer of Single Post Pages and it works fine.

PHP Code:
<?php if(strtotime($post->post_modified) - strtotime($post->post_date) > 86400)
{
echo 
“Aktualisiert am” ;
the_modified_date(’jF Y’);
echo 
” um ” ;
the_modified_time(’G:i’);
}
else
{
echo 
“Erstellt am” ;
echo 
get_the_date();
echo 
” um ” ;
echo 
get_the_time();
?> | Autor: %author-nickname% | %tags-linked(’Tags: ‘, ‘, ‘, ‘ | ‘)% Kategorie: %categories-linked(’, ‘)% %edit(’ | ‘, ‘Bearbeiten’, ”)%
Regards
NB
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dont need that Category bar....but i dont no ferdi Header configuration & styling 1 Feb 11, 2011 03:15 AM
[SOLVED] [Help]i dont know i how update ATAHUALPA to the version 3.5.3 jackchow New Versions, & Updating 2 Jul 26, 2010 07:44 AM
adsense plugins dont seem to work ronald73 Plugins & Atahualpa 9 Nov 3, 2009 08:02 AM
Need Help: Navigation links dont work jota73 Excerpts, Read more, Pagination 2 Mar 28, 2009 11:24 AM


All times are GMT -6. The time now is 03:06 AM.


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