Title: WP Over Network
Author: yuka2py
Published: <strong>2013 年 7 月 7 日</strong>
Last modified: 2013 年 7 月 28 日

---

搜尋外掛

![](https://ps.w.org/wp-over-network/assets/banner-772x250.png?rev=737537)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/wp-over-network_3da6a6.svg)

# WP Over Network

 由 [yuka2py](https://profiles.wordpress.org/yuka2py/) 開發

[下載](https://downloads.wordpress.org/plugin/wp-over-network.0.4.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wp-over-network/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wp-over-network/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wp-over-network/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wp-over-network/#developers)

 [技術支援](https://wordpress.org/support/plugin/wp-over-network/)

## 外掛說明

Add ability to get posts from over your network sites. Supports widget, shortcode,
and customizable original function.

Use the following:

#### In template

    ```
    <?php 

    get_header();
    the_post();

    ?>
    <section id="content-primary">
            <header id="page-header">
                    <h1><?php the_title() ?></h1>
            </header>
    <?php

    // Getting recent posts the page and post, minus the host blog.
    // Specify the "affect_wp_query = true", for using the wp_pagenavi.
    $posts = wponw::get_posts('exclude_blog_ids=1&post_type=post,page&affect_wp_query=true');

    wp_pagenavi();

    ?>
    <?php if ( ! empty ( $posts ) ) : ?>
            <section class="post-list">
    <?php
            foreach ( $posts as $post ) :
                    wponw::setup_blog_and_postdata( $post );
    ?>
                    <section id="post-<?php the_ID() ?>" <?php post_class() ?>>
                            <h2>【<?php echo $post->blog_name ?>】</h2>
                            <h1><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h1>
                            <?php echo get_the_excerpt() ?>
                    </section>
    <?php
                    wponw::restore_blog_and_postdata();
            endforeach;
    ?>
            </section>
    <?php else : ?>
            <p>Sorry, there is no post.</p>
    <?php endif; # End of empty( $posts ) ?>

    </section>
    <?php

    wp_reset_query();
    get_sidebar();
    get_footer();
    ```

#### Using as Shortcode

**Display with default.**

    ```
    [wponw_recent_post_list]
    ```

Arguments, can be used the same as `wponw::render_post_archive_to_string`.

**Use your template file, includes 3 post types**

    ```
    [wponw_recent_post_list numberposts=8 post_type=products,promotions,information template=TemplateFileNameInYourTheme]
    ```

NOTICE: DON’T include the file extension in TemplateFileNameInYourTheme.

**If you want to use your own rendering function.**

    ```
    [wponw_recent_post_list numberposts=5 post_type=products renderer=YourRenderFunction]
    ```

**To create an archive page with a page.**

You create the new page, and write the below shortcode in the post content.

    ```
    [wponw_recent_post_list post_type=post exclude_blog_ids=1 affect_wp_query=true]
    ```

### Contact

@yuka2py on twitter

## 螢幕擷圖

[⌊Widget setting.⌉⌊Widget setting.⌉[

Widget setting.

[⌊Widget on front site.⌉⌊Widget on front site.⌉[

Widget on front site.

## 安裝方式

 1. Upload `wp_orver_network` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. using in your template or shortcode or widget.

## 常見問題集

None currently.

## 使用者評論

![](https://secure.gravatar.com/avatar/387e3f68b311cffdfaf7a6fe44fd83b9313a2f83a9deae52ec61b34482e65977?
s=60&d=retro&r=g)

### 󠀁[Essential for multisite directories](https://wordpress.org/support/topic/essential-for-multisite-directories/)󠁿

 [ariel29](https://profiles.wordpress.org/ariel29/) 2017 年 8 月 9 日

It was easy to install and implement and is able to display the latest information
on all the blogs.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/wp-over-network/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WP Over Network〉的開發相關工作。

參與者

 *   [ yuka2py ](https://profiles.wordpress.org/yuka2py/)
 *   [ Takuro Hishikawa ](https://profiles.wordpress.org/hissy/)

[將〈WP Over Network〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wp-over-network)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wp-over-network/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/wp-over-network/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wp-over-network/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wp-over-network/)。

## 變更記錄

#### 0.4.4

 * Fixed a bugs on the child site.

#### 0.4.3

 * Added the shortcode of `wponw_reset_query` and `wponw_post_list`.
 * Deprecated the `wponw_recent_post_list`. Please use the `wponw_post_list` instead.

#### 0.4.2

 * Added settings to widget
 * Bug fix

#### 0.3.1.x

 * Update document. and Fixed a mistake in the readme.

#### 0.3.0.0

 * Supports internationalization.

#### 0.2.1.1

 * Fixed bugs on shortcode.

#### 0.2.1.0

 * Shortcode added. and fixed bugs.

#### 0.1.13.0

 * Widget added. Fixed a problem of the use of Transient API. Change the class names.

## 中繼資料

 *  版本 **0.4.4**
 *  最後更新 **13 年前**
 *  啟用安裝數 **90+**
 *  WordPress 版本需求 ** 3.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.5.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/wp-over-network/)
 * 標籤:
 * [Blogs](https://tw.wordpress.org/plugins/tags/blogs/)[multisite](https://tw.wordpress.org/plugins/tags/multisite/)
   [network](https://tw.wordpress.org/plugins/tags/network/)[posts](https://tw.wordpress.org/plugins/tags/posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wp-over-network/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wp-over-network/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wp-over-network/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wp-over-network/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wp-over-network/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wp-over-network/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-over-network/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wp-over-network/reviews/)

## 參與者

 *   [ yuka2py ](https://profiles.wordpress.org/yuka2py/)
 *   [ Takuro Hishikawa ](https://profiles.wordpress.org/hissy/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wp-over-network/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://None%20currently.)