{"id":15492566,"date":"2022-03-24T15:34:10","date_gmt":"2022-03-24T15:34:10","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-single-post\/"},"modified":"2022-03-24T15:34:10","modified_gmt":"2022-03-24T15:34:10","slug":"custom-single-post","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-single-post\/","title":{"rendered":"Custom Single Post"},"content":{"rendered":"<p>Hello<\/p>\n<p>I have installed the Meta Box plugin to create custom fields and custom post types. I need to display their fields in the front end, however they state to copy the single.php and rename as single-{post-type}.php in child theme. Problem is, I can&#8217;t find the single.php in the OWP theme directory. I&#8217;ve tried using hierarchy structure as stated in some of the theme files as partials\/single\/layout or partials\/single\/content, and placing my code in there, but this does nothing. <\/p>\n<p>Where do I find single.php in the theme files, or how do I create my own custom post type .php file to overwrite this post type in my child theme?<\/p>\n<p>Thank you<\/p>\n","protected":false},"template":"","class_list":["post-15492566","topic","type-topic","status-publish","hentry","topic-tag-custom-post-type","topic-tag-single","topic-tag-single-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15492566","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\/15492566\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15492566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}