Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Latest commit

 

History

History
8 lines (6 loc) · 501 Bytes

README.md

File metadata and controls

8 lines (6 loc) · 501 Bytes

LGND Expire Sticky Posts

This plugin automatically expires sticky posts after a set number of days (by default, 14). To use:

  • Edit the lgnd-expire-stickies.php file to set the appropriate value of LGND_EXPIRE_STICKIES_DAYS
  • Install the plugin by uploading it to the Plugins page in your WordPress backend
  • Activate the plugin

Once installed and activated, the plugin will run using wp-cron hourly, selecting all sticky posts older than LGND_EXPIRE_STICKIES_DAYS and unstickying them.