定制 uriweb/uri-display-posts-multisite 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

uriweb/uri-display-posts-multisite

最新稳定版本:v0.2.0

Composer 安装命令:

composer require uriweb/uri-display-posts-multisite

包简介

Extends Display Posts to display posts from other sites in a WordPress multisite network. Forked from johnpennypacker/display-posts-multisite.

README 文档

README

Extends Display Posts to display posts from other sites in a WordPress multisite network. All you do is change the shortcode itself to display-posts-multisite add a blog_id parameter to the shortcode with an integer that matches the blog id of the site you want to display posts from. That's it. Most other things work exactly the same as Display Posts.

What do you mean by "most things work exactly the same?"

  • Taxonomy queries don't work unless the same taxonomy is registered in both sites.

Example

[display-posts-multisite category="news" posts_per_page="5" blog_id="42" no_posts_message="No news is good news."]

Requirements

The Display Posts plugin must be installed and active in order for this plugin to extend it.

统计信息

  • 总下载量: 133
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2024-08-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固