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?
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- Grouping metadatas into one
- page menu entry for custom post type
- Anon function and add_meta_box
- Possibilities for the edit.php admin panel? [closed]
- How to display custom WP menus?
- 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?
- Display correctly using metabox.io
- Create Connection Between two post types
- pre_get_posts for custom page builder meta box
- Disable closing on metaboxes
- Show Custom Post Type meta boxes only on Page Edit
- Cannot save CPT meta box
- How to make custom taxonomy into drop down select in a custom metabox
- Adding Page Templates to post but it ignored it
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Create a Dropdown from Custom Post Type
- Translating custom post type metaboxes [closed]
- Adding a metabox on a CPT’s submenu page
- Fixed values for same post translations
- How to Add multiple instance of meta box to custom post type
- Use custom walker to add taxonomy terms to main nav menu
- Using POST method in meta box, no results
- meta box on custom post type
- A page that shows a list of a specific custom post type
- Checking if $_FILE isset for an array of file upload metaboxes
- Ordering values entered in Custom Taxonomies
- Single custom post type’s menu ancestor/parent is Posts archive page
- Listing custom terms in custom post meta
- Permalinks: custom structure for taxonomy – tags?
- Custom Post Type & Meta Box – Displaying meta box information on front end?
- menu link to custom post_type?
- How can I move (or create another) publish button?
- Wrap meta boxes & data handling for specific post types in classes?
- Review site custom post type structure
- Can custom fields be added without a meta box?
- Can’t publish custom post type – “You are not allowed to edit this post.”
- Meta Box on Custom Post Type not saving
- Custom Post Types in the WordPress Navigation Menu
- Custom “radio button meta box” not saving correctly
- Global custom meta box
- Sizing textarea field in custom metabox
- Moving meta boxes in admin
- Meta Data for Custom Post Type not saving
- Remove “show sharing buttons” metabox Jetpack from custom post type
- Add additional field to custom post_type
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- Custom Post Meta from custom metaboxes is randomly being deleted
- custom post type metaboxes not saving
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Add a custom meta box for client to order CPT posts how they want
- Ordering Submenu Pages in WP 3.1
- Including link to custom post type in ‘wp_list_pages’ function
- Save Multiple Metabox values
- Which Template Page Should I Use?
- Custom post type, have only my meta boxes
- Display Repeatable Meta Box Content
- How can i automatically add CPT single pages as sub menu items
- Use remove_meta_box conditionally on custom post type
- create custom meta box with default value
- Can I restrict category availability?
- Create metaboxes based on custom post type
- How can I use archive-{post_type}.php theme template?
- Displaying a div from an assigned meta_value when on a page
- Custom Post Type Link added to menu won’t show in frontend
- Custom post-type metabox position
- How to Echo Metadata Value in Currency Format
- Issue on Working with Metabox – Checkbox to enable Sale Items
- How to add editable/dynamic values to dropdown of a Custom Post Type Meta Box
- Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”
- Problem with $post_id object’s property
- What do the numbers mean at the end of add_action(‘save_post’)…?
- Saving Meta Data within Custom Post Type
- A meta box (in a custom post type) with two different type of fields
- populate array with posts
- Using custom post type as taxonomy
- Get custom post type categories to show up in menus
- wysiwyg editor don´t export paragraph
- How to make a meta box?
- Retrieving meta-box from a custom-post-type
- How can I create an automatic drop down menu with my tags?
- show current item in custom menu, when inside a custom post type
- Forms and WordPress Nonce
- How can I set a meta value that will then affect other post meta values?
- Why do I have to press the “Update” button twice to save my meta box values?
- Inefficient Query Confusion
- Create a custom post type for a photo post
- WordPress menu with custom taxonomy