Viewing 4 replies - 1 through 4 (of 4 total)
  • There’s a setting that will add that to the bottom of the post.

    In the Post Expirator settings, enable the post footer. You can configure it to show the full expiration, with time and date, or just the date, or just the time.

    Thread Starter 3×7

    (@3x7)

    I’ve tried that and it doesn’t do the job on “archive” pages…
    I believe it works only on post view page, therefore I would need a php tag or a custom field that has this expiration time in it…

    There is a shortcode – does that help any?

    Use the shortcode like this:

    <?php echo do_shortcode(‘[postexpirator]’); ?>

    Optional attributes are:

    * type – defaults to full – valid options are full,date,time
    * dateformat – format set here will override the value set on the settings page
    * timeformat – format set here will override the value set on the settings page

    ref: https://github.com/openmhealth/omh.website/tree/master/wp-content/plugins/post-expirator

    HTH

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Post Expirator] Anyway to add template tag for expiration time?’ is closed to new replies.