Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitLab with WP-CLI:
wp plugin install https://gitlab.com/purrly-digital-llc/wordpress-plugins/custom-field-shortcodes/-/archive/master/custom-field-shortcodes-master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Maje Media Custom Field Shortcodes
WordPress Plugin: Allows you to use the mmcfs shortcode to put custom field values into your content from the post.
Description
Add values from custom post meta fields to your content using the mmcfs shortcode
[mmcfs field="postmetafieldname" ifempty"value to display if the field is empty"]
Fields
- field: required: this matches the metaname from the postmeta table
- ifempty: optional: Display this if the field is empty or isn't in the post's postmeta results
Github project: https://github.com/majemedia/Custom-Field-Shortcodes
Installation
1. Install the plugin
1. Activate the plugin
1. use shortcode [mmcsfs field="postmetafieldname"] in your content
Changelog
1.0:
Created plugin