
Smart Content Expiry
વર્ણન
Smart Content Expiry lets you automatically manage content lifecycle in WordPress.
You can schedule an expiration date for any post or page and define what should happen when that date is reached:
- Hide the content entirely
- Replace it with a custom message
- Redirect the visitor to another page or website
Ideal for:
* Time-limited promotions and announcements
* Expiring offers or seasonal content
* Redirecting outdated pages to newer content
* Ensuring stale information disappears automatically
Key features:
* Set an expiration date/time directly in the post editor
* Choose between hide / replace / redirect actions
* Add a custom expiration message or redirect URL
* Shortcode support: [smart_expire expires="YYYY-MM-DD HH:MM"]...[/smart_expire]
* Admin page listing all expiring content (Tools Expiring Content)
No background processes or cron jobs — all logic runs when a visitor views a post.
સ્થાપન
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin through the “Plugins” menu
- Edit any post or page to set an expiry rule in the sidebar
એફએક્યુ (FAQ)
-
Does this plugin delete posts after expiry?
-
No. It only hides, replaces, or redirects the content. Your posts remain in the database.
-
Is there a shortcode to handle inline expiration?
-
Yes! Use
[smart_expire expires="2025-12-31 23:59" action="replace" message="This content has expired."]Hidden content[/smart_expire]. -
Can I bulk-set expiry for multiple posts?
-
Not yet — but it’s planned for a future PRO version. Right now, expiry must be set per-post.
સમીક્ષાઓ
આ પ્લગઇન માટે કોઈ સમીક્ષાઓ નથી.
ફાળો આપનાર & ડેવલપર્સ
“Smart Content Expiry” ને તમારી ભાષામાં અનુવાદ કરો.
વિકાસમાં રસ ધરાવો છો?
કોડ બ્રાઉઝ કરો, જોવોઅસ્વીએન રેપોઝિટરીમાંથી,અથવા સબ્સ્ક્રાઇબ કરોડેવલપમેન્ટ દ્વારાઆરઅસઅસ.
ચેન્જલૉગ
1.1.0
- Added friendly onboarding message when no posts have expiry set.
- Improved admin UI readability and user guidance.
- Updated translations and text domains.
- Added small CSS enhancements for clarity.
- Special thanks to Rik0399 for testing the first version! ❤️
1.0.3
- Fixed nonce validation and naming inconsistency
- Added
wp_unslash()before sanitizing user input (complies with WP Coding Standards) - Improved escaping in admin UI and frontend output
- Optimized content listing query with
meta_keyandposts_per_pagelimit - Confirmed compatibility with WordPress 6.8
1.0.2
- Improved shortcode behavior with redirects
- Minor UI text tweaks and translation support
1.0.1
- Initial public release