Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   %date('Y-m-d H:i:s')% is not using the_date()? (http://forum.bytesforall.com/showthread.php?t=8008)

Niska Jul 8, 2010 03:03 AM

%date('Y-m-d H:i:s')% is not using the_date()?
 
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.

juggledad Jul 8, 2010 05:15 AM

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.

Niska Jul 8, 2010 05:19 AM

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...

juggledad Jul 8, 2010 06:49 AM

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

Niska Jul 8, 2010 07:59 AM

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.

juggledad Jul 8, 2010 10:06 AM

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.


All times are GMT -6. The time now is 04:48 PM.

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