Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
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 04:17 AM.


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