<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ACF &#8211; ThriftyWP Web Services</title>
	<atom:link href="https://thriftywp.com/category/acf/feed/" rel="self" type="application/rss+xml" />
	<link>https://thriftywp.com</link>
	<description>WordPress, Shopify, and Custom Websites</description>
	<lastBuildDate>Thu, 11 Jun 2026 17:39:02 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://thriftywp.com/wp-content/uploads/2026/06/thriftyWP-favicon-1.png</url>
	<title>ACF &#8211; ThriftyWP Web Services</title>
	<link>https://thriftywp.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Add A Dynamic Image To A Divi Layout Using Advanced Custom Fields (ACF)</title>
		<link>https://thriftywp.com/how-to-add-a-dynamic-image-to-a-divi-layout-using-advanced-custom-fields/</link>
		
		<dc:creator><![CDATA[jaroncito]]></dc:creator>
		<pubDate>Wed, 25 Aug 2021 16:23:00 +0000</pubDate>
				<category><![CDATA[ACF]]></category>
		<category><![CDATA[Divi]]></category>
		<guid isPermaLink="false">https://thriftywp.com/?p=151</guid>

					<description><![CDATA[Divi is a fantastic page builder. If you disagree, maybe this guide isn&#8217;t for you? Or, maybe you are just Divi curious and heard that you can build dynamic layouts with ACF data and think that is rad. Either way, the dynamic content feature in Divi, and now the Divi Theme Builder is a game-changer [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Divi is a fantastic page builder.</strong></p>



<p class="wp-block-paragraph">If you disagree, maybe this guide isn&#8217;t for you?</p>



<p class="wp-block-paragraph">Or, maybe you are just Divi curious and heard that you can build dynamic layouts with ACF data and think that is rad.</p>



<p class="wp-block-paragraph">Either way, the dynamic content feature in Divi, and now the Divi Theme Builder is a game-changer as you can create custom layouts that will pull in dynamic content from any of the standard Divi post fields.</p>



<p class="wp-block-paragraph">You can also now dynamically insert ACF data into Divi layouts. Fantastic.</p>



<p class="wp-block-paragraph">Building Divi layouts that make use of dynamic <em><strong>text</strong></em> content is very straight forward. Load up your text module, click on the &#8220;Use Dynamic Content&#8221; icon, and select the field you&#8217;d like to dynamically insert into the text module.</p>



<p class="wp-block-paragraph">It couldn&#8217;t be easier.</p>



<p class="wp-block-paragraph">However, much less easy is figuring out how <em><strong>how to use a Divi image module to display an image set by an ACF field.</strong></em></p>



<p class="wp-block-paragraph">By default, you can dynamically insert the post/page Featured Image, Author Profile Picture, or Site Logo.</p>



<p class="wp-block-paragraph">If you only need to dynamically insert one image into your Divi Layout, then you could use the post/page&#8217;s Featured Image.</p>



<figure class="wp-block-image aligncenter size-full"><img fetchpriority="high" decoding="async" width="398" height="494" src="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-default-dynamic-options.webp" alt="" class="wp-image-82640" srcset="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-default-dynamic-options.webp 398w, https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-default-dynamic-options-242x300.webp 242w" sizes="(max-width: 398px) 100vw, 398px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">However, if you need more than one featured image to dynamically load into your Divi Layout, then you are up a creek without one of those paddle things.</p>



<p class="wp-block-paragraph"><em><strong>But, what if I told you there is a solution?</strong></em></p>



<p class="wp-block-paragraph"><strong>Hey you. There is a solution!</strong></p>



<p class="wp-block-paragraph">We&#8217;ve all been trying out different combinations of ACF fields, settings, Divi modules, using the &#8220;Before&#8221; and &#8220;After&#8221; fields in the text module after selecting your ACF field.</p>



<p class="wp-block-paragraph">However, they all end in failure! Either the rendered output shows the raw &amp;lt;img rel=&#8221;lightbox&#8221; src=https://thisimageurl.com/img/le-image&#8221; /&amp;gt; html, or it simply doesn&#8217;t show anything but a big fat blank area where your image should be loading.</p>



<p class="wp-block-paragraph"><span style="text-decoration: underline;"><strong>I&#8217;ll show you how to dynamically insert images from an ACF field into your Divi layout in 5 simple steps!</strong></span></p>



<p class="wp-block-paragraph">Let&#8217;s go gang!</p>



<h2 class="wp-block-heading">Step 1 &#8211; Create Your ACF Field</h2>



<p class="wp-block-paragraph">Add a new ACF field and give it whatever name makes sense to you.</p>



<p class="wp-block-paragraph">You may be tempted to set the Field Type as a URL or even an image.</p>



<p class="wp-block-paragraph">Resist this temptation!</p>



<p class="wp-block-paragraph">You&#8217;re going to <em><strong>set the Field Type to &#8220;Text&#8221;.</strong></em> Yes. That&#8217;s right. A simple text field.</p>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="1028" height="314" src="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-acf-field.webp" alt="" class="wp-image-82644" srcset="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-acf-field.webp 1028w, https://thriftywp.com/wp-content/uploads/2021/08/divi-image-acf-field-300x92.webp 300w, https://thriftywp.com/wp-content/uploads/2021/08/divi-image-acf-field-1024x313.webp 1024w, https://thriftywp.com/wp-content/uploads/2021/08/divi-image-acf-field-768x235.webp 768w" sizes="(max-width: 1028px) 100vw, 1028px" /></figure>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Step 2 Insert A Divi Image Module Into Your Layout</h2>



<p class="wp-block-paragraph">Head on over to the Divi layout that uses the ACF field group.</p>



<p class="wp-block-paragraph">Create a new image module.</p>



<figure class="wp-block-image aligncenter size-full"><img decoding="async" width="405" height="538" src="https://thriftywp.com/wp-content/uploads/2021/08/divi-create-image-module.webp" alt="" class="wp-image-82643" srcset="https://thriftywp.com/wp-content/uploads/2021/08/divi-create-image-module.webp 405w, https://thriftywp.com/wp-content/uploads/2021/08/divi-create-image-module-226x300.webp 226w" sizes="(max-width: 405px) 100vw, 405px" /></figure>



<p class="wp-block-paragraph"></p>



<h2 class="wp-block-heading">Step 3 Set Your Image Module To Dynamically Show Your ACF Field</h2>



<p class="wp-block-paragraph">The new image module will show a placeholder image. Hover on the placeholder image and click the garbage can icon that appears.</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="404" height="497" src="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-delete-placeholder.webp" alt="" class="wp-image-82641" srcset="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-delete-placeholder.webp 404w, https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-delete-placeholder-244x300.webp 244w" sizes="(max-width: 404px) 100vw, 404px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Next, click on the &#8220;Add Dynamic Content&#8221; icon. Scroll down and select the ACF field you created for your image.</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="402" height="600" src="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-acf-field.webp" alt="" class="wp-image-82645" srcset="https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-acf-field.webp 402w, https://thriftywp.com/wp-content/uploads/2021/08/divi-image-module-acf-field-201x300.webp 201w" sizes="(max-width: 402px) 100vw, 402px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Save the module. If you&#8217;ve already created a page/post that has a value in the image ACF field, that image it will probably load in your layout visual builder. No worries, completely normal.</p>



<p class="wp-block-paragraph">Save the layout.</p>



<h2 class="wp-block-heading">Step 4 Create A Post That Includes The Image ACF Field</h2>



<p class="wp-block-paragraph">Create a page/post that uses the ACF field group as well as the Divi layout.</p>



<p class="wp-block-paragraph">When you get to your image ACF text field, simply <em><strong>add the image URL from your media library</strong></em>. You can even make this a relative URL by dropping the https://domain.com from the image URL and leaving the rest.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="750" height="410" src="https://thriftywp.com/wp-content/uploads/2021/08/wordpress-post-acf-field.webp" alt="" class="wp-image-82642" srcset="https://thriftywp.com/wp-content/uploads/2021/08/wordpress-post-acf-field.webp 750w, https://thriftywp.com/wp-content/uploads/2021/08/wordpress-post-acf-field-300x164.webp 300w" sizes="(max-width: 750px) 100vw, 750px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">Save the page/post.</p>



<h2 class="wp-block-heading">Step 5 Observe Your Victory By Viewing The Image Dynamically Loaded From An ACF Field Through Your Divi Layout</h2>



<p class="wp-block-paragraph">Go ahead. Visit that page/post. Be sure to clear your cache. It&#8217;ll work. I promise. If it doesn&#8217;t, then you screwed something up because these instructions are rock solid!</p>

    <div class="xs_social_share_widget xs_share_url after_content 		main_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content">

		
        <ul>
			        </ul>
    </div> 
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Use Advanced Custom Fields (ACF) In The Divi Theme Builder and Divi Layouts</title>
		<link>https://thriftywp.com/use-advanced-custom-fields-acf-in-the-divi-theme-builder-and-divi-layouts/</link>
		
		<dc:creator><![CDATA[jaroncito]]></dc:creator>
		<pubDate>Fri, 20 Mar 2020 15:46:08 +0000</pubDate>
				<category><![CDATA[ACF]]></category>
		<category><![CDATA[Divi]]></category>
		<guid isPermaLink="false">https://thriftywp.com/?p=312</guid>

					<description><![CDATA[Divi Divi Divi. It seems that all we hear about nowadays is how great the Divi Theme and Divi Page Builder are! That isn&#8217;t what you are hearing? Interesting. I must live in an echo chamber then because that is what I hear quite a bit. Anywho. We&#8217;re here to talk about using Advanced Custom [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Divi Divi Divi. It seems that all we hear about nowadays is how great the Divi Theme and Divi Page Builder are!</p>
<p>That isn&#8217;t what you are hearing?</p>
<p>Interesting.</p>
<p>I must live in an echo chamber then because that is what I hear quite a bit.</p>
<p>Anywho. We&#8217;re here to talk about using Advanced Custom Fields in Divi Layouts, including the Divi Theme Builder.</p>
<h2>Divi Dynamic Content Quick Overview</h2>
<p>The Divi Theme and Divi Page Builder have the power to pull in WordPress Page/Post fields dynamically.</p>
<p>The Elegant Themes blog has an <a href="https://www.elegantthemes.com/blog/theme-releases/dynamic-content-for-divi-is-available-now" target="_blank" rel="noopener noreferrer">excellent post</a> that covers the basics of using dynamic content in your Divi Layouts. Check it out.</p>
<p>Basically, you can add the standard post type (Page, Post, Project) fields to your Divi Layouts and pull in their values dynamically.</p>
<p>You can even use WooCommerce product post type data in your Divi Layouts.</p>
<p>This gives you full design control over the appearance of your blog posts, blog category pages, WooCommerce product pages, WooCommerce category pages, WooCommerce Cart and Checkout Pages, and virtually any standard WordPress page template.</p>
<p>Awesome!</p>
<h2>Divi And Advanced Custom Fields (ACF) Extends Dynamic Content</h2>
<p>Oooooh boy. Now, we have the power to use ACF fields in our Divi Layouts including the Divi Theme Builder!</p>
<p>The best part is that this feature is supported natively in the Divi Theme!</p>
<p>This means that we are no longer limited to the standard WordPress post type fields in our Divi Layouts. We can create unlimited custom fields and use them in our Divi layouts. Fantastic!</p>
<p>For example, say you wanted to give your blog post a sub-header below the Post Title. There is no &#8220;sub-header&#8221; standard field when creating a new blog post.</p>
<p>This is problematic if you are using a Divi Theme Builder template for your blog posts. We need to use the power of dynamic content to speed up our builds and content deployment!</p>
<p>Also, it really isn&#8217;t the best idea to use regular ol Divi to build blog posts. Why? Why, you ask??!?! Oh, I&#8217;ll tell you why.</p>
<p>Once you use a drag and drop builder on your posts they become loaded with short-codes. If you then try to migrate those posts into another theme you are going to have a very bad time.</p>
<p>You could, of course, create your first blog post, save the layout as a template, and then re-use that template on every blog post thereafter.</p>
<p>But, we all know the pitfall of that method. If you need to make one design change in the blog post layout, you&#8217;ll need to make it on each and every blog post you&#8217;ve posted that used the copied layout</p>
<p>Lame.</p>
<p><strong>There must be as better way! There is.</strong></p>
<p>Back to the example. To achieve the blog post title sub-header, we can create and insert an ACF field in our Divi Theme Builder Layout to dynamically pull in the blog post sub-header value.</p>
<p>Giddyup. Let&#8217;s get it done cowpeople.</p>
<h2>Install Advanced Custom Feilds &#8211; ACF</h2>
<p>First things first. We need to install the Advanced Custom Fields plugin. You know the drill. Or, perhaps you don&#8217;t know the drill.</p>
<p>Click on your &#8220;Plugins&#8221; link in the WordPress admin menu.</p>
<p>Click &#8220;Add New&#8221; to access the searchable plugin page. Do a search for &#8220;Advanced Custom Fields&#8221;.</p>
<p>The first result should be the correct plugin. The plugin author is Elliot Condon. If that is what you see, then click on &#8220;Install Now&#8221;.</p>
<p>The plugin will install. Success! Be sure to click on the blue &#8220;Activate&#8221; button as well.</p>
<p>Congratulations, you&#8217;ve successfully installed the Advanced Custom Fields plugin!</p>
<h2>Create An ACF Field Group</h2>
<p>The next thing you are going to want to do is to create an Advanced Custom Fields field group.</p>
<p>What is a field group you ask yourself sheepishly? Think of a field group as a group of fields that you&#8217;ll use on the same post type or category.</p>
<p>For example, you can create a field group for a category of blogs called &#8220;Homes&#8221; on your website that lists homes for sale.</p>
<p>Or, perhaps you want to create a field group for the Insurance Agents that work for the insurance agency that you are building the website for.</p>
<p>It&#8217;s that simple!</p>
<p>Within a field group, you&#8217;ll have the opportunity to create fields that you&#8217;ll use to populate content on the posts/pages that use the page template that you assign the field group to.</p>
<p>So, the flow is the following. A post type has a field group assigned to it. Within a field group, you create fields.</p>
<p>Using one of the examples above, we could create the following filed under our &#8220;Insurance Agent&#8221; field group.</p>
<ul>
<li style="text-align: left;">Name &#8211; Text Field Type</li>
<li>Phone &#8211; Number Field Type</li>
<li>Headshot &#8211; Image Field Type</li>
<li>Bio &#8211; Textbox Field Type</li>
</ul>
<p>Then, you can assign this Insurance Agent filed group to show on posts within your post category &#8220;Insurance Agent&#8221;.</p>
<h2>Use Your ACF Fields In Your Divi Layout</h2>
<p>The next step is to call your ACF fields into your Divi modules using the Dynamic Content feature.</p>
<p>To do so, add a Divi module that corresponds with the ACF field you will be using in that section. For example, if you want to use the &#8220;Name&#8221; ACF field, you will add a text module to your Divi Layout.</p>
<p>With the module settings open, click on the &#8220;triple pancake&#8221; icon in the top right of the text box. This will open the Dynamic Content option. You will be presented with a list of dynamic content options.</p>
<p>The ACF fields will be at the bottom of this list. Scroll down to see them.</p>
<p>Select the ACF field that you will be using in this template.</p>
<p>What are the Before and After fields used for you ask? I will tell you. YOu can insert HTML into those fields to modify the tag.</p>
<p>For example. If you&#8217;d like the &#8220;Name&#8221; ACF field to be an h tag such as a &lt;h3&gt;, then add &lt;h3&gt; to the before field and &lt;/h3&gt; to the after field.</p>
<p>This will wrap your ACF content with an &lt;h3&gt; open and close tag.</p>
<h2>Advanced ACF Field Insertion Using Shortcodes</h2>
<p>The above method works well are placing a fixed piece of content in an area on your template that doesn&#8217;t interact with other content.</p>
<p>HOwever, what do you do if you need to play dynamic content within your text?! WHAT THEN!?</p>
<p>Thankfully, you can use ACF Field shortcodes within your Divi content to dynamically insert ACF fields throughout your Divi content!</p>
<p>Awesome stuff!</p>
<p>Do do so, all you do is add the ACF shortcode into your content in the following way:</p>
<blockquote><p>[acf field=&#8221;field_name&#8221;]</p></blockquote>
<p>Replace the &#8220;field_name&#8221; with the actual name of your ACF field.</p>
<p>Using the example above, say you wanted to add the Insurance reps name into a standard template that appears on every insurance reps page.</p>
<p>To do this, you will simply add the shortcode into the content where you would like the Insurance Reps name to appear.</p>
<p>For example. &#8220;All of our insurance reps are certified. [acf field=&#8221;name&#8221;] has shown proficiency in client management, vehicle damage assessment, and blah blah blah.</p>
<p>It&#8217;s that simple!</p>
<h2>Conclusion</h2>
<p>Now that you know how to use ACF fields into Divi layouts, the world is your oyster! No, but for reals guys, it opens up the door to many many possibilities and customizations.</p>
<p>Go forth and conquer le ThriftyWP army!</p>
<div class="xs_social_share_widget xs_share_url after_content 		main_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content">
<ul>
			        </ul>
</p></div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
