Sky Blue Sofa Helpdesk Using an Expiration Date with Page List+ - Sky Blue Sofa Helpdesk

Using an Expiration Date with Page List+

April 29, 2014 at 9:38 AM

The Issue

Sometimes you only want pages to show until some 'expiration date'. Here's how you'd do it with Page List+.

How to Fix the Issue

  1. Create a page attribute
    1. Make it a 'Date' attribute
    2. Call it 'Expiration Date' or something similar
  2. Add this page attribute and values to the pages you want to use
  3. Create or edit your Page List+ block
    1. On the 'filter' tab, tick the box next to 'Expiration Date'
    2. In the dropdown for the 'Expiration Date', choose one of the following settings, depending on what you want returned
      • Is today or after
      • Is after today
    3. Save the block and test

That's it. You should now have a Page List+ block that only shows pages with an expiration date after today's date (or today and after, depending on the setting).


Categories: Page List+
  0     Have marked this Article as Helpful