Skip Navigation

[Resolved] I need help with figuring out some logic behind what I'm trying to do.

This support ticket is created 6 years, 5 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Luo Yang 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#1107717

Tell us what you are trying to do?

I have a really simple page that I'm trying to create. It's for a school. I have 110 student records that I imported. There are three custom fields: Student ID, First Name, Last Initial. When someone visits the website, all I want them to see is a search bar (no lists of items, etc. - literally just a search bar). When they enter a student ID into the search bar and hit enter, I want just one record to show up that matches the student ID entered, in table format (one row w/ student ID, student first name, and student last initial). What's the best way to accomplish this? Thanks.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

hidden link

#1107731

I should also point out that I don't need a "detail" page. When the single result shows up, the user shouldn't be able to click on anything.

#1108110

Hello,

I suggest you try these:
1) setup a custom post type "Student":
https://toolset.com/documentation/user-guides/create-a-custom-post-type/

2) Add some custom fields (Student ID, First Name, Last Initial) to post type "Student"
https://toolset.com/documentation/user-guides/using-custom-fields/

3) Create a post view, with search form, for user to search the "Student" posts
https://toolset.com/documentation/user-guides/front-page-filters/

4) Display above post view in a wordpress page

For your reference.