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
0
votes
1 answer

Elementor dynamic fields showing all acf fields and acf option page fields

Using Elementor Pro and ACF Pro. So i have setup all acf post/page fields in the acf/init hook. I also setup an options page within the same hook. In the Elementor editor, when selecting a dynamic field. all ACF fields for posts/pages are listed as…
0
votes
1 answer

How to show specific gutenberg blocks based on page-template chosen

I am trying to make some gutenberg blocks visible on specific page-templates only, so that it is hidden if not a certain template is chosen. I know it possible with custom post types, but can't find a solution for page-templates. I have also tried…
0
votes
1 answer

Import and transform wordpress meta data to ACF repeater field

I want to transform wp_postmeta data of an old plugin to Advanced Custom Fields ACF (Pro, but that's not the point). The old plugin saved ALL data in ONE meta_value (separated with || and \n) while ACF would use multiple values: Old Plugin data in…
grau
  • 31
  • 1
  • 4
0
votes
0 answers

Advanced Custom Fields not saving data

I have a site using ACF plugin for many custom post types, and after some time of use, new added fields cant save data. After I type and press the button to update the post, the text will be gone. Its also happening randomly with some old…
Fernando Souza
  • 1,748
  • 1
  • 20
  • 36
0
votes
1 answer

Date format corrupted in sub fields when copying an ACF field

I've created a CPT to store a show calendar. An ACF field calendar has been created to store places and dates of the shows. It is a repeater composed by 2 subfields: date (type=date) and city (type=select). When I'm trying to copy the "calendar"…
Patrick
  • 189
  • 1
  • 11
0
votes
1 answer

How to enqueue and dequeue scripts with Advanced Custom Fields in Wordpress functions.php?

I want to create checkboxes with Advanced Custom Fields in an admin panel in the Wordpress backend that can enable and disable scripts. I created a checkbox field, called it import_animejs and checked it. Then used acf/load_field to enqueue the…
0
votes
1 answer

Problem expanding ACF fields in Wordpress admin view - Console errors

I have som problems regarding Advanced Custom Fields on a site. Have tried to deactivate all other plugins but no success there. Everything works fine on the site but in the admin view I cant expand any ACF-fields. I´ve tried to search for any…
0
votes
1 answer

ACF: How to get sub field in category.php page?

I have created fields for terms using ACF. I have also created category.php using the below code:
0
votes
1 answer

WordPress ACF Pro - Sometimes data is missing on front end, requires resave in admin

I'm experiencing the same issue from time to time across a number of WordPress sites - so I figure it's worth starting a conversation as Google doesn't seem to have much to say about this. In a number of sites, at differnt times, using ACF Pro,…
lakewood
  • 607
  • 1
  • 5
  • 21
0
votes
1 answer

Advanced Custom Fields Pro - need unique field groups for every page?

I am using ACF pro and I am questioning something as I move through some of these unique pages on my website. Example - 3 portfolio pages, each with the same markup/layout. If I want to use ACF on these pages do I really have to create 3 unique…
user1568790
  • 113
  • 1
  • 2
  • 6
0
votes
1 answer

how to add advanced custom field variable in another shortcode

I have problem in custom post type: I want to echo one shortcode that variable input in acf plugin
kbkwp
  • 11
  • 6
0
votes
1 answer

Wordpress: Polylang and ACF Options page on ajax calls takes default language value

I'm working on a website, which is multilingual. We're using Polylang and the ACF custom fields plugin. Works fine in general, the issue is with the ACF Option pages. The option pages are translated also in different languages. The content we…
0
votes
1 answer

How to dynamically populate checkbox value inside repeater field

I'm able to populate checkbox value with my custom post "features" in a simple custom field with this code where my field name is "simple_field". function acf_load_features_field_choices( $field ) { $field['choices'] = array(); $features =…
Mohib
  • 429
  • 1
  • 9
  • 25
0
votes
1 answer

WordPress ACF Pro User Meta on multisite

I am using ACF Pro to create extra user meta when user register. I have tried the ACF for user registration on a single site. It works great. But the same fields group won’t work on multisite. So I check the codes in includes/forms/form-user.php. It…
Darren Li
  • 381
  • 1
  • 3
  • 6
0
votes
0 answers

Get ACF values to email form - Wordpress

How do I get the values of Advanced Custom Fields and join it together in my email form when user submit it? I am trying to make a ticket booking/reservation but with selection from ACF values. - I have a form that shows multiple ticket entries from…