Skip Navigation

[Resolved] Display custom post type on homepage when checked

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

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 1 reply, has 2 voices.

Last updated by Minesh 5 years, 8 months ago.

Assisted by: Minesh.

Author
Posts
#1257675

Tell us what you are trying to do?
I have a cutom post type that I'm happy with and all is working well BUT, now, my client wants me to add a chck box that, when checked, it will display the custom post on the home page. Basically, make it a homepage featured post.

Is there any documentation that you are following?
None
Is there a similar example that we can see?
Not that i know of.

What is the link to your site?
hidden link

#1257785

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - so, basically, you should create a view to display your featured posts on homepage. You should add a custom field filter and check the checkbox value is checked or not.

More info:
=> https://toolset.com/documentation/getting-started-with-toolset/create-and-display-custom-lists-of-content/
=> https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/