WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Peidong Hu
    Member
    Posted 2 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 2 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

About this Topic

Tags

No tags yet.