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
  #1  
Old Mar 8, 2011, 11:07 PM
Nobody15
 
9 posts · Mar 2011
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
  #2  
Old Mar 9, 2011, 04:42 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
edit bfa_post_parts.php (it's in the 'functions' folder) and change
in version 3.6.1 - line 176
in version 3.6.4 - line 171
from
HTML Code:
	global $bfa_ata;
to
HTML Code:
	global $bfa_ata, $post;
added to 3.6.5 TODO list (BUGFIX 364-06: Post Date does not work in 'FOOTER: xxxx' )
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 9, 2011 at 04:49 AM.
  #3  
Old Mar 9, 2011, 05:01 AM
Nobody15
 
9 posts · Mar 2011
Thanks juggledad

now it works

I´m using now version 3.6.4 and there it´s also line 176 to change.

NB
  #4  
Old Mar 9, 2011, 05:26 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
true, unless you have applied BUGFIX 364-05, in which case it is line 171
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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:11 PM.


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