Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

%date('Y-m-d H:i:s')% is not using the_date()?


  #1  
Old Jul 8, 2010, 03:03 AM
Niska
 
16 posts · Jun 2010
Sweden
I'm using the WP-Relative Date plugin (http://wordpress.org/extend/plugins/wp-relativedate/) but it's not working. According to the forum you must use the the_date() function to make it work.

In Atahualpa I'm told to use %date('Y-m-d H:i:s')%. Isn't the_date() used? And how can I make Atahualpa use the_date()?

Thanks.
  #2  
Old Jul 8, 2010, 05:15 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
1) what version of WAtahualpa and WP?

The '%date' is a string place holder that Atahualpa uses to call the wordpress function 'the_time()' when it is processing the date - in certian areas of the theme options.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 8, 2010, 05:19 AM
Niska
 
16 posts · Jun 2010
Sweden
Atahualpa 3.5.1
WP 3.0

I've checked the source code for WP-Relative Date plugin, and it adds a filter for both the_date and the_time. So if Atahualpa is using the_time - it should be working. But it's not...
  #4  
Old Jul 8, 2010, 06:49 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I just dropped this in and it works fine without making and changes what so ever. Have you tried it?
what is the url?
it only shows up on the comments
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jul 8, 2010, 07:59 AM
Niska
 
16 posts · Jun 2010
Sweden
It is supposed to work with both posts and comments. My guess is that it's not working since this theme use the_time instead of the_date. the_time is only for time, not date.
  #6  
Old Jul 8, 2010, 10:06 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
It looks like this plugin will not work with Atahualpa. The plugin has a filter for the_time(), but something is not working correctly with the myriad filters and levels of code and I couldn't see what it was without spending way too much time on this. You might want to ask the plugin author.
__________________
"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
Calendar icon for date jpreuss Post-Kicker, -Byline & -Footer 7 Jun 9, 2011 09:05 AM
How to have %date('..')% appear twice? qda Post-Kicker, -Byline & -Footer 3 Oct 13, 2010 01:29 PM
[SOLVED] Messed-up Date jdtfk Languages & Translations 2 Feb 2, 2010 07:46 AM
Blog Date Problem yosh66 Post-Kicker, -Byline & -Footer 1 Jun 22, 2009 08:44 AM
date of comments Francesco788 Atahualpa 3 Wordpress theme 4 Jun 4, 2009 09:15 AM


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


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