ACF: Any way to automatically display ACF field details on the post.

[ad_1]

Today I watched different tutorials regarding the ACF plugin, like creating custom post types, custom fields, and taxonomy.

Since I cannot afford Elementor Pro, I was looking for alternatives to use ACF dynamic elements in Gutenberg editor(I do not know if I am using the right term).

So while finding alternatives, I came across two plugins that offer this functionality for free.

One is the "Advance Views Framework". It provides more options to edit ACF dynamic elements, sort them, and add CSS. The main thing that attracted me was the shortcodes, it generates shortcodes that you can use in Gutenberg Editor.

Another plugin is "Meta Field Block". It lets you use ACF elements by first adding its own Gutenberg block and then selecting ACF in the options.

Both are great. But I think it takes too much time to generate a shortcode and paste it or add a block on each custom block type.

Is there any method that we just give the data to the ACF fields and it automatically uses it? Like some sort of template?

For example:
A custom post type of "food" containing ACF field "food thumbnail". And when I add the image, it automatically sets to the thumbnail.

Scenario 2:
I add data(let's say an image) into the field and it automatically sets to the bottom of the page.

Thanks.

[ad_2]
5 Comments
  1. Unless you are using a page builder with custom fields features, no.

    You will need to code the ACF outputs into your theme or plugin.

    You can find all you need to know in their documentation.

    ACF is more for developers.

  2. PHP is very easy to learn. If you’re already familiar with CSS and HTML then give it a go!

  3. I saw you ask this twice in other comment, so I want to highlight something.

    They’re is no PHP for wordpress. PHP is PHP. The only difference is that wordpress allows you to hook into its different functionality, and you can read more about it by searching their docs. As others said, write a simple theme. Create a simple CPT (generate wp is a godsend in this regard https://generatewp.com/post-type/ ). Understand template hierarchy, create an archive page, understand “the loop”.

    If you know how to work with composer, so can also check out roots io to make wp compatible with composer (check out wpackagist for wp plugins), timber for templating. But this is probably more advanced than a simple theme.

 

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