Why don’t you just use the native WordPress Menus.. Go to Appearance > Menus. Then in your screen options, enable your custom post type (products). It’ll appear in the left hand side.
Select all of your products you want in the menu, then you can customize the titles, and also add classes if you need to (again Screen Options).
Related Posts:
- How to add meta box to backend menu page
- wp_nav_menu() mark current item ancestor of custom post type
- Using default WP menu functionality to link to custom post-type listing?
- Is there a way to establish parent/child relationship in WP menu links exclusively?
- How To Display A List Of CPT Posts In A Meta Box On Menus Page?
- Prevent custom post type from showing up in custom menus
- Placing Admin Post Metaboxes in Tabs
- Admin menu post type
- How to make a single Menu Item call another Mega Menu for Custom Post Types and Custom Taxonomies?
- Adding an Archive of Posts to the Navigation Menu in WordPress 3.0
- wp_dropdown_categories in custom post type with custom taxonomy
- Custom Post Type Menus
- Highlighting current item of custom post types’ sub pages, listed by wp_list_pages
- Extend walker class with custom post types [closed]
- Remove tabs from media uploader for a CPT
- Remove custom metaboxes from custom post type
- Priority of Meta Box for Custom Post Type
- Using ‘strtotime’ function to convert a custom-meta-box to a date-stamp
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- How to save the checked boxes?
- add_meta_box: Datepicker like the one for postdate?
- Save or update data when custom post published
- Custom Post Type Meta Boxes
- How to add multiple featured image in meta box in post editor?
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- Using WPAlchemy metabox values in another metabox
- adding .current* tags to custom post types and taxonomies
- How to get custom post type menu_name?
- Adding Meta Boxes while Registering a Post Type in a Class
- how to get post slug from url in wordpress
- Dynamically add / duplicate custom meta in custom post types
- How can I create a custom meta box to add an mp4 video to a page?
- Add/Remove current_page_parent class
- Pull a post based on a meta value in a custom post type
- Change meta box when the page’s template is changed
- Cannot save Checkbox meta box value from a Custom Post Type
- Undefined Variable – Custom Post Type Meta
- custom post type not showing in menu
- Custom Taxonomy Navigation, with current menu items for children?
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Metabox not show in categories custom post type cmb2
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- pre_get_posts for custom page builder meta box
- How to make custom taxonomy into drop down select in a custom metabox
- Using POST method in meta box, no results
- Custom Post Types in the WordPress Navigation Menu
- Add additional field to custom post_type
- Save Multiple Metabox values
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- Create metaboxes based on custom post type
- How can I use archive-{post_type}.php theme template?
- Custom Post Type Link added to menu won’t show in frontend
- How to Echo Metadata Value in Currency Format
- Problem with $post_id object’s property
- populate array with posts
- Get custom post type categories to show up in menus
- How to make a meta box?
- CMB2 metabox create select with list of post from CPT
- Odd behaviour for the update button when displaying a WP_List_Table
- Creating alternate meta box context locations
- Meta box data is saved but NOT displayed in the meta box text field. Why?
- Custom meta box in custom post type not working
- WP_Meta_Query object with conditionals
- How to programmatically add elements in a custom menu
- Query Custom Posts – Add To Selection
- Invalid file type when using wp_upload_bits to upload PDF to a custom post type
- Metabox does not show in custom post type
- How to sum values from all custom posts metabox
- How to recover the post ID earlier in the WP admin hook action “firing” sequence?
- Saving a Custom Post Type with a Meta Box results in a “Updating Failed” error
- Adding accordion-section to custom post type edit screen
- I’m having trouble with Related Product “tax_query” ‘terms’ value
- cpt not display inside nav menu
- Create Post Types from a XML url (Real Estate website)
- wp_editor in custom post type is not saving formatted text like bold, italic etc
- Wp Query sort order from custom MetaBox
- Admin metabox with custom post type dropdown option not update choosed input after saving
- Dropdown of existing posts in a metabox
- Custom post type category link + add to menu
- php output of generated custom metabox
- Navigation not working for custom post type pages
- Meta Box not being added in plugin
- How to add a custom meta box below publish box in CPT that is like publish meta box and can contains html?
- Unable to get the values for metaboxes for custom post type
- Custom Post Type parent slug as menu item
- Problem with ‘save_post’ hook not running
- Howto: use existing post_meta as options for a different metabox (checkboxes or list)
- WPAlchemy Metabox rewriting slug
- CPT Archive with parent page
- Customized featured image doesn’t refresh in post admin metabox after upload/insert
- loop through custom post-type with two meta_keys
- Setting a Master Menu on a Custom Post Type
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- CPT Template Option to Top
- Use a Variable in update_post_meta as the $meta_key
- Navigation won’t update to show full path to single post
- Canot save post if any meta box was empty
- Multiple posts selection [closed]