Skip Navigation

[Resolved] Filter by a custom field (from plugin Post Expirator)

This support ticket is created 5 years, 2 months 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.

Our next available supporter will start replying to tickets in about 6.50 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by matthewL-7 5 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1351173

Hi

Post Expirator stores the date for a post in the field "_expiration-date"

But for some reason when setting up a Toolset view this doesn't show up as an option to order or filter the content by?

I tried adding it in "Third-party shortcode arguments" but this didn't make any difference.

How come it isn't showing up?

Cheers

#1351517

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To activate the hidden custom field for order by option available in view, you should
go to the Toolset->Settings page and click the Front-end Content tab. Click Select custom fields button in the Hidden custom fields section. In the dialog box that opens, select the "_expiration-date" field from the list and click Apply and refresh your view's edit page and check with order by section. You will be able to see the "_expiration-date" field.

More info:
=> https://toolset.com/documentation/user-guides/using-third-party-hidden-fields/

#1352111

That’s great thanks! I did try to find documentation on this but couldn’t manage to.