{"id":7748,"date":"2010-01-07T12:57:30","date_gmt":"2010-01-07T12:57:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/themeperpost\/"},"modified":"2010-01-14T22:29:08","modified_gmt":"2010-01-14T22:29:08","slug":"themeperpost","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/themeperpost\/","author":5695174,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"1.1.1","tested":"2.9.2","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"ThemePerPost","header_author":"Steve Claridge","header_description":"","assets_banners_color":"","last_updated":"2010-01-14 22:29:08","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.steveify.com\/themeperpost","header_author_uri":"http:\/\/www.steveify.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":5362,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0","1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[60760,11085],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-7748","plugin","type-plugin","status-closed","hentry","plugin_tags-dynamic-themes","plugin_tags-theme-switcher","plugin_committers-steveclaridge"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/themeperpost.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin lets use a different theme for any Post or Page. You can create a Custom Field that contains a theme name on one \nor more Posts or Pages and this plugin will switch Wordpress to use that theme for only those Posts or Pages.<\/p>\n\n<p>Example of setting theme for one Post:<\/p>\n\n<ol>\n<li>Upload the theme you want to use for your post - let's say it's called 'coolstuff'.<\/li>\n<li>Write your post.<\/li>\n<li>Add a Custom Field to the post called 'themeperpost' and give it a value of 'coolstuff' (not including the quotes).<\/li>\n<li>Save your post.<\/li>\n<\/ol>\n\n<p>If you are creating a small custom theme purely to style a Post or Page then you do not need to create many files within the theme.\nFor styling a Post you only need a file in your theme directory called 'single.php', for styling a Page you only need 'page.php - this\nfits with the standard Wordpress file names for themes. There's an example theme at http:\/\/www.steveify.com\/themeperpost\/.<\/p>\n\n<p>If you want to use an existing theme with this plugin then you will unfortunately have to make a few small changes to the theme before\nit will work. The changes are:<\/p>\n\n<ol>\n<li>Replace get_header() call with themeperpost_get_header().<\/li>\n<li>Replace get_sidebar() call with themeperpost_get_sidebar().<\/li>\n<li>Replace get_footer() call with themeperpost_get_footer().<\/li>\n<\/ol>\n\n<p>This is annoying but unavoidable.<\/p>\n\n<!--section=installation-->\n<p>Installation is easy:<\/p>\n\n<ul>\n<li>Download the plugin.<\/li>\n<li>Copy the <code>themeperpost<\/code> directory to the plugins directory of your blog.<\/li>\n<li>Enable the plugin in your admin panel.<\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Updated so that get_template_directory_uri() and get_template_directory() calls use the right theme dir.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Add calls to replace get_header, get_footer and get_sidebar so that existing themes can be used with this plugin.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Changed so that bloginfo('template_url') calls work.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release.<\/li>\n<\/ul>","raw_excerpt":"This plugin lets use a different theme for any Post or Page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7748"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/steveclaridge"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7748"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7748"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7748"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7748"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7748"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}