WP Manifestindependent plugin directory
manifest / content / dbm-content

DBM content

Functionality to create type and relations between data in WordPress

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/developedbyme/dbm-content/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

DBM Content data

This plugin enables more content types and linking

Usage

Add types and relations to pages, posts and attachments.

Installation

From your WordPress dashboard

  1. Visit 'Plugins > Add New'
  2. Search for 'DBM Content'
  3. Activate DBM Content from your Plugins page.

From WordPress.org

  1. Upload the folder dbm-content to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

Functions

dbm_create_data($name, $type_path, $grouping_path)

Creates a new data post

dbm_get_owned_relation($owner_id, $group)

Gets the relation that is owned by an object

dbm_get_single_post_relation($post_id, $relation_path)

Gets a posts first relation in a group

dbm_new_query($query_args_or_post_type = null)

Creates a new dbm content query

Range options

Selections

byOwnedRelation

Gets items that has the same relation as the owner.

Parameters

  • ownedRelation - Comma separated string of group:id

/wprr/v1/range/page/byOwnedRelation/default?ownedRelation=example-group:1234

Changelog

0.1

  • First release.