【问题标题】:getting posts from other site network in wordpress 3.0在 wordpress 3.0 中从其他站点网络获取帖子
【发布时间】:2010-06-07 09:51:52
【问题描述】:

我已经设置了具有多站点网络功能的新 wordpress 3.0。我想做的是在主博客中获取并显示来自其他网络站点的博客。就像我在 example.com 上设置了博客,而我在 article.example.com、movies.example.com 上还有其他网络站点。我想从articles.example.com 和movies.example.com 中获取帖子以显示在example.com 的主站点中。 query_post 中是否有任何参数可以从不同的网络站点获取帖子?

【问题讨论】:

    标签: wordpress


    【解决方案1】:

    有一个swith博客功能可以使用或者这个目的。

    【讨论】:

    【解决方案2】:

    看起来这篇文章包含有关您的问题的更多信息。具体使用 WordPress 自定义查询。

    http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query

    How can I display posts from the other sites in a WordPress multisite setup?

    【讨论】:

      猜你喜欢
      • 2014-05-21
      • 2022-01-21
      • 2019-05-13
      • 2018-07-06
      • 1970-01-01
      • 2021-10-07
      • 2018-12-12
      • 2011-04-22
      • 2019-03-31
      相关资源
      最近更新 更多