{"id":6346055,"date":"2015-07-20T18:21:30","date_gmt":"2015-07-20T18:21:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/adding-theme-support-2\/"},"modified":"2016-08-30T15:56:02","modified_gmt":"2016-08-30T15:56:02","slug":"adding-theme-support-2","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/adding-theme-support-2\/","title":{"rendered":"Adding theme support"},"content":{"rendered":"<p>The help page at <a href=\"https:\/\/wpjobmanager.com\/document\/enabling-full-template-support\/\">https:\/\/wpjobmanager.com\/document\/enabling-full-template-support\/<\/a> is pretty vague about how to do this. I am totally new to playing around with theme support.<\/p>\n<p>I am assuming that &#8220;add_theme_support( &#8216;job-manager-templates&#8217; );&#8221; would go in the theme&#8217;s or child theme&#8217;s functions.php? How is this called? WordPress page for adding theme support <a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/add_theme_support\">https:\/\/codex.wordpress.org\/Function_Reference\/add_theme_support<\/a> mentions this code:<br \/>\nfunction custom_theme_setup() {<br \/>\n\tadd_theme_support( &#8216;job-manager-templates&#8217; );<br \/>\n}<br \/>\nadd_action( &#8216;after_setup_theme&#8217;, &#8216;custom_theme_setup&#8217; );<\/p>\n<p>Is this what I have created above what I would need to do this? Would &#8216;after_setup_theme&#8217; be &#8216;init&#8217; instead?  Or do I not need any of the code and just &#8220;add_theme_support( &#8216;job-manager-templates&#8217; );&#8221;?<\/p>\n<p>Also, how can I know that this has worked?<\/p>\n<p>Thanks!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wp-job-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-6346055","topic","type-topic","status-closed","hentry","topic-tag-function-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6346055","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\/6346055\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6346055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}