{"id":7659869,"date":"2016-08-12T15:49:13","date_gmt":"2016-08-12T15:49:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/creating-drop-down-menus-in-intergalactic-theme\/"},"modified":"2016-09-01T17:48:09","modified_gmt":"2016-09-01T17:48:09","slug":"creating-drop-down-menus-in-intergalactic-theme","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/creating-drop-down-menus-in-intergalactic-theme\/","title":{"rendered":"Creating Drop-down menus in Intergalactic Theme"},"content":{"rendered":"<p>I am trying to create dropdown menus in my sidebar based on category hierarchy. Link below:<\/p>\n<p>http:\/\/www.trailsunblazed.com<\/p>\n<p>The posts are categorized into two primary categories: 1) Destinations 2) Activities. I can easily create a dropdown menu if I am just using one of the two primary categories, but not both. I currently have them added to the sidebar menu with the subcategories below them, but they do not show up as a collapsable dropdown menu. Rather, they are all displayed at once and the sidebar gets very crowded. I have been told that there is code that can be sued to collapse the subcategories. Does anyone know how to do this?<\/p>\n","protected":false},"template":"","class_list":["post-7659869","topic","type-topic","status-publish","hentry","topic-tag-intergalactic-theme","topic-tag-menu"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7659869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7659869\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7659869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}