Custom Field Shortcode
Place custom fields anywhere in your post content.
by turtle-engr · github.com/turtleengr/wp-custom-field-shortcode · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/turtleengr/wp-custom-field-shortcode/archive/refs/heads/develop.zipUsing shortcodes, place custom fields anywhere in your post content.
Installation
Location: https://moria.whyayh.com/rel/released/software/own/plugin-custom-field-shortcode/
- Use Add Plugins, upload Plugin custom-field-shortcode-1.3.3.zip
- Install and activate the plugin
How do I use this plugin?
In your post\'s content, look for the custom fields and the bottom of the post. You can short code with the custom field\'s name. That will be replaced with the value of the custom field. For example:
[custom~field~ field=\"your-custom-field-name\"]
Replace \"your-custom-field-name\" with one of the custom field name that are available to the post. To see the custom fields that are available, select the \"...\" menu option Preferences, section General, Advanced, turn on \"Custom fields\"
HTML can be put around the [] text and multiple [] fields can be added. For example:
<p>[custom~field field=\"usp-custom-subtitle\"]
</p><p>by [custom~field~ field=\"usp-custom-author\"]
</p><p>Link: [custom~field~ field=\"usp-custom-link\"]> [custom~field~ field=\"usp-custom-link\"]
</p>
How to uninstall the plugin?
Simply deactivate and delete the plugin.