Register custom dynamic tags

The Dynamic Tags allow you to display any meta field from your custom post types created in the Greyd Plugin, for example in query loops. In case you want to register custom dynamic tags (e.g. when working with post types created with other tools than our suite), we’ve prepared a little plugin for you that serves as a blueprint.

The plugin consists of three files:

  • event-dynamic-tags.php
    • Registers the script to show custom dynamic tags in the editor
    • Renders these dynamic tags in the frontend
  • event-dynamic-tags.js
    • Registers the custom dynamic tags in the editor
  • modify-block-render.php
    • A little example on how to effect the rendering of blocks

Plugin Download: https://update.greyd.io/misc/event-dynamic-tags.zip

Last updated: