Questions tagged [acfpro]
ACF PRO is the professional version of ACF (Advanced Custom Fields), a plugin for WordPress
acfpro
353
questions
0
votes
0
answers
28
views
Get ACF custom field value inside wordpress loop
I need to get the value of an acf field that is used on a custom post type. I have readed this question and tried to use the_field function. It worked but that function will ignore my CSS class on the ...
-1
votes
0
answers
29
views
Adding Elementor Template Shortcode in ACF meta field not rendering js and jquery in login site
I am here to create a template using Elementor and that shortcode I want to add in ACF pro version so that shorcode renders but the thing is in the login site js and jQuery are not fully rendering ...
0
votes
0
answers
33
views
Woocommerce custom product fields
I've created custom fields in the woocommerce product using acf, all works as expected except for saving the custom fields against the order and showing at checkout.
I have tried the following code:
//...
0
votes
0
answers
42
views
How to get ACF gallery images as elementor container background images
I'm using ACF with elementor pro to manage some custom post types and some custom fields for the custom post types. I have created a gallery field and according to the ACF documentation I'm able to ...
0
votes
0
answers
42
views
Wordpress ACF: show post ID in post object dropdown in admin
I have a two custom post types, Team and Projects.
In the admin section of Projects I can select team members connected to the project from an acf post object, now I would like to show the Post ID of ...
0
votes
0
answers
18
views
Issues with loading fallback images in Elementor
I've written some custom functions that pull in entries to a custom post type WordPress as checkbox choices in a field in Advanced Custom Fields. However, something in this code is preventing the ...
0
votes
0
answers
47
views
How to filter Product categories by ACF field via WooCommerce REST API
I use WordPress, with WooCommerce and ACF.
For the category, I created a property show_on_main_page (type true/false).
Now I want to get all categories that have show_on_main_page = true
I think the ...
0
votes
0
answers
22
views
How filter by ACF Flexible Content in Wordpress?
I use Wordpress and ACF plugin.
I create field type "Flexible Content" with code "variants"
In "Flexible Content" i create field type "Number" with code "...
0
votes
0
answers
33
views
ACF Google Map - Get marker IDs to interact with external div
I am using the setup from this page:
https://www.advancedcustomfields.com/resources/google-map/
This is creating a Google map with two markers on it correctly. However, rather than simply an ...
0
votes
0
answers
36
views
ACF show repeater rows in sets
I have a FAQ section with 15 questions. I want to show the first 8 questions grouped. Then display the remaining question in another group. I have code for the first set already. I'm not sure how to ...
0
votes
0
answers
90
views
How to initialize TinyMCE with Javascript ? [ACF]
I have an Advanced Custom Fields repeater with a acf-field-wysiwyg as a subfield, with “Delay initialization” activated (tinyMCE only initialize when clicking on the field).
I would like to initialize ...
0
votes
0
answers
46
views
Storing ACF repeater values as one single array in the database
I have a complex Advanced Custom Fields repeater with, in each row, dozens of subfields in different groups.
The repeater usually doesn’t have that many rows (10-15 max), but that’s still hundreds of ...
0
votes
0
answers
203
views
Add ACF custom field in WooCommerce Checkout Form (Gutenberg Block)
Recently I noticed that WooCommerce checkout form/page is now being generated by Gutenberg blocks. All the available hooks / templates isn't working anymore in this new page! Any idea how I can use ...
0
votes
0
answers
42
views
ACF update_field - daily data from xml feed
I am trying to extract data from the feed when publishing a post based on the url_address_web field and then fill in the other fields according to the available feed.
All indications are that it has ...
0
votes
1
answer
70
views
Query custom posts filtered by ACF users id Wordpress
I created a post type called "mypost". using ACF.
Tried to do a user assign by using a user field. Field name = usersacf
I want to show only the post that has been assigned to him in the ...