Support

Account

Forum Replies Created

  • Based on the fact that this kind of feature exists as a pro add-on through ACF Extended, I assume it’s not something you can do natively in ACF. That page you liked also provides some instructions to target specific taxonomy terms with PHP.

  • Could you elaborate on why you created post-type-1 as a custom post type instead of a custom taxonomy? It might be easier to make a recommendation if we can understand your reasoning. Also, do you need the two post types to be associated with a taxonomy or could you simply use an ACF relationship field to associate them?

  • Thanks for the screenshots, that makes it much clearer what you’re trying to do.

    My assumption about why this might not be working for you is that that dynamic content setting is probably looking for that ACF field on the current product since you’ve created a product loop. But that feels doesn’t exist alongside products, it exists alongside a taxonomy term that happens to be applied to that product, so Elementor doesn’t know where to look to find that field data. I could be wrong; like I said I don’t have experience with Elementor Custom Skin to know exactly how it works in this scenario.

    This is why I’m thinking that L&L might be a solution that could work for you if you’re comfortable displaying your image by writing a line or two of HTML instead of using Elementor’s editor. The markup I shared above could be placed inside an L&L template and then that template could be run within your loop using either a shortcode or the built-in Elementor widget. Essentially what it’s doing is saying “hey WordPress, look through the taxonomy terms associated with the current post/product in the brand taxonomy and then for each term that’s applied to this post, get me the logo image field for that taxonomy term.” Considering the actual field/taxonomy names you showed in your screenshot, that might look something like this in your case:

    
    <Loop taxonomy=brand post=current>
      <img src="{Field acf_image=logo field=url}" />
    </Loop>
    

    Can’t help you much beyond that, but there’s a good chance that this template above will just work out of the box if you place it inside your loop using any of the methods I linked above. I hope that’s helpful for you, let me know how this goes!

  • I’m not super familiar with Elementor Custom Skin but it sounds like you’ve made a product loop, but your ACF image field is located on a taxonomy term which means that the image itself isn’t accessible from the product loop and you’d instead need a taxonomy term loop to get that data. I wish I could tell you exactly how to do this with Elementor Custom Skin but I tend to use Loops & Logic for this kind of thing. You could add a Tangible Template widget within your product loop and write something like this to make that work:

    
    <Loop taxonomy=your_custom_taxonomy_name post=current>
      <img src="{Field acf_image=your_image_field_name field=url}" />
    </Loop>
    
Viewing 4 posts - 1 through 4 (of 4 total)