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

PHP echo not outputting html tags

I'm trying to output content from an Advanced Custom Fields (ACF) in my wordpress theme. At the moment though, all I'm getting is the plain text content from the ACF inside double quotation marks, not inside the div and h1 tags. The code is copied…
Jono
  • 53
  • 5
5
votes
1 answer

How to enable duplicate functionality on ACF Repeater

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 fields to duplicate rows, but how can I enable it? All…
RBFraphael
  • 367
  • 1
  • 3
  • 13
5
votes
2 answers

List available ACF Flexible Layout options

I'm working on creating a settings system for a Wordpress installation, where super admins can disable some ACF Flexible Content layouts if they are not needed for the current website, without modifying the structure of the plugin. I'm looking for a…
Andy Holmes
  • 7,817
  • 10
  • 50
  • 83
4
votes
1 answer

Adding ACF image field in navigation not showing up

I am trying to add an image to the header.php navigation using Advanced Custom Fields PRO, However, it does not show up. I have tried various solutions such as (in functions.php): add_filter('wp_nav_menu_items', 'my_wp_nav_menu_items', 10,…
qulpe
  • 41
  • 2
4
votes
1 answer

How to add multiple submit buttons in ACF form?

I'm using ACF Form in Front-end of a WordPress website. It is used to create a custom posts in WordPress. I need to add two submit buttons in this ACF Form. when i click the first button, it should create a new post and post status should be…
karthik_krish
  • 93
  • 1
  • 7
4
votes
1 answer

use add_row to programmatically add an entry to a flexible content field in advanced custom fields for wordpress

Wondering how to use add_rows (or something similar) to add an entry to a flexible content field programmatically. On ACF's website they mention add_rows can be used to add a row to a flexible content field…
hot_barbara
  • 522
  • 1
  • 8
  • 19
4
votes
0 answers

Wordpress, ACF - get_field_object() doesn't work inside columns when custom filter applied

I’m trying to get a fields value and label inside a row in a custom column. Everything works fine when no filters are applied, but when I apply the filter nothing is showing up and I don’t know why. I've tried using field name and field key,…
dodo254
  • 519
  • 2
  • 7
  • 16
3
votes
0 answers

Revolution Slider - Post Based Slider with ACF Custom Field Background Image

Anyone managed to get RevSlider Post Based to show a custom field image as background instead of the default featured image? I have set up a few custom fields on a CPT and everything shows up ok. But, I need the Background image to be an image set…
Red Wolf
  • 31
  • 1
3
votes
1 answer

ACF repeater field with multiple subfields checked by today date

I have a custom field (repeater) called "today". In it, i have a "choose the calendar date" subfield. On a product (woocommerce) i've added 1, 2, 3 or more dates. The return date its like dd/mm and I get the today date to compare with like…
OzZie
  • 523
  • 9
  • 21
2
votes
1 answer

Send YITH Booking Email to ACF Email

I am building a site with Woocommerce and YITH Woocommerce Booking. I have added an ACF field to include a different email in each Booking and send mail from the new Booking to the email included in the ACF field and the administrator email. When I…
2
votes
1 answer

2 or more ACF on one page Wordpress

I have products. For example: Name: One ; ID: 4500 Name: Two ; ID:4551 Name: Three ; ID:4627 I create one page with: [acf field="name" post_id="4500"] [acf field="name" post_id="4551"] [acf field="name" post_id="4627"] As result, I get only first…
2
votes
1 answer

Displaying ACF field in page or archive head

I would like to use an ACF field to inject Schema merkup to a few specific pages on my WordPress website. Some of them are custom taxonomies or custom post types. After a two hour research on the topic, I am still stuck. I have created a text area…
spacer55
  • 23
  • 2
2
votes
0 answers

ACF Form and Redirect upon submission

I would like to redirect the user to a payment link depending on what choice they make but it's not redirecting. Can anyone see why not please? The strange thing is though; when the post is published, they can edit the form from the frontend and it…
2
votes
0 answers

Add attributes to ACF inner blocks

ACF has introduced inner block support which I'd like to use. Via my block template, I have the following:
Sam
  • 1,401
  • 3
  • 26
  • 53
2
votes
1 answer

Wordpress rest API: How do I append all ACF of a Post Object?

Im working with the followings: Nuxt 2.15.7 for frontend development Wordpress 5.8 CPT 1.9.2 Advanced Custom Fields PRO 5.9.9 ACF to REST API 3.3.2 ACF to REST API Recursive Deactivated at this moment. Situation: I have two CPTs Hiking Routes and…
ashish
  • 3,555
  • 1
  • 20
  • 26
1
2 3
22 23