• Resolved cayonone

    (@cayonone)


    Hi Mike,

    Thanks again for an amazing plugin.
    Please If I want the expiry date to appear as “Expires March 10, 2014” for example, where do I insert the word “expires” here?

    <?php echo ( $expires = get_post_meta( $post->ID, ‘_job_expires’, true ) ) ? date_i18n( get_option( ‘date_format’ ), strtotime( $expires ) ) : ‘–’; ?>

    Many thanks in advance.

    Cay

    https://wordpress.org/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    <?php echo ( $expires = get_post_meta( $post->ID, '_job_expires', true ) ) ? 'Expires ' . date_i18n( get_option( 'date_format' ), strtotime( $expires ) ) : '–'; ?>

    Thread Starter cayonone

    (@cayonone)

    Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Expiry date’ is closed to new replies.