Linux 软件免费装
Banner图

MB Relationships

开发者 metabox
rilwis
truongwp
hsimah
anhdoanmis
更新时间 2024年11月7日 09:29
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.6.2
版权: GPLv2 or later

标签

connections relationships posts to posts

下载

1.11.1 1.12.1 1.2.0 1.6.0 1.9.0 1.9.2 1.10.2 1.10.3 1.10.4 1.10.8 1.6.1 1.8.0 1.10.0 1.10.10 1.1.0 1.11.0 1.12.0 1.4.1 1.5.0 1.1.2 1.10.5 1.10.6 1.10.7 1.10.9 1.11.2 1.11.3 1.1.1 1.10.11 1.12.2 1.12.3 1.12.4 1.7.1 1.9.1 1.10.1 1.12.5 1.12.6 1.3.0 1.3.2 1.4.0

详情介绍:

MB Relationships helps you create relationships between posts, pages, custom post type, terms and users. The plugin is lightweight and optimized for database and query performance. The plugin allows you to create connections from posts to posts, posts to pages and so on. Then you can perform corresponding queries to retrieve posts that are connected to or from given posts. It supports reciprocal and bi-directional relationships. Why Do You Need Posts To Posts Relationships In WordPress? Post relationships is a missing part in WordPress. The only "built-in" way that mimic the post relationship in WordPress is the post_parent for pages where you can create many child pages of a page (a one-to-many relationship). Unfortunately, that's available for pages and hierarchical post types only. Besides, it's not many-to-many relationship. Below are some examples of posts to posts relationships that might help you see the benefit of this feature: Creating Related Posts In WordPress The simplest example is to manually create related posts in your WordPress website. When you edit a post, you can select posts that have similar or related content and display them in the frontend for further reading. You can also query backward: displaying posts that link to the being read post as a reference to provide more information to your readers. With this, you don't need a WordPress related posts plugin anymore. Example: Events And Bands Suppose you have two custom post types, event and band, where: If people want to buy tickets, they could search for events in their location and see what bands are playing on a given date, or they could search for bands they like and see what date they are playing near their location. In this example, we have created many-to-many relationships between events and bands. Bi-directional relationships MB Relationships allows you to create bi-directional connections. You will be able to query back and forth without any problem. The data is stored in the database as a pair of (from_id, to_id), thus making it independent from either side. Besides, for each side, there's a meta box that shows what are connected from/to. So you don't have to worry about the direction of the connection anymore. An Alternative For The Posts 2 Posts Plugin (P2P Plugin) MB Relationships is very much inspired by the popular plugin Posts 2 Posts which is not maintained anymore. We have taken the idea and made some improvements. The codebase and data structure is very similar. Plugin features Plugin Links This plugin is a free extension of Meta Box plugin, which is a powerful, professional solution to create custom fields and custom meta boxes for WordPress websites. Using MB Relationships in combination with other extensions will help you manage any content types in WordPress easily and make your website more professional. You might also like If you like this plugin, you might also like our other WordPress products:

安装:

You need to install Meta Box plugin first Install MB Relationships extension

屏幕截图:

  • "Connected From" meta box
  • Database structure

更新日志:

1.12.6 - 2024-11-07 Fix error when searching posts in the admin when set a relationship as a filter 1.12.5 - 2024-11-01 1.12.4 - 2024-10-14 Fix warnings by Plugin Check 1.12.3 - 2024-08-19 Fix running PHP Codesniffer when installing & autoload the plugin's main file via Composer 1.12.2 - 2024-05-16 Set default field label for clarity and to work with Oxygen builder. 1.12.1 - 2024-04-11 Fix admin filter compatibility with Visual Composer 1.12.0 - 2024-03-25 1.11.3 - 2023-11-16 1.11.2 - 2023-09-18 1.11.1 - 2023-05-10 1.11.0 - 2022-12-22 1.10.11 - 2022-03-08 1.10.10 - 2021-12-14 1.10.9 - 2021-09-18 1.10.8 - 2021-08-12 1.10.7 - 2021-08-05 1.10.6 - 2021-07-14 1.10.5 - 2020-08-17 1.10.4 - 2020-07-28 1.10.3 - 2020-07-07 1.10.2 - 2020-07-06 1.10.1 - 2020-06-18 1.10.0 - 2020-04-22 1.9.2 - 2020-04-17 1.9.1 - 2020-04-08 1.9.0 - 2020-02-19 1.8.0 - 2020-01-05 1.7.1 - 2019-11-01 1.7.0 - 2019-09-18 1.6.1 - 2019-07-17 1.6.0 - 2019-02-25 1.5.0 - 2018-12-19 1.4.1 - 2018-10-26 1.4.0 - 2018-08-24 1.3.2 - 2018-07-02 1.3.1 - 2018-07-02 1.3.0 - 2018-05-25 1.2.0 - 2018-04-27 1.1.2 - 2018-03-08 1.1.1 - 2018-02-27 1.1.0 1.0.0