Skip to main content

Timeline for Appearance > Menus

Current License: CC BY-SA 3.0

18 events
when toggle format what by license comment
Nov 9, 2014 at 14:02 vote accept dellboy
Nov 9, 2014 at 14:02 vote accept dellboy
Nov 9, 2014 at 14:02
Nov 9, 2014 at 14:01 vote accept dellboy
Nov 9, 2014 at 14:02
Nov 9, 2014 at 10:54 answer added dMcClintock timeline score: 0
Nov 9, 2014 at 9:50 comment added dellboy That would be great dMcClintock and I really appreciate your help. Promotions is a separate menu for now as I have added it as a sample only.
Nov 9, 2014 at 9:44 history edited dellboy CC BY-SA 3.0
edited body
Nov 9, 2014 at 9:37 comment added dMcClintock I'll give you an example for registering them correctly; to confirm, though: it appears that you want the post type to be "product", with "product categories" as a hierarchical organization (taxonomy). What relationship does "promotions" have with the products?
Nov 9, 2014 at 9:30 comment added dMcClintock The taxonomies "Genres" and "Writers", most likely appearing there from the example snippet in the WordPress Codex, has to not only be registered (as they are currently), but also registered to your custom post type so the post type knows they are related to it. Then, when adding a new post to your custom post type, you would select the appropriate taxonomy (much like you would select a category, if it were a normal post). That new post will then appear in the Menu editor under the taxonomy you assigned it to.
Nov 9, 2014 at 9:26 comment added dellboy Ok, so using the code I have updated in my original post. How do I add the custom menus (Products, Promotions, and Product Categories)? The sample in the taxonomy section only allows me to add one group though.
Nov 9, 2014 at 9:21 history edited dellboy CC BY-SA 3.0
added 220 characters in body
Nov 9, 2014 at 9:20 comment added dMcClintock Sorry, I meant taxonomies. A basic example for registering them is here: codex.wordpress.org/Function_Reference/….
Nov 9, 2014 at 9:15 history edited dellboy CC BY-SA 3.0
added 220 characters in body
Nov 9, 2014 at 9:09 comment added dMcClintock Can your copy the code you are using to create the custom post type into your question so I can see it?
Nov 9, 2014 at 9:07 comment added dellboy Hi dMcClintock, sorry I am new to to wordpress but if possible can you please give some sample on setting correctly the CPT so it will appear under e.g Genres or Writers.
Nov 9, 2014 at 7:24 comment added dMcClintock Provided the objects are set correctly when your CPT is registered, those tabs will be populated automatically as you add new pages/posts
Nov 9, 2014 at 4:30 history edited dellboy CC BY-SA 3.0
added 241 characters in body
Nov 8, 2014 at 17:01 answer added damienoneill2001 timeline score: 0
Nov 8, 2014 at 16:50 history asked dellboy CC BY-SA 3.0