Questions tagged [acfpro]

ACF PRO is the professional version of ACF (Advanced Custom Fields), a plugin for WordPress

ACF is a WordPress plugin for WordPress edit screens and custom field data.

References

341 questions
1
vote
1 answer

Wordpress ACF plugin blank screen

i use advance custom field for add post from users on home screen , after user click on submit button ,The text is recorded in the database and wordpress but user redirected to a blank page with same url
Sina Cena
  • 11
  • 2
1
vote
2 answers

WordPress post update AFTER ACF field updates

The code below sends out an email every time I (change the STATUS field and then) safe/update the post. But it's not working the way I want and I know whats's wrong: The field updates are always saved AFTER the post is saved so it always sends out…
1
vote
1 answer

Disable dates and days of the week in ACF date picker

I have found lots of topics about the (jQuery) Datepicker but not the specific ACF way I am looking for. The following is a perfectly working code to set max selected dates in the past and in the future within ACF but I need 2 more functions but…
1
vote
1 answer

Adding links within ACF Image Caption

So I'm using ACF Image: https://www.advancedcustomfields.com/resources/image/, and outputting my image and caption as an Array. I'd like to be able to add links within my captions e.g. '', but when I do this it literally outputs the code rather…
1
vote
1 answer

Use repeater inside repeater

I want to know what's wrong with this code, it's not displaying the second repeater (that one inside the first repeater):
Itz Erfan
  • 31
  • 8
1
vote
1 answer

Repeater inside Group and the both are inside Group ACF Wordpress

I'm working on ACF Plugin in Wordpress and I have this HTML Code that split into 3 parts. the first part is the parent Group inside this parent Group has also child group and inside child Group has repeater. I tried to solve it like this one [4] but…
Rida
  • 51
  • 10
1
vote
1 answer

ACF custom fields in WooCommerce E-Mail template

I'm wanting to display custom ACF fields in a product within the order complete e-mail, I have this hook which works great for none-variable products: add_filter( 'woocommerce_order_item_name', 'custom_order_item_name', 10, 2 ); function…
1
vote
1 answer

ACF query for custom field in relation

There's a custom post type called "events" and another post type called "venues". The post type "events" has a relation field for "venues" so that the user can select the venue when setting up an event. "venue" has a custom text field "city". I need…
greg.ms
  • 109
  • 2
  • 11
1
vote
0 answers

ACF Form not redirecting on Mobile. Working fine on desktop

I have a frontend acf form which is generating a new custom post. When I submit the form on a desktop it works fine. It creates the post and redirects to the new post. However when I use it on a mobile device, tested on Chrome, Firefox and Safari.…
1
vote
2 answers

ACF custom fields not displaying on custom taxonomy template

I have created a custom taxonomy called inn-features, I have then created a template page, whenever I try to show my custom fields the value always returns as null. Please can someone tell me where I am going wrong. This is a really simplified…
Jay
  • 346
  • 1
  • 3
  • 18
1
vote
1 answer

Accessing sub of sub fields

how can I get access to sub of sub field in acf php? for example I have filed of "team" and subfield of "name" company->team members -> name
mustafa-hsz
  • 120
  • 8
1
vote
0 answers

ACF Custom user field in search query

I have created some field in user section, Now i want to search user by custom field. Like Phone of City Name. While search by first name and last name is working fine by could not get user by phone or city name. My custom user field is "phone" and…
Atif Aqeel
  • 23
  • 1
  • 13
1
vote
1 answer

WordPress Gutenberg - White Screen on page edit screen using custom block category in template

I'm attempting to setup a template and use a block that is contained within a custom category. The blocks word a-ok when used normally in the Gutenberg editor. I create the category as such: add_filter( 'block_categories', function( $categories,…
1
vote
0 answers

How to output ACF PRO value to WordPress shortcode

I would like to create a repeater field that has a WooCommerce shortcode in it, and I would like to change the parameters in that shortcode via ACF PRO to be more customizable and for some reason it does not outputting it to the shortcode, but the…
1
vote
1 answer

Insert repeater rows in flexible content programmatically

As the title suggests, I have this kind of structure: flexible_content (Flexible content) -accordion (Layout) --accordion_item (Repeater) ---title (text) ---content (wysiwyg) I have a external database from which I want to insert a number of…
Imrul.H
  • 5,760
  • 14
  • 55
  • 88