[DATE] shortcode function

WordPress Business Themes Forums Responsive Themes Coupon Theme [DATE] shortcode function

[DATE] shortcode function

July 30, 2013
Praveen Praveen
  • Praveen
    Praveen
    Senior Member 216 points

    Hi,

    Where can i find the below code in this template, actually in need to modify the date script but not able to find this. Or from where [DATE] shortcode is calling the function?

    <?php the_date(); ?>

    July 30, 2013 at 3:29 pm
  • Praveen
    Praveen
    Senior Member 216 points

    Any one know abt this?

    July 31, 2013 at 7:04 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    the [DATE] code is called from the gallery loop function in the main class file. I wouldnt suggest editing this directly, what are you trying todo with it?

    July 31, 2013 at 9:32 am
  • Praveen
    Praveen
    Senior Member 216 points

    Trying to modify the display of date format

    July 31, 2013 at 9:51 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    the date is taken from the post_date and doesnt use the the_date() function, you can adjust the format as normal in WP under the settings -> general tab.

    July 31, 2013 at 9:53 am
  • Praveen
    Praveen
    Senior Member 216 points

    I mean i need to show relative dates.

    July 31, 2013 at 10:43 am
  • Praveen
    Praveen
    Senior Member 216 points

    which file exactly, you mean css.core.css?

    July 31, 2013 at 12:17 pm
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    framework/class/class_white_label_themes.php

    i would advise creating a plugin instead of editing core files.

    July 31, 2013 at 1:59 pm
  • Praveen
    Praveen
    Senior Member 216 points

    Sure mark, will create in different plugin, since it will be good during updates so that i wont loose any settings.

    Thanks :)

    July 31, 2013 at 3:03 pm
Viewing 9 posts - 1 through 9 (of 9 total)

Didn't find what you were after?

Chat with us now

or contact our support team