[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

bw_related via noderef values – different field names

Using the bw_related shortcode we can implement a generalised solution where the value for the noderef lookup field is determined from the meta data associated with the current post.

APIs implemented by a plugin

The pages that list APIs by plugin have the same basic structure; a link to the plugin followed by a list of APIs implemented by the plugin. The shortcode used on each page is

[bw_related post_type=oik_api meta_key=_oik_api_plugin meta_value=_plugin_ref]
 
i.e. Show me posts of type oik_api where the field named _oik_api_plugin has a value that matches the current post’s _plugin_ref field.

See also

  • oik-fields
  • oik fields APIs
  • APIs

Published: February 28, 2014 | Last updated: March 1, 2014

Information

Shortcode: bw_related – Display links to related content
Letters:

Syntax

Syntax

[bw_related
post_type="| post type - Related post type"
meta_key="| meta key - name of noderef field"
meta_value="| meta value - the default value depends on the field type"
format="| format string - field format string"
by="| noderef field - name of a noderef field"]

Other examples

  • bw_related – Other examples text widget
  • bw_related by date
  • bw_related by matching noderef
  • bw_related with format= parameter
  • Display related posts by noderef field

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2025. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins

WordPress version: 6.8.3

Gutenberg version: 21.7.0

PHP version: 8.2.29