{"id":5911,"date":"2009-06-19T15:49:10","date_gmt":"2009-06-19T15:49:10","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pagespot\/"},"modified":"2009-06-20T05:57:24","modified_gmt":"2009-06-20T05:57:24","slug":"pagespot","status":"publish","type":"plugin","link":"https:\/\/te.wordpress.org\/plugins\/pagespot\/","author":2023015,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.4","stable_tag":"0.1.4","tested":"2.7","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"PageSpot","header_author":"Nick Eby","header_description":"","assets_banners_color":"","last_updated":"2009-06-20 05:57:24","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/pixelnix.com","header_author_uri":"http:\/\/pixelnix.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3506,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.2","0.1.3","0.1.4"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1539327","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1539327","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1539327","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1539327","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1539327","resolution":"1","location":"plugin"}},"screenshots":{"1":"An example PageSpot template, pagespot-nsew.php, with spots for North, South, East, and West","2":"Adding PageSpot snippets to be reused in public Page layouts","3":"After selecting a PageSpot template, you can assign pages to fill in the spots in that template","4":"Creating selectable Sidebars by adding child pages to private \"[Sidebar] Foo\" pages","5":"Assigning a sidebar to a Page"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[225,170,168],"plugin_category":[43],"plugin_contributors":[94320],"plugin_business_model":[],"class_list":["post-5911","plugin","type-plugin","status-publish","hentry","plugin_tags-cms","plugin_tags-page","plugin_tags-sidebar","plugin_category-customization","plugin_contributors-nickpdx","plugin_committers-nickpdx"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/pagespot.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/pagespot\/trunk\/screenshot-1.png?rev=1539327","caption":"An example PageSpot template, pagespot-nsew.php, with spots for North, South, East, and West"},{"src":"https:\/\/ps.w.org\/pagespot\/trunk\/screenshot-2.png?rev=1539327","caption":"Adding PageSpot snippets to be reused in public Page layouts"},{"src":"https:\/\/ps.w.org\/pagespot\/trunk\/screenshot-3.png?rev=1539327","caption":"After selecting a PageSpot template, you can assign pages to fill in the spots in that template"},{"src":"https:\/\/ps.w.org\/pagespot\/trunk\/screenshot-4.png?rev=1539327","caption":"Creating selectable Sidebars by adding child pages to private \"[Sidebar] Foo\" pages"},{"src":"https:\/\/ps.w.org\/pagespot\/trunk\/screenshot-5.png?rev=1539327","caption":"Assigning a sidebar to a Page"}],"raw_content":"<!--section=description-->\n<p>PageSpot uses private Pages as groups of content to be inserted in various\nother places in your Page or theme. By default it creates two special\nprivate Pages:<\/p>\n\n<p><em>PageSpot Snippets<\/em> are pieces of another Page.  To create a new snippet,\njust\ncreate a child Page of the [PageSpot] Page Snippets page.  PageSpot will\nensure your new snippet remains Private and inaccessible on its own.\nPageSpot then expects you to assign the snippet to a Spot on one of your\npublic Pages.<\/p>\n\n<p>To do that, you will first need to create custom templates in your theme\ndirectory.  If you create a template with \"pagespot\" in the name, and select\nit in the Page editor, the PageSpot admin box will become active for that\nPage.  PageSpot will parse the template for annotations that look like\n\"[[PageSpot:Foo]]\", and allow you to assign a PageSpot Snippet to the\n\"Foo\" spot.<\/p>\n\n<p>The final result is that when viewed from the front end, your Page will have\nthe assigned snippet Page's content inserted in place of your [[PageSpot]]\nannotation.  This lets you build up complex layouts for a Page, composed of\nother Pages. content which you can edit and replace independent of each\nother.<\/p>\n\n<p><em>Sidebar Items<\/em> are pages that together comprise a sidebar for your theme. \nTo create a sidebar, just create a private Page named \"[Sidebar] Foo\".  All\nchild pages of that page constitute the Foo sidebar.  PageSpot will add a\nmeta-box in the Page Edit screen to select the sidebar to use for the\ncurrent Page.  Adding some simple PHP code to your sidebar template is all\nyou then need to bring this functionality into your custom theme:<\/p>\n\n<pre><code>&lt;?php PageSpot::print_sidebar(); ?&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Extract PageSpot archive to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<ul>\n<li>Creating a PageSpot page template*<\/li>\n<\/ul>\n\n<ol>\n<li>Create a template in your theme directory with \"pagespot\" in the filename (See screenshot 1)<\/li>\n<li>Add spot annotations to your template of the form [[PageSpot:aSpotName]]<\/li>\n<li>Create a child Page of the private Page \"[PageSpot] Page Snippets\" (See screenshot 2)<\/li>\n<li>Edit the target public Page, in the Template dropdown select \"pagespot-foo\" (See screenshot 3)<\/li>\n<li>In the PageSpot meta box, the names of your template annotations are displayed; assign a Page to each.<\/li>\n<\/ol>\n\n<ul>\n<li>Creating a PageSpot sidebar*<\/li>\n<\/ul>\n\n<ol>\n<li>Add child pages to the private Page \"[Sidebar] Default Sidebar\"<\/li>\n<li>Add the sidebar code to your theme template: <code>&lt;?php PageSpot::print_sidebar(); ?&gt;<\/code><\/li>\n<li>Assign the sidebar to your public Pages using the Sidebar meta box<\/li>\n<li>Create other sidebars by creating private Pages named \"[Sidebar] Your Name Here\"<\/li>\n<\/ol>","raw_excerpt":"PageSpot facilitates more complex layout options for Pages, and dynamically assignable sidebar content on a per-Page basis.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5911"}],"author":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nickpdx"}],"wp:attachment":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5911"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5911"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5911"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5911"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5911"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}