4,544 questions
Best practices
0
votes
2
replies
18
views
WordPress ACF Field Data
I have icon box widget so the title and description dynamic tag are working but when i try to fatch dynamic tag through icon from my acf field so here is no option or icon which help to get icon from ...
0
votes
2
answers
161
views
Shortcode use for Advanced Custom Fields (ACF) Wordpress plugin
I have a wordpress site that displays information about Projects (custom post type). I use the Advanced Custom Fields (ACF) plugin to create custom fields about each Project post, e.g. town and state....
5
votes
3
answers
133
views
Why does the_field function of ACF plugin return an empty value?
I know that there are similar questions to my question like this one:
Insert php variable in a href
But my problem does not solve with them! I am using "acf plugin" for adding some codes to ...
0
votes
0
answers
79
views
Post content appears on multiple pages, so how should I handle the post content in search results?
I have a site where post content gets used as components on several pages. There's also some nested post content which makes it more complicated.
This is a problem in the WordPress search results, ...
1
vote
0
answers
78
views
How do I fetch ACF custom fields via REST API in a custom WordPress theme?
I am building a custom WordPress theme and using Advanced Custom Fields (ACF) to manage dynamic content. I want to fetch and display ACF fields via the REST API, but I’m not getting the expected data ...
0
votes
0
answers
32
views
Not able the get the ACF repeater field data in the wp query loop
I have registered a post type with CPT and created the component structure to reuse the ACF layout in all pages of the website. The code used for the register post type is here
function ...
0
votes
0
answers
74
views
How to use ACF OpenStreetMap Field plugin in Wordpress with zoom setting?
I'm trying to figure out how to use Leaflet.js that's inside the ACF Openstreetmap Field Plugin. I found a code that was helpful and I was able to modify to display the map on my wordpress website.
...
1
vote
0
answers
81
views
Why do I have missing p tags from acf wysiwyg field?
I’m using ACF in wordpress.
I created a field group named my_group that contains a WYSIWYG field called my_content. Then I created another field that clones my_group.
Inside a flexible content field, ...
1
vote
2
answers
107
views
How can I save Multiple-Selection field values on their own table row with the ACF plugin?
I'm using the ACF plugin. I've created a new Field Groups. I'm allowing multiple selections. I don’t want the records to appear like this:
a:2:{i:0;s:3:"815";i:1;s:3:"818';}
I want ...
0
votes
2
answers
43
views
Wordpress, ACF repeater, date filter
There are posts in which acf repeater field with date ranges from and to
Need to filter posts that fall within the date range in any of the repeaters
The filter does not work correctly.
For example ...
1
vote
1
answer
219
views
Using Advanced Custom Fields acf/init with an options field and shortcode
I'm getting the PHP error "call to undefined function get_field" once in awhile, but not consistently.
Advanced Custom Fields says to prevent this, wrap my function in acf/init to be sure ...
0
votes
1
answer
100
views
ACF - Custom acf/load_value function - Undefined array key
Custom acf/load_value function issuesI'm trying to write a custom version of the backend repeater sorting code here: https://www.advancedcustomfields.com/resources/how-to-sorting-a-repeater-field/
I'm ...
0
votes
0
answers
79
views
ACF: Duplicating a repeater row using Javascript API - Cannot populate a Relationship sub-field
I have a repeater with two sub-fields: a text field and a relationship field. Using the ACF Javascript API I'm able to duplicate the repeater row and then populate the new text subfield, but can't ...
2
votes
1
answer
93
views
When using wordpress ACF, how can we programatically add new options to a choice field?
I'm importing some data, and generating posts with ACF information, which works well for text fields, and choice fields where the option already exists - but I'd like to add new options to choice ...
1
vote
1
answer
51
views
Not showing results from a get_posts meta_query using ACF Relationship field
I am trying to show related services through my single-services.php template. I have used the ACF relationship field. When I print_r the field data, it all works. However, when I try to call specific ...