WordPress.org

Ready to get started?Download WordPress

Forums

Post Expirator
[resolved] Custom Field for Enabling Post Expirator (7 posts)

  1. alesandro85
    Member
    Posted 1 year ago #

    Hy,

    First of all. Awesome plugin. Thank you so much.

    I would like to enable the Post Exirator in a post via a custom field.

    Could you help me out?

    Best Regards,
    Alex

    http://wordpress.org/extend/plugins/post-expirator/

  2. qzha017
    Member
    Posted 1 year ago #

    I am using Gravity Form for users to submit posts, the form ignores the post expirator settings, what is the function all of this plugin, maybe there is a way of adding it to the gravity forms?

  3. ScorchD
    Member
    Posted 1 year ago #

    Hi,
    Is there an example of this, I have custom field values set and simply want to use a custom field value for the expiration, this seems to be what this option was created for but there is no documentation I can see to give an example of how to use it?

    Many thanks

  4. Aaron Axelsen
    Member
    Plugin Author

    Posted 1 year ago #

    So - are you saying you are wanting to set a post to expire by just setting a value instead of using the meta box to configure it when editing the post?

  5. ScorchD
    Member
    Posted 1 year ago #

    The meta boxes I am fine with and can set a value easily enough, I have actually solved this now using a simple cron job and wp_schedule_event, its perfect for what I need as I only need look at one post type value and can use a calculation from an existing meta value.

    Many thanks for your reply.

  6. Aaron Axelsen
    Member
    Plugin Author

    Posted 1 year ago #

    This will be changing in the new version - the guts are being re-written. I could easily adjust it so there is a separate function that does the expiration scheduling that you could just call with the correct variables for custom integration.

  7. Aaron Axelsen
    Member
    Plugin Author

    Posted 1 year ago #

    version 2.0.0 is in a testing state right now if you are interested in trying it out.

    http://wordpress.org/support/topic/plugin-post-expirator-cron-runs-every-60-seconds?replies=14#post-3926779

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.