How to Use Advanced Custom Fields with Elementor

Do you want to use Advanced Custom Fields with Elementor? If you are looking for a step-by-step guide, keep reading this article!

When you need to create a website or online store, we (and almost everyone) recommend WordPress. WordPress has multiple functions that allow you to change the website as needed.

But what if you need to do more with your website?

With the help of a page builder plugin, you can design any type of web page you need without a single line of coding. Similarly, if you need to add more fields to the website, the Advanced Custom Fields plugin would be helpful.

Keep reading this article if you need to know how to use these tools to create stunning page designs. We will show you how to use advanced custom fields with Elementor for your following website.

But before going further, let’s learn what Advanced Custom Fields and Elementor offer.

Advanced Custom Fields: An Introduction

acf

WordPress comes with several features. However, if you need to enhance the features of your blog or WooCommerce store, use the Advanced Custom Fields plugin. ACF is a freemium plugin, and the lite version is available in the WordPress plugins repository.

The premium version starts at $49 a year, and it will unlock every potential feature. The plugin also integrates with Gutenberg. Hence, if you are looking for a simple plugin that can enhance the features you have on the WordPress installation, this plugin would be an ideal fit.

Next, let’s see what Elementor is and what it offers.

Elementor: An Introduction

Elementor - Use Advanced Custom Fields with Elementor

With the help of a page builder plugin, you can create stunning landing pages or blog designs. In our experience, if you need to use a powerful and feature-rich WordPress page builder plugin, check Elementor.

Elementor is a freemium plugin. The free version has limited features and can be downloaded from the WordPress plugin repository. The premium version costs $59 a year.

Elementor has already added cutting-edge features, such as AI integration, to its tool so users can create landing pages and copy with little effort.

In the following section, we will guide you through using Advanced Custom Fields with Elementor in a straightforward and easy-to-understand manner.

How to Use Advanced Custom Fields with Elementor

First, install and activate Elementor and Advanced Custom Fields on your WooCommerce store. Once you have completed the activation, you can see the plugin’s settings on the left-hand side of the dashboard.

plugin settings - Use Advanced Custom Fields with Elementor

We will be configuring ACF settings first.

Creating a New Field Group

Start by creating a new field group.

add new field ground - Use Advanced Custom Fields with Elementor

There are three custom settings you need to modify,

field group settings - Use Advanced Custom Fields with Elementor
  • Field group name
  • Fields
  • Settings

The name is just for identification. When you have created multiple field groups, the name will help you identify them. It won’t be visible on the front end of the website.

Next, you have the fields option. Here, you can add all the fields you need in the group. By default, the plugin will add a text field to the group.

ACF default field - Use Advanced Custom Fields with Elementor

If you need to add a new field to the group, click the + button.

add new ACF field - Use Advanced Custom Fields with Elementor

Now that you understand how the field option works, let’s add some fields to the group.

Under field configuration, there are five options.

field options - Use Advanced Custom Fields with Elementor

From the general settings, you can get most of the configuration options. From there, you can choose the

  • Field type
  • Label
  • Name
  • Value

And so on.

Here, we will add two text fields and 1 number field to the group. After modification, it will look like this:

completed fields

Next, you need to adjust the settings. Here, you can choose where you need to display this ACF group.

settings

In this case, we will display it under the WordPress posts. However, you can always choose a different condition according to your preferences.

ACF show conditions

Once you are done, save the settings. You can also add custom post types to your website via ACF.

add cpt

Now, go to the Gutenberg editor and see the custom field group you added under the editor.

dummy group - Use Advanced Custom Fields with Elementor

Fill in the details as you like. In this case, we created this ACF group to mention all our brand partners so we can fill them in accordingly.

Using Elementor Page Builder

After completing this, you need to go to the page where you need to display these data. Since we will not use Gutenberg, we will use Elementor for editing.

edit with elementor

You will see the full-screen editor once you have opened the Elementor editor. The right side will show you the live preview. The left-hand side will show you the fields.

live editor - Use Advanced Custom Fields with Elementor

The first thing you need to do is add a container. You can do this by dragging and dropping a container block inside the widget area.

add container - Use Advanced Custom Fields with Elementor

Once you have added a container block, you can add elements. In this case, we are going to add a heading component.

add heading component

After adding the heading, click on the element. This will help you open the heading options.

edit heading - Use Advanced Custom Fields with Elementor

Click on the dynamic button to add the ACF value to the field. From there, choose the ACF field.

acf field - Use Advanced Custom Fields with Elementor

Now, under the ACF settings, you can see an option called Key. From that dropdown, choose the ACF value you need to display.

acf key

In this case, we will choose the Business Name ACF value. The value will be visible on the front end of the website within a short time.

acf value - Use Advanced Custom Fields with Elementor

That’s it!

This is how you can use Advanced Custom Fields with Elementor. You can create as many fields as you need and display the values on any Elementor page. The best thing about using ACF with elementor is that you do not need to edit the Elementor page when changing the values.

You can complete the update by modifying the ACF value in the Gutenberg editor.

Conclusion

ACF is a useful WordPress plugin with more than 2 million active users. Elementor is a handy WordPress page builder plugin with over five million active installations. Combining these tools is helpful if you need to create something unique.

This article shows you how to use these tools properly to create stunning website designs. You do not need to deal with coding when integrating ACF with Elementor.

You can quickly transform your ideas in mind with this integration.

Would you use ACF with Elementor?

Let us know in the comments!

Sreehari P Raju
Sreehari P Raju

Sreehari P Raju is a freelance WordPress content writer. He started using WordPress in 2015 and loves writing tutorials, product reviews, and listicles. While not working, he loves playing Minecraft or eating KFC.

Related Posts