| 开发者 | karttikjain |
|---|---|
| 更新时间 | 2026年7月10日 19:29 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
_cwpcm_pillar_url field lets you link a cluster by passing the pillar's URL instead of its ID.cwpcm_get_cluster_posts(), cwpcm_get_pillar_post(), cwpcm_is_pillar(), cwpcm_is_cluster(), and cwpcm_get_all_pillars() for use in your theme templates.craftywebbies-pillar-cluster-manager text domain.cwpcm_is_pillar( get_the_ID() ) — returns true if the current post is a Pillar.
cwpcm_is_cluster( get_the_ID() ) — returns true if the current post is a Cluster.
cwpcm_get_pillar_post( get_the_ID() ) — returns the parent WP_Post pillar object for a cluster.
cwpcm_get_cluster_posts( get_the_ID() ) — returns an array of published cluster WP_Post objects for a pillar.
cwpcm_get_all_pillars() — returns all published pillar posts.
craftywebbies-pillar-cluster-manager folder to /wp-content/plugins/.Currently the plugin works with the built-in post post type. Support for custom post types is planned for a future release.
No. The plugin only adds new meta fields. Existing posts are unaffected until you explicitly set them as Pillars or Clusters.
No. If you mark a post as a Pillar, any existing cluster assignment is removed, and vice versa.
Yes. The meta box appears in the sidebar of both the Classic Editor and the Block Editor.