Get a custom field value with shortcodes

Glenn Glenn's Blog 0 Comments

Many Custom Post creators like CustomPress by wpmu make the process of adding WordPress Custom Fields / Custom Meta pretty straightforward, but if you are using a traditional approach (or even with such plugins) you can use the following WordPress snippet to add a Custom Field to a page/post etc with a shortcode. Add the following to your them’s functions.php …