Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

best way to use custom taxonomy, post type and meta in a job system

When the question comes to what to use Post Type, Taxonomies, custom fields ?
I find that the understanding what each one of them stands for helps make the selection easier so i use:

  • Post types – for all major data records that need/not to be displayed or queried.
  • Taxonomies – for grouping posts/custom records together (with children) , helps a lot in queries.
  • Custom fields – for extra data that needs to be specific per post/custom record ,maybe even to help in queries.

So in your case i would use:

  • job title – post title
  • description – content
  • location – Custom Taxonomy (hirirchal)
  • sector – Custom Taxonomy
  • salary start – post meta
  • salary end – post meta
  • contact person – post meta
  • skills – post meta maybe even a custom taxonomy (depends on your needs)

As for searching based on a mix of them its actually easier then it sounds :

$args = array(
    'post_type' => 'job',
    'posts_per_page' => -1,
    'tax_query' => array( //this is for taxonomies
        'relation' => 'AND',
        array( //For location we use
            'taxonomy' => 'location',
            'field' => 'slug',
            'terms' => array( 'florida', 'san-antonio' )
        ),
        array(//for sector we use
            'taxonomy' => 'sector',
            'field' => 'slug',
            'terms' => array( 'it' ),
            'operator' => 'NOT IN'
        )
    ),
    'meta_query' => array( //this is for post meta
       array(//lets say 10000 and above
           'key' => 'salary_start',
           'value' => array(10000),
           'compare' =>  '>=',
           'type' => 'NUMERIC'
       )
   )
);
$query = new WP_Query( $args );

Related Posts:

  1. Advanced search form with filters for custom taxonomies and custom fields
  2. Efficient Taxonomy Intersection
  3. Taxonomy posts on Archive page
  4. Custom Meta Boxes – Nonce Issue – Move to trash issue
  5. Show metabox in custom-post-template depending on taxonomy term?
  6. Displaying Metabox value (custom post type taxonomy)
  7. How can I display my custom metaboxes on a custom post template?
  8. need advice on how to do a lists using custom post types – taxonomy vs postmeta
  9. Count posts with specific term_meta
  10. Does WordPress limit the length of slug names for Post Meta or Terms?
  11. How to duplicate entire custom post type
  12. Metabox not show in categories custom post type cmb2
  13. How do I display the grand child items of a taxonomy term?
  14. Custom Post Type Loop with Query Var
  15. Full Custom Post Type List Organised by two Taxonomies
  16. Custom select query for taxonomies that have posts categorized in another taxonomy
  17. Display different information of a custom post type
  18. Filter posts by tax (dropdown) and meta value
  19. how to show records that don’t have custom meta value
  20. I have custom post type with custom taxonomy. But not found the taxonomy page..
  21. Group Custom post type in a taxonomy page by its child taxomony
  22. Grab all Custom Posts by multiple taxonomies and terms
  23. How to List Custom Post Type Titles Based on Theirs Taxonomy Terms Inside a Nested Loop
  24. How to get post count of specific taxonomy that have store name & category
  25. WordPress CPT Taxonomy Dashboard Search – How to include taxonomy in search?
  26. Custom Post Type meta data getting deleted on bulk editing taxonomies
  27. Should I use a custom taxonomy or custom post type for grouping a list of panels associated with a group of tests?
  28. Custom taxonomy: on the taxonomy term page show other taxonomy terms
  29. Saving Child Terms on front end not setting parent
  30. Order posts by meta value hiding posts instead of re-ordering
  31. Complex strcuture as CPT or taxonomy for use in woocommerce product variations [closed]
  32. WordPress custom post type
  33. Values inside a custom field to determine which category posts to display
  34. Timetable of Custom Meta Data using Custom Post Type and Custom Taxonomy
  35. Advanced search form with filters for custom taxonomies and custom fields
  36. Automatically add custom taxonomy when meta value gets to a set number or beyond
  37. Number of Custom Post Types published are not being shown in the custom page
  38. Seamless permalinks between Custom Taxonomy and Custom Posts
  39. Update postmeta Parent when post_status child change
  40. Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
  41. What is the best practice for displaying my plugin content in themes?
  42. Categorize custom post type
  43. WordPress request fiter order by related post’s post_title
  44. How do I display the taxonomy for a custom post type in an array
  45. Pretty URL for custom search for custom post type
  46. Custom taxonomy rewrite with query var returns %2F in URL
  47. WP Rewrite Rule Issue while using Custom post type & taxonomy
  48. How to list custom taxonomies in the back end
  49. Several CPT’s with same Taxonomy name but with different Terms for each
  50. Remove slug in URL custom post type
  51. Custom Permalinks with CPT and Hierarchical Taxonomies
  52. How to conditionally redirect to the post from a taxonomy page?
  53. How do I check if the user is on a taxonomy term parent, child or grandchild page?
  54. Sort and filter custom post type posts by custom taxonomy
  55. How to edit this code to get the categories in achieve page?
  56. Taxonomies relations
  57. Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
  58. Is it better to use WordPress Custom Post Types or Taxonomies?
  59. Get general taxonomy name for a Custom Post Type
  60. Display Custom Taxonomy Alphabetically
  61. Import data from CSV with custom taxomony empty
  62. WordPress uses url different from defined in rewrite arg of custom post type
  63. Is it possible to use have_posts function to list custom post type posts inside a category?
  64. Filter custom posts by multiple taxonomies
  65. WordPress Doesn’t Generate Taxonomy Archive
  66. URL rewriting for CTP assigned entity
  67. How to have this permalink structure: post_type/postname/custom_inner_page
  68. Suggested Post and Taxonomy structure
  69. How do I require the specification of term in a custom post type and custom taxonomy?
  70. Custom Post, set object Taxonomy terms in plugin
  71. Query Custom Post Type Taxonomy term with multiple parameters
  72. Display post content with respect to its title?
  73. Hierarchy and access control for Custom Post Types (CPT)
  74. Update database from Quick Edit according to Checkbox state of Custom Post Type
  75. Custom fields (wp_post_meta) vs Custom Table for large amount of data
  76. Auto Complete Search
  77. Custom Post Type Pagination Paginates Only in URL Structure
  78. Set post terms for multiple posts
  79. Load Custom_post_type categories post with ajax
  80. Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
  81. Storing a many to many post type relationship in post meta and keeping SQL ability for Joins
  82. Custom taxonomy returns 404
  83. Get terms that contain posts that in turn belong to other terms?
  84. WP-API select custom taxonomy when creating a post
  85. Best method to make posts searchable, sortable and filterable – custom field, tag or category?
  86. First custom field value (out of several) displayed twice after query
  87. Custom post with more than one custom taxonomy
  88. Dynamic Custom Fields
  89. How to get custom posts sub category link
  90. Custom while loop for hierarchical display of a taxonomy
  91. Terms showing up in object cache on unrelated pages
  92. Show Custom Post Type meta boxes only on Page Edit
  93. Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
  94. Get the taxonomy of a post hierarchically
  95. Adding custom taxonomy in same menu place with two custom post types
  96. How to make custom taxonomy into drop down select in a custom metabox
  97. Including taxonomy term before post type breaks top level pages
  98. Correct procedure for advanced permalinks
  99. Permalinks: custom post type -> custom taxonomy -> post
  100. List Taxonomy Terms based on another Taxonomy
Categories custom-post-types Tags custom-post-types, custom-taxonomy, multi-taxonomy-query, post-meta
XML to Json code issue
Can index.php take over for front-page.php in template hierarchy on second page?

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress