How to Call on WordPress Custom Fields without a Plugin

Question

I have two custom fields created for pages, not posts, in WordPress. How can I display the values of these custom fields in a block editor, such as Elementor, without the use of a plugin like ACF? I’ve read many articles with directions on placing custom code in either the functions.php, single.php, or page.php. However, there are no directions on how to call upon these custom fields within the content. Is this possible using a shortcode?

0
Travis Cole 1 month 0 Answers 13 views 0

Leave an answer