Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?


I am creating an educational website and some of my pages are “subjects” like math, physics etc and I want them to be searchable. How do I do this? I thought that it would be easy if I just made a custom post type for the subjects, and then a search form that only searches for that particular custom post type (the subjects). The problem is that I’m unable to create custom post types that are like the PAGES post type. I’m only able to create “blog-like” custom post types if you know what I mean?

Basically this is what I want: A search form that ONLY shows the subjects as results. Do I need custom post types for that or is it possible to add a category named “subjects” to the pages in question and then search for the category “subjects” only? If I need custom post types, how do I create “page-like” custom post types (that are possible to design with elementor or the block editor).

, , , lapurita 6 months 0 Answers 77 views 0

Leave an answer