{"id":3840292,"date":"2013-06-13T18:03:23","date_gmt":"2013-06-13T18:03:23","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/where-add-script-to-select-category\/"},"modified":"2016-08-21T01:59:15","modified_gmt":"2016-08-21T01:59:15","slug":"where-add-script-to-select-category","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/where-add-script-to-select-category\/","title":{"rendered":"where add script to select category"},"content":{"rendered":"<p>I like WP forntend user post plugin. I would hide some customs fields for some category. For this i think add onchange() to select category:<code>&lt;select name=&quot;category[]&quot; id=&quot;cat&quot; class=&quot;cat requiredField&quot;&gt;<\/code> but could not find where it is.<br \/>\nThanks for advice!<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/wp-user-frontend\/<\/p>\n","protected":false},"template":"","class_list":["post-3840292","topic","type-topic","status-closed","hentry","topic-tag-category"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/3840292","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\/3840292\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=3840292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}