advanced-custom-fields Questions

4

Solved

I've tried a bunch of different functions and approaches but so far I haven't been able to get it working. The goal is to add an Advanced Custom Field group to the backend of Wordpress with some PH...
Christyna asked 7/1, 2020 at 13:4

5

Solved

I'm using Advanced Custom Fields for Wordpress and trying to loop a repeater inside a group. All I get is "Notice: Array to string conversion in..." What's wrong & how do I fix it? <?php i...
Aberration asked 28/8, 2018 at 12:0

2

Solved

I am really making a huge use of ACF's options pages and repeater fields. In order to reduce the amount of queries (from about 500 to 80) I'm caching some field outputs with the help of Wordpress T...
Biltong asked 3/1, 2015 at 14:12

4

Solved

The ACF backend/admin panel can get very confusing when you have a lot of options. I see where you can change the width percentage and add your own class to the custom fields, but how do you style ...
Averill asked 13/10, 2017 at 18:30

2

Solved

I am trying to create a function inside functions.php to replace the custom post title with information from several custom fields. Before publishing the post, I want to evaluate if it is already c...
Goldcrest asked 12/7, 2016 at 4:37

2

Theme: Divi Plugin for custom fields in post: ACF - Advanced Custom Fields Using the Divi Blog module in Grid mode, I want to show a custom field (registered using the ACF plugin) alongside the p...

2

Solved

I have a file named search.php, where all the search results are added. The search form is located on the homepage. The problem is, I have no special page for the search results, but I want to add ...
Cyd asked 22/4, 2016 at 7:17

1

I have multiple fields on a field group called Membership Level Feature and which post id is 5112. Now, I want to get all the fields of this post id. I am using: echo '<pre>'; print_r( get_fi...
Dioscuri asked 11/4, 2022 at 6:9

1

Solved

I'm using ACF for building custom Wordpress configuration options (inside custom options pages, settings, CPTs, Gutenberg blocks etc), for more than 5 years. I know there's an option in repeater fi...
Disafforest asked 8/12, 2021 at 3:29

4

Solved

I have created an event post type in Wordpress. For that I have put starting date and ending date from ACF datepicker. I want admin can select Ending date greater than Starting Date. Is there an...
Winograd asked 1/4, 2015 at 12:47

5

I am using the advanced custom field plugin for Wordpress. I am having difficulty displaying a field on my page. Basically I've created a field group and assigned id's to the members of that grou...
Servia asked 22/7, 2014 at 12:15

4

Solved

I want to expose all the ACF fields that belong to a page or custom post type to the WordPress REST API in order to do some API calls through javascript. The final expected result would be all the...
Phenocryst asked 6/6, 2019 at 8:44

1

I have a site in three languages and when I edit the repeater field for one of the languages, the value of the repeater field in other languages becomes null. This is only for some of the repeater ...
Bridgehead asked 13/2, 2020 at 8:13

4

Solved

I want to prevent fatal error in my theme if the ACF plugin is deactivated or not installed. The main function of the plugin is get_field(). I wrote this code in my functions.php to check: if ( !...
Amateur asked 14/11, 2016 at 18:55

8

Solved

Question: How do you simply count the rows in the output of an ACF repeater field? Goal: to make the output look different with a css class when there's only one row, vs. more than one row. My co...
Idem asked 4/5, 2017 at 16:21

2

I am confused about how to calculate p of ACF and q of PACF in AR, MA, ARMA and ARIMA. For example, in R, we use acf or pacf to get the best p and q. However, based on the information I have read,...
Definite asked 7/6, 2016 at 6:11

1

I am trying to add a new filter for a custom field defined with the Advanced Custom Fields plugin. I want to filter on the age of artists, I looked up some documentation but got confused in the pr...
Summersault asked 26/12, 2020 at 23:5

1

I have a word press site with custom fields. I need to query a repeater field as a table. It looks like that: | param_1 | param_2 | param_2 | param_4 | 20 | 20 | 20 | 20 | 555 | 680 | 56 | 0 ...
Excoriation asked 25/12, 2019 at 18:36

4

I have a custom post type called Event in which I want to add a location chosen from a large list of locations. To make this process easier I want to filter these locations by a category called loc...
Itacolumite asked 8/3, 2017 at 12:35

3

Solved

I am using the below code to try and retrieve an image field called 'image' from a taxonomy term using the Advanced Custom Fields plugin. This code is based on the documentation on the ACF website ...
Breadthways asked 10/12, 2015 at 16:3

4

So my issue is that I just created a custom post type and have created a couple of posts to go along with this. I am using ACF fields in the template single-post_type.php That I created. These show...
Setiform asked 20/2, 2014 at 22:44

1

In the WordPress Gutenberg Editor, I am trying to programmatically set a default class on an image block, which is applied without the user manually adding it via the 'Additional CSS' field. I hav...

4

Solved

I'm working on a website for a band where you can add gigs and add the songs played on that specific gig. So I've created two custom post types: - gig - song I got a custom field "Songs" of type ...

3

I am using plugins called Advanced Custom Fields (ACF) and WooCommerce. I want to create a text and image field for WooCommerce product variation. I created fields in ACF and assigned them to "Post...
Antechamber asked 16/5, 2016 at 23:33

8

I’m using Advanced Custom Fields with post-type. I have some select custom fields, and I want to show all the label choices from each field. I’ve tried this way. $field = get_field_object('hair_c...
Methylal asked 17/1, 2014 at 10:48

© 2022 - 2025 — McMap. All rights reserved.