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 »

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


  #1  
Old Jul 8, 2010, 04: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, 06:15 AM
juggledad's Avatar
juggledad
 
23,765 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, 06: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, 07:49 AM
juggledad's Avatar
juggledad
 
23,765 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, 08: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, 11:06 AM
juggledad's Avatar
juggledad
 
23,765 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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar icon for date jpreuss Post-Kicker, -Byline & -Footer 7 Jun 9, 2011 10:05 AM
How to have %date('..')% appear twice? qda Post-Kicker, -Byline & -Footer 3 Oct 13, 2010 02:29 PM
[SOLVED] Messed-up Date jdtfk Languages & Translations 2 Feb 2, 2010 08:46 AM
Blog Date Problem yosh66 Post-Kicker, -Byline & -Footer 1 Jun 22, 2009 09:44 AM
date of comments Francesco788 Atahualpa 3 Wordpress theme 4 Jun 4, 2009 10:15 AM


All times are GMT -6. The time now is 12:21 PM.


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