Skip Navigation

[Resolved] Expiry on post type

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 8 replies, has 3 voices.

Last updated by digitalF 5 years ago.

Assisted by: Waqar.

Author
Posts
#1211158

I've got a post type called 'Departure-Deals' and I'm trying to integrate a facility where the post expires after 30 days of being published.

How do I go about doing this?

Many thanks.

#1211231

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Toolset Forms includes post expiration functionality.

You need to enable it in the settings at Toolset > Settings > Forms and then on any form you can specify a period after which posts will expire.

For this to work the posts need to be published by the form, but can be edited in the backend subsequently (including changing the date when the post expires).

https://toolset.com/documentation/user-guides/automatic-post-expiration/

#1211238

I don't see the form option in the dashboard, is there an add-on I need to install to see this?

#1211240

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

You don't have Toolset Forms installed? That is required.

#1214702
Screen Shot 2019-03-15 at 14.51.01.png

Is the form add-on installed as a normal plugin? I'm getting the error that the link has expired?

#1215325

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi there,

Nigel is away and will be back tomorrow, but I'll be happy to follow up.

From your screenshot, I'm afraid, it is not clear where and when the expired link message is showing.

The "Toolset Forms" is available as a separate plugin and to check if it is installed and activated on your website, you can go to WP Admin -> Plugins -> Installed Plugins.
( screenshot: hidden link )

Here is a detailed guide on the topic of installing available Toolset plugins:
https://toolset.com/faq/how-to-install-and-register-toolset/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1219674

Hi,

Thanks for your message. I've got the forms plugin installed and activated now. There was a restriction on the server, which has been resolved.

How do I go about setting the expiry of all post types 'departure-deals' to delete automatically after 30 days?

Can I also confirm this will still delete posts that have been uploaded via CSV or manually in the backend?

Many thanks.

#1220960

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for waiting and I apologize for the delay, as I had an unusually busy queue during the weekend.

Glad that you were able to install the Toolset Forms plugin.

It is important to note that the Toolset Form's post expiration feature will work for future posts, which will be added through a front-end form, in which post expiration settings are configured.
( ref: https://toolset.com/documentation/user-guides/automatic-post-expiration/ )

This feature will not work for existing posts or posts that you'll manually add from the admin area. However, you can manually set post expiration for these individual posts from the WordPress admin area, as explained here:
https://toolset.com/documentation/user-guides/automatic-post-expiration/#post-expiration-settings-in-the-wordpress-post-editor

To programmatically expire all existing and new posts, you'll need custom code. For more personalized assistance around custom programming, you can consider hiring a professional from our list of recommended contractors:
https://toolset.com/contractors/

regards,
Waqar

#1221429

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.