If I add ACF fields programmatically within my plugin with the following code, the ACF-VC INTEGRATOR SETTINGS popup looks like this (there are two Field name selects):
Field group (i)
Test group 1 (selected)
Test group 2
Field name
Test2 (only one item in the list)
Field name
Test2 (only one item in the list)
If I change the Field group, nothing happens with both “Field name” select fields. “Test2” stays the only item in both selects. If I assign the second field group to another post type, it stil does not work.
add_action('acf/init', 'add_my_custom_fields');
function add_my_custom fields() {
acf_add_local_field_group(array(
'key' => 'test_grp1',
'title' => __( 'Test group 1', 'test'),
'menu_order' => 0,
'location' => array (
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
),
),
),
'fields' => array(
array(
'key' => 'field_page_test1',
'label' => __( 'Test1', 'test'),
'name' => 'page_test1',
'type' => 'text',
)
)
));
acf_add_local_field_group(array(
'key' => 'test_grp2',
'title' => __( 'Test group 2', 'test'),
'menu_order' => 1,
'location' => array (
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'page',
),
),
),
'fields' => array(
array(
'key' => 'field_page_test2',
'label' => __( 'Test2', 'test'),
'name' => 'page_test2',
'type' => 'text',
)
)
));
}
]]>
HI. I really like the plugin, thanks for all your work with this. However, I’m using V Grid Builder and would like to display a custom taxonomy which is used with a certain CPT. However, this is not possible with the ACF-VC element. Is there a way of using a hook to achieve this? I’m a novice when it comes to hooks but hopefully it isn’t too difficult!
Thanks.
]]>Firstly I would like to thank you for updating your wonderful plugin.
I have a problem when I add a page link type field: even if I add custom text to replace the URL, it is only the URL that is displayed instead of added text.
Is this normal?
Thanks for your help.
]]>First of all: The plugin is great!
I only have a small optical problem:
The data I display is separated by a comma.
Is there a possibility to use a line break for the display instead of the separation by commas?
If you are using ACF as Tabs, and you add this plugin. when you go to the element it asks which tab you want to appear. So rather than selecting the “Group”, and displaying as tabs. you can’t.
WP B already has a ACF element which does the same as this.
]]>I am adding support for ACF Extended (https://www.acf-extended.com/)
YMMV – https://gist.github.com/codearachnid/76e935ba2ab3be8a2427f2174e5ff266 but it would be great to have this supported by the plugin directly
]]>This is a great plugin, thank you.
I have a SmartSlider3 as a field type in ACF.
I added the SmartSlider ACF field on my page in backend.
But the SmartSlider doesn’t appear on the rendered page.
I think it’s because the “SmartSlider” field type isn’t supported by ACF-VC. Is there a way to add it myself using code, and without overwriting your plugin?
Thank you
Hi there,
I’m trying to create a button with a link.
I have tried doing so by using ‘Link’ Field Type in ACF.
When editing the fields on the page / post, this Field type shows
– URL
– Link Text
– Open in a new tab
However, only the URL displays, the link text doesn’t and it doesn’t open in a new tab.
Any ideas on how to create a button with a link that can open in a new tab?
]]>Hi there
I’m trying to display a link in custom post type. Your plugin is really helpful, but there’s one thing I’m not able to solve.
I chose “Link Text” and set it to something linke “read article”. Unfortunately, the whole URL is shown instead of link text. I tried with ACF URL and Link field.
I don’t know what I’m doing wrong.
Thanks for your help and best regards
Evi
Hello,
I am using ACF Pro, Woocommerce, WPBakery & DHWCPage – WooCommerce Page Builder.
I have added fields using ACF to product pages, this works fine.
I am then using the DHWCPage plugin to create a template for product pages. This also uses WPBakery and works fine.
However, when I use ACF-VC Integrator’s element on wpbakery within the template builder, it doesn’t pull through and show on the product pages.
Any help please?
Thanks in advance
]]>Cool plugin. Have you ever done the opposite though? Gotten WPB to add itself to ACF? For instance I’ve coded an ACF text editor and I want to be able to tell WPB to also set there as well as the default WP text editor area. Have you ever done that?
https://www.loom.com/i/265028bffea248cfb86073587067dfda
Thanks
]]>Hello, i have a set of ACF fields created in a couple of languages.
When i enter to the builder at the secondary language the plugin interface from the widget got crazy as FIELD GROUP is not getting the translated ID but instead is retrieving the group ID from the main language.
Let me know where i could send a video describing the issue.
Thanks in advance
]]>I’m curious if any more has been looked at on this. I tried to reply to that thread, but it’s been closed to new replies. Perhaps that’s not exactly what I’m trying to do..
I often have custom image fields in ACF (usually a 3D book cover) that I need to feature similar to a ‘featured image’ (and that I assign a 2D book cover because it displays nicer in social media and on search engines).
But in the grid, I’d like to be able to display 3D book covers and link those book covers to the post link of the post type I’m displaying. If there was a way to assign the images a link from a drop-down in the Image field tab, like you have Image Size, then I could easily assign it “post link” and it would work fantastically.
Since I can’t make my ACF field the background image (like you can the featured image) and assign the post link, I think allowing the image field to be wrapped in a link from a dropdown of choice would resolve it. But maybe not! ?? I just can’t figure out another way to wrap the post link around this image.
Thanks!
]]>is it somehow possible, maybe through a hook, to get the values of the parent category in a post?
In my case I added some custom fields to a portfolio category. One of them is a logo. But if I want to show the logo in the posts in this category it does not work, as you can’t retrieve the values of the parent category at the moment.
Help would be greatly appreciated! ??
]]>Congratulations on your plugin, it’s really good. I have found a problem when displaying the custom fields in the product categories, they were not displayed.
Reviewing the wpbakery_element_shortcode.php file, I have seen that on line 111 you have this code “$post_id = get_queried_object_id();”, which did not work for me. But putting this, “$post_id = get_queried_object();” i got it to work.
This would affect something else in your plugin.
Regards, and thanks for your work
]]>I hope this isn’t too off topic, but how to dynamically insert content (from the classic editor), header/title of post and featured image ?
Thanks
]]>What are they, how do we make them?
]]>Hi, thanks for the great plugin
I hope that soon you will find the time and release an update and it will be great!
Please, do support groups
Hello –
Is this plugin still being actively supported?
Thanks
]]>We have created a new sub-field with type ‘link’. In post, we have filled this link and ckeched the box ‘Open in new tab’. But this not works. In page the code not shows the target=”_blank”.
]]>When using ACF to add fields to User Profiles (Show Field Group If: User > User Form) the ACF data is not linked to a specific page ID or Options Group. It’s added to the dashboard user profile page.
Could the plugin be updated to add User Form/Profile as an option to “Get Field Data From?”
And in the interim, is there anything I could edit myself in the plugin to allow this before an update is released?
Thank you.
]]>Hi
I am trying to use your plugin on woocommerce templates to show products gallery.
For this i have created ACF field, repeaters, and i show for each repeater 2 or 3 images.
The problem is that your plugin does not show the image as sliders. Images are one abive ech other.
Also, how can i edit image size ? Cause if i use two columns with one repeater in each, some images do not fit in the columns.
Thanks
]]>hello, i have a group repeater field with date and i want to show them sorted in the post, do you know how i can do that?
]]>Hi!
I’d like to apply conditional logic to the labels that are displayed.
My blog posts have 2 fields:
Post_Type
Commercial_Post
I’d like to display a label and then the Commercial_Post field’s content.
But the label should change.
If Post_Type=”Value1″ then the label would be “AAA”
If Post_Type=”Value2″ then the label would be “BBB”
So imagine this data on the post:
Post_Type=Value1
Commercial_Post=CompanyName
I’d like to display “AAA CompanyName” on my blog.
Is this possible with your hooks? If so, would you mind helping me to know how to use them for this scenario? Thanks very much!!!
]]>Hi, thanks again for your previous help it’s work fine.
I have an other question.
Is it possible outpout a date with some style like this :
<span class="day">$day</span> <span class="month">$month</span> <span class="year">$year</span>
And if so, how do I do that, I have no idea what code to put in the filter.
Tanks for your answer.
]]>Hello! I’ve seen some others similar to this, but I’m not sure how to display the image.
I’ve got a custom post type, Books.
I’ve got a custom taxonomy, Authors.
In Authors, I’ve added an ACF custom field for the author image.
In my Book edit screen, I’ve added the WPBakery element for the VC-ACF Integrator, selected the field group and field I want to use.
When I save the Book and try to view it, it shows me all my other fields, but not the Author taxonomy custom field for an image.
Now, this is also the only custom field associated with the taxonomy, not the post type itself, could that be it? The Book post type is categorized with an Author term and has a photo uploaded to that term. If the Book post is categorized with that term, shouldn’t it show that field?
I’d appreciate any help you can offer. ?? thank you!
]]>Hi,
I have a “Post Object” Field Type (https://www.advancedcustomfields.com/resources/post-object/)
How can I output some basic data like Title (without link), thumbnail, expert, etc. ?
Regards.
]]>Hello!
I would like my list of articles to be separated by commas and not bulleted list.
I use the code snippet plugin to insert the php code. How can I solve?
Screen:
https://share.getcloudapp.com/2NuyZK0K
https://share.getcloudapp.com/Z4uk8xqY
Thank you!
]]>Hi! Does anybody knows how to show an acf url field inside a social media icon? I just can show the url and it looks really bad.
Thanks!!
]]>Hi!! Im having trouble when I want to show a taxonomy. @afriadhi I think you had the same problem and you solved it
]]>