{"id":24158,"date":"2013-07-07T22:29:50","date_gmt":"2013-07-07T22:29:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-over-network\/"},"modified":"2013-07-28T02:40:09","modified_gmt":"2013-07-28T02:40:09","slug":"wp-over-network","status":"publish","type":"plugin","link":"https:\/\/gd.wordpress.org\/plugins\/wp-over-network\/","author":10226766,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.4","stable_tag":"0.4.4","tested":"3.5.2","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"WP Over Network","header_author":"HissyNC, yuka2py","header_description":"","assets_banners_color":"3da6a6","last_updated":"2013-07-28 02:40:09","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/None%20currently.","header_plugin_uri":"https:\/\/github.com\/yuka2py\/wp_over_network","header_author_uri":"https:\/\/github.com\/yuka2py\/wp_over_network","rating":5,"author_block_rating":0,"active_installs":90,"downloads":6327,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.4.3":"<ul>\n<li>Deprecated the <code>wponw_recent_post_list<\/code>. Please use the <code>wponw_post_list<\/code> instead.<\/li>\n<\/ul>","0.4.2":"<ul>\n<li>I changed the file name, for the plug-in file management issues on.<\/li>\n<\/ul>","0.4.0 \/ 0.4.1":"<ul>\n<li>DO NOT Install. there is bugs. sorry...<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"737537","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3.1.1","0.3.1.2","0.3.1.3","0.3.1.4","0.4.2","0.4.3","0.4.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"739049","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"737537","resolution":"2","location":"assets"}},"screenshots":{"1":"Widget setting.","2":"Widget on front site."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1668,441,325,166],"plugin_category":[51],"plugin_contributors":[78180,88714],"plugin_business_model":[],"class_list":["post-24158","plugin","type-plugin","status-publish","hentry","plugin_tags-blogs","plugin_tags-multisite","plugin_tags-network","plugin_tags-posts","plugin_category-multisite","plugin_contributors-hissy","plugin_contributors-yuka2py","plugin_committers-yuka2py"],"banners":{"banner":"https:\/\/ps.w.org\/wp-over-network\/assets\/banner-772x250.png?rev=737537","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-over-network_3da6a6.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-over-network\/assets\/screenshot-1.png?rev=739049","caption":"Widget setting."},{"src":"https:\/\/ps.w.org\/wp-over-network\/assets\/screenshot-2.png?rev=737537","caption":"Widget on front site."}],"raw_content":"<!--section=description-->\n<p>Add ability to get posts from over your network sites. Supports widget, shortcode, and customizable original function.<\/p>\n\n<p>Use the following:<\/p>\n\n<h4>In template<\/h4>\n\n<pre><code>&lt;?php \n\nget_header();\nthe_post();\n\n?&gt;\n&lt;section id=\"content-primary\"&gt;\n        &lt;header id=\"page-header\"&gt;\n                &lt;h1&gt;&lt;?php the_title() ?&gt;&lt;\/h1&gt;\n        &lt;\/header&gt;\n&lt;?php\n\n\/\/ Getting recent posts the page and post, minus the host blog.\n\/\/ Specify the \"affect_wp_query = true\", for using the wp_pagenavi.\n$posts = wponw::get_posts('exclude_blog_ids=1&amp;post_type=post,page&amp;affect_wp_query=true');\n\nwp_pagenavi();\n\n?&gt;\n&lt;?php if ( ! empty ( $posts ) ) : ?&gt;\n        &lt;section class=\"post-list\"&gt;\n&lt;?php\n        foreach ( $posts as $post ) :\n                wponw::setup_blog_and_postdata( $post );\n?&gt;\n                &lt;section id=\"post-&lt;?php the_ID() ?&gt;\" &lt;?php post_class() ?&gt;&gt;\n                        &lt;h2&gt;\u3010&lt;?php echo $post-&gt;blog_name ?&gt;\u3011&lt;\/h2&gt;\n                        &lt;h1&gt;&lt;a href=\"&lt;?php the_permalink() ?&gt;\"&gt;&lt;?php the_title() ?&gt;&lt;\/a&gt;&lt;\/h1&gt;\n                        &lt;?php echo get_the_excerpt() ?&gt;\n                &lt;\/section&gt;\n&lt;?php\n                wponw::restore_blog_and_postdata();\n        endforeach;\n?&gt;\n        &lt;\/section&gt;\n&lt;?php else : ?&gt;\n        &lt;p&gt;Sorry, there is no post.&lt;\/p&gt;\n&lt;?php endif; # End of empty( $posts ) ?&gt;\n\n&lt;\/section&gt;\n&lt;?php\n\nwp_reset_query();\nget_sidebar();\nget_footer();\n<\/code><\/pre>\n\n<h4>Using as Shortcode<\/h4>\n\n<p><strong>Display with default.<\/strong><\/p>\n\n<pre><code>[wponw_recent_post_list]\n<\/code><\/pre>\n\n<p>Arguments, can be used the same as <code>wponw::render_post_archive_to_string<\/code>.<\/p>\n\n<p><strong>Use your template file, includes 3 post types<\/strong><\/p>\n\n<pre><code>[wponw_recent_post_list numberposts=8 post_type=products,promotions,information template=TemplateFileNameInYourTheme]\n<\/code><\/pre>\n\n<p>NOTICE: DON'T include the file extension in TemplateFileNameInYourTheme.<\/p>\n\n<p><strong>If you want to use your own rendering function.<\/strong><\/p>\n\n<pre><code>[wponw_recent_post_list numberposts=5 post_type=products renderer=YourRenderFunction]\n<\/code><\/pre>\n\n<p><strong>To create an archive page with a page.<\/strong><\/p>\n\n<p>You create the new page, and write the below shortcode in the post content.<\/p>\n\n<pre><code>[wponw_recent_post_list post_type=post exclude_blog_ids=1 affect_wp_query=true]\n<\/code><\/pre>\n\n<h3>Contact<\/h3>\n\n<p>@yuka2py on twitter<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp_orver_network<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>using in your template or shortcode or widget.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>None currently.<\/p>\n\n<!--section=changelog-->\n<h4>0.4.4<\/h4>\n\n<ul>\n<li>Fixed a bugs on the child site.<\/li>\n<\/ul>\n\n<h4>0.4.3<\/h4>\n\n<ul>\n<li>Added the shortcode of <code>wponw_reset_query<\/code> and <code>wponw_post_list<\/code>.<\/li>\n<li>Deprecated the <code>wponw_recent_post_list<\/code>. Please use the <code>wponw_post_list<\/code> instead.<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Added settings to widget<\/li>\n<li>Bug fix<\/li>\n<\/ul>\n\n<h4>0.3.1.x<\/h4>\n\n<ul>\n<li>Update document. and Fixed a mistake in the readme.<\/li>\n<\/ul>\n\n<h4>0.3.0.0<\/h4>\n\n<ul>\n<li>Supports internationalization.<\/li>\n<\/ul>\n\n<h4>0.2.1.1<\/h4>\n\n<ul>\n<li>Fixed bugs on shortcode.<\/li>\n<\/ul>\n\n<h4>0.2.1.0<\/h4>\n\n<ul>\n<li>Shortcode added. and fixed bugs.<\/li>\n<\/ul>\n\n<h4>0.1.13.0<\/h4>\n\n<ul>\n<li>Widget added. Fixed a problem of the use of Transient API. Change the class names.<\/li>\n<\/ul>","raw_excerpt":"Add ability to get posts from over your network sites. Supports widget, shortcode, and customizable original function.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24158"}],"author":[{"embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/yuka2py"}],"wp:attachment":[{"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24158"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24158"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24158"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24158"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24158"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}