{"id":44053,"date":"2012-10-25T18:41:40","date_gmt":"2012-10-25T18:41:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/attached-posts\/"},"modified":"2014-03-23T20:42:28","modified_gmt":"2014-03-23T20:42:28","slug":"attached-posts","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/attached-posts\/","author":10584661,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.14","stable_tag":"trunk","tested":"3.7.41","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Associated Posts Lite","header_author":"Dennis Hoppe","header_description":"","assets_banners_color":"00656b","last_updated":"2014-03-23 20:42:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro","header_author_uri":"http:\/\/DennisHoppe.de","rating":1,"author_block_rating":0,"active_installs":30,"downloads":24194,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"6","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"617965","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1538925","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1538925","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1538925","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1538925","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538925","resolution":"1","location":"plugin"}},"screenshots":{"1":"Screenshot of the post selection box","2":"Editor with [associated_posts] shortcode","3":"Edit Mode of a static page","4":"Associated Posts Widget","5":"The options page"}},"plugin_section":[],"plugin_tags":[86,166,168,162,241],"plugin_category":[43,50,57],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-44053","plugin","type-plugin","status-closed","hentry","plugin_tags-post","plugin_tags-posts","plugin_tags-sidebar","plugin_tags-widget","plugin_tags-widgets","plugin_category-customization","plugin_category-media","plugin_category-taxonomy","plugin_committers-zero-stats"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/attached-posts_00656b.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/attached-posts\/trunk\/screenshot-1.png?rev=1538925","caption":"Screenshot of the post selection box"},{"src":"https:\/\/ps.w.org\/attached-posts\/trunk\/screenshot-2.png?rev=1538925","caption":"Editor with [associated_posts] shortcode"},{"src":"https:\/\/ps.w.org\/attached-posts\/trunk\/screenshot-3.png?rev=1538925","caption":"Edit Mode of a static page"},{"src":"https:\/\/ps.w.org\/attached-posts\/trunk\/screenshot-4.png?rev=1538925","caption":"Associated Posts Widget"},{"src":"https:\/\/ps.w.org\/attached-posts\/trunk\/screenshot-5.png?rev=1538925","caption":"The options page"}],"raw_content":"<!--section=description-->\n<p><a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Associated Posts<\/a> enables you to associate posts and pages with each other and to display posts on any pages. You can easily select posts in the \"Edit Page\" Mode and attach them to this page. <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Associated Posts Lite<\/a> is the subsequent version of \"<a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/post-page-associator\">Post Page Associator<\/a>\".<\/p>\n\n<p>Btw: <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Associated Posts<\/a> is available as <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Premium Plugin<\/a> too.<\/p>\n\n<h4>Handling<\/h4>\n\n<p>The handling is very easy. When you are going to edit a page you will see a box with the title \"<a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Associated Posts<\/a>\". There you can choose posts which should attached to this page. In this version you cannot set the number of posts which should be shown on the page or other settings like the post order. These options are available in the <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Pro Version<\/a>.<\/p>\n\n<h4>Settings<\/h4>\n\n<p>You can change the association settings in WP Admin Panel &raquo; Settings &raquo; <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Associated Posts<\/a>.<\/p>\n\n<h4>Shortcode<\/h4>\n\n<p>In case you won't have the <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">associated posts<\/a> at the end of your page you can use the <code>[associated_posts]<\/code> shortcode anywhere in your pages content. So the posts will be shown at the place you inserted the shortcode. (The shortcode has no parameters.)<\/p>\n\n<h4>Customization<\/h4>\n\n<p>If you need a customized template of the associated posts. E.g. as list or with author, date, time or meta data feel free to send me an e-mail. For a small fee I will write a customized template for you. Don't be shy. ;)<\/p>\n\n<h4>How to write an own customization<\/h4>\n\n<p>A template is a php file which renders the output of the associated posts (a WP Query). You can find example template files in the plugin folder (templates\/). You can store these templates in:<\/p>\n\n<ul>\n<li>plugin templates folder (or a sub folder) (inadvisable)<\/li>\n<li>your theme folder (or a sub folder)<\/li>\n<\/ul>\n\n<p>The default header of a template looks like that:<\/p>\n\n<pre><code>\/*\nAP Template: Example Template\nDescription: This is the description.\nVersion: 1.0\nAuthor: Your name\nAuthor URI: http:\/\/example.com\nAuthor E-Mail: yourname@example.com\n*\/\n<\/code><\/pre>\n\n<p>The only required information in the header is the \"AP Template\" line. So the Plugin knows this is an AP Template.\nPlease notice that your template will be removed within the next plugin update if you place somewhere inside the plugin folder.<\/p>\n\n<h4>For Theme Designers<\/h4>\n\n<p>Feel free to create a template and add it to your theme. The plugin will find it automatically. You can find a working example file of a template in the plugin directory (<em>templates\/title-excerpt-thumbnail\/title-excerpt-thumbnail.php<\/em>). Just copy it in your template directory and modify it until it fits your themes design.<\/p>\n\n<p>If you want to disable the auto append feature of the plugin you can use the '<em>associated_posts_auto_append<\/em>' filter.\nJust add this line of code to your <em>functions.php<\/em>:<\/p>\n\n<pre><code>Add_Filter ('associated_posts_auto_append', Create_Function('',' return False; ') );\n<\/code><\/pre>\n\n<h4>For real developers ;)<\/h4>\n\n<p>As a real developer you can easily access to the associated posts via functions:<\/p>\n\n<pre><code>Global $wp_plugin_associated_posts;\n$wp_plugin_associated_posts-&gt;Get_Associated_Posts ($page_id = Null){\n\/* $page_id: the id of the page which associated posts you want to read.\n             if $page_id = Null, the plugin will read from current page.\n\n   returns:  By default the function returns a WP_Query Object.\n             The object is very well documented in the Codex.\n             If there are no posts this function returns false.\n*\/\n}\n<\/code><\/pre>\n\n<p>Real developers love the clout of their code. And as a real WordPress developer you know about the magic of hooks and filters. The Associated Posts Plugin uses a filter with the name '<em>associated_posts_template<\/em>'. You can use this filter to set the template file of the associated posts. (You can overwrite the users template option with this filter.) You can find an example file of this template in the plugin directory (<em>templates\/title-excerpt-thumbnail.php<\/em>).<\/p>\n\n<h4>Questions<\/h4>\n\n<p>I know you have many questions \u2013 my mailbox is the proof. ;) But unfortunately I cannot give support for free plugins. There is a separate support package available for the <a href=\"http:\/\/dennishoppe.de\/en\/wordpress-plugins\/associated-posts-pro\">Pro Version<\/a> of this plugin. Please use it. Of course you can hire me for consulting, support, programming and customizations at any time.<\/p>\n\n<h4>In the Press<\/h4>\n\n<ul>\n<li>Post-Page-Associator has been granted the \"Famous Software\" Award! <a href=\"http:\/\/download.famouswhy.com\/post_page_associator\/\">To the post &raquo;<\/a><\/li>\n<li><a href=\"http:\/\/tomaltman.com\/\">Tom Altman<\/a> said \"<em>Why are posts and pages so oil and water in WordPress?  This plugin bridges the gap and makes them more like chocolate and peanut butter.<\/em>\" <a href=\"http:\/\/tomaltman.com\/post-page-association\/\">To the post &raquo;<\/a><\/li>\n<li><a href=\"http:\/\/www.penseelibre.fr\/\">Annie Stasse<\/a> posted \"Association des pages avec billets, cat\u00e9gories, mots-cl\u00e9s\". <a href=\"http:\/\/www.penseelibre.fr\/association-des-pages-avec-billets-categories-mots-cles\/\">To the post &raquo;<\/a><\/li>\n<li>Nancy Golliday made this video: \"Inserting Images and Using Featured Image in WordPress Post Page Associator\". <a href=\"http:\/\/www.youtube.com\/watch?v=9CjbWQRiZ1I\">To the post &raquo;<\/a><\/li>\n<li>How to Use Wordpress as a Full CMS by Melody Clark. <a href=\"http:\/\/www.associatedcontent.com\/article\/5798146\/how_to_use_wordpress_as_a_full_cms.html\">To the post &raquo;<\/a><\/li>\n<li>19 Must Have Plugins for a WordPress Blog. <a href=\"http:\/\/techpatel.com\/19-must-have-plugins-for-a-wordpress-blog\/\">To the post &raquo;<\/a><\/li>\n<li><a href=\"http:\/\/www.cmsmind.com\/\">CMSMind<\/a> wrote \"How to link Posts to a Page in WordPress\" <a href=\"http:\/\/www.cmsmind.com\/appending-posts-to-a-page\/\">To the post &raquo;<\/a><\/li>\n<li><a href=\"http:\/\/www.mondolingua.com\/dcs\/\">MONDOLINGUA<\/a> schrieb \"Artikel komfortabel auf bestimmten Seiten anzeigen\" <a href=\"http:\/\/www.mondolingua.com\/dcs\/2011\/09\/wordpress-artikel-komfortabel-auf-bestimmten-seiten-anzeigen-post-page-associator\/\">To the post &raquo;<\/a><\/li>\n<li><a href=\"http:\/\/www.techietalk.in\/2013\/02\/attach-posts-to-static-page-in-wordpress.html\">TechieTalk<\/a>: \"Attach posts to a static page in WordPress\" <a href=\"http:\/\/www.techietalk.in\/2013\/02\/attach-posts-to-static-page-in-wordpress.html\">To the post &raquo;<\/a><\/li>\n<\/ul>\n\n<h4>Language<\/h4>\n\n<ul>\n<li>This Plugin is available in English.<\/li>\n<li>Dieses Plugin ist in Deutsch verf\u00fcgbar. (<a href=\"http:\/\/DennisHoppe.de\/\">Dennis Hoppe<\/a>)<\/li>\n<li>Cette extension est disponible en Fran\u00e7ais. (<a href=\"http:\/\/www.tradpress.fr\/\">Quentin Turquet<\/a>)<\/li>\n<li>Dette plugin er tilg\u00e6ngelig p\u00e5 Dansk. (<a href=\"http:\/\/artikelforlaget.dk\/\">Thomas Jensen<\/a>)<\/li>\n<li>Este plugin est\u00e1 disponible en Espa\u00f1ol. (David S\u00e1nchez)<\/li>\n<\/ul>\n\n<h4>Translate this plugin<\/h4>\n\n<p>If you have translated this plugin in your language feel free to send me the language file (.po file) via E-Mail with your name and this translated sentence: \"This plugin is available in %YOUR_LANGUAGE_NAME%.\" So I can add it to the plugin. Of course you get a backlink to your website!<\/p>\n\n<p>You can find the <em>Translation.pot<\/em> file in the <em>language\/<\/em> folder in the plugin directory.<\/p>\n\n<ul>\n<li>Copy it.<\/li>\n<li>Rename it (to your language code).<\/li>\n<li>Translate everything.<\/li>\n<li>Send it via E-Mail to &lt;Mail [@t] <a href=\"http:\/\/DennisHoppe.de\/\">DennisHoppe<\/a> [dot] de&gt;.<\/li>\n<li>Thats it. Thank you! =)<\/li>\n<\/ul>\n\n<h4>Frequently Asked Questions<\/h4>\n\n<p>I am still collecting frequently asked questions. ;)<\/p>\n\n<!--section=installation-->\n<p>Installation as usual.<\/p>\n\n<ol>\n<li>Unzip and Upload all files to a sub directory in \"\/wp-content\/plugins\/\".<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Go to edit a page.<\/li>\n<li>There is a new box with title \"Associated Posts\". Try it out! ;)<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.14<\/h4>\n\n<ul>\n<li>Removed the Title, Date, Author, Content template because it was not translatable.<\/li>\n<\/ul>\n\n<h4>1.0.13<\/h4>\n\n<ul>\n<li>Fixed the paragraph tag bug<\/li>\n<\/ul>\n\n<h4>1.0.12<\/h4>\n\n<ul>\n<li>Made the plugin work in a symlinked folder<\/li>\n<\/ul>\n\n<h4>1.0.11<\/h4>\n\n<ul>\n<li>Fixed JS \"changed\" trigger for metabox elements<\/li>\n<\/ul>\n\n<h4>1.0.10<\/h4>\n\n<ul>\n<li>Added new template: Title, Author, Date, Content<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Added Post Type support for media items (post status: inherit)<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Updated default templates to valid HTML5\/CSS3<\/li>\n<li>Cleaned up the hook &amp; filter definitions<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Cleaned up some code parts to avoid PHP Warnings<\/li>\n<li>Added the \"associated_posts_association_data\" filter<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Added Spanish translation by David S\u00e1nchez.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Added Danish translation by <a href=\"http:\/\/artikelforlaget.dk\/\">Thomas Jensen<\/a><\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Added Dutch translation by Hans van Halteren<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Sourced html trim code to a separate function<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Improved template output html<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added Windows Support<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Everything works fine.<\/li>\n<\/ul>","raw_excerpt":"The award-winning Associated Posts Lite (formerly Post Page Associator) Plugin enables you to display posts on a page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/44053","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=44053"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zero-stats"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=44053"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=44053"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=44053"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=44053"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=44053"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=44053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}