Use the following WordPress snippet to add a Custom Field to a page/post etc with a shortcode. Add the following to your theme's functions.php file and then see the usage underneath.
Note that this needs to be in the WordPress Loop.
Use the following WordPress snippet to add a Custom Field to a page/post etc with a shortcode. Add the following to your theme's functions.php file and then see the usage underneath.
Note that this needs to be in the WordPress Loop.
Join in the Discussion