WordPress.org

Forums

Gallery by BestWebSoft
[resolved] [Plugin: Gallery] display post date in the Galleries listing page (2 posts)

  1. Peidong Hu
    Member
    Posted 3 years ago #

    hi,

    want to know if I can use a shortcode to display the posting date of galleries in the Galleries listing page?

    Zhou yi

    http://wordpress.org/extend/plugins/gallery-plugin/

  2. bestwebsoft
    Member
    Plugin Author

    Posted 3 years ago #

    Hello,

    In order to display post date it is necessary to add:

    for time displaying

    esc_attr( get_the_time() )

    for date displaying

    get_the_date()

    <?php echo get_the_date(); ?>

    Regards,
    Oksana

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gallery by BestWebSoft
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.