WordPress.org

Forums

Enable Media Replace
Using shortcode within template/loop (1 post)

  1. huskypup
    Member
    Posted 2 years ago #

    Hello,
    I'm a newbie when it comes to PHP and WordPress. I'm using the Skeleton theme for WordPress for which I have built a custom search template.

    I'd like to use the [file_modified] short code and I thought this would work

    <?php echo do_shortcode('[file_modified id="'.'$post->ID'.'" format="j F Y"]'); ?>

    However all the files are returning the date 1 January 1970.

    Is any one able to help?

    Cheers

    http://wordpress.org/extend/plugins/enable-media-replace/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Enable Media Replace
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic