How to display Advanced Custom Fields with shortcodes

[ad_1]

Hi, I’m totally not an expert that has to make a few changes on a website that uses ACF and Classic Editor.

Is there a way I can display a field on the front end with a shortcode on the classic editor? If not, can i temporarily disable the classic editor plugin without consequences?

Thank u🥺

[ad_2]
1 Comment
  1. Here’s the link you need: [https://www.advancedcustomfields.com/resources/shortcode/](https://www.advancedcustomfields.com/resources/shortcode/)

    Shortcodes are disabled by default now. Add the supplied code snippet to functions.php to enable them.

    Shortcode format is like so:

    [acf field=”field_name” post_id=”123″]

    You might need to do more work to get some field types to display properly. Just search for some examples, the info is out there…

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer