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
2 answers

WP ACF - Combining differnet fields / then loop with WP Query

I have been searching for hours for a solution for my problem. I couldn't find anything quite like what I am trying to achieve., so I am really stuck and appreciate any help! I have a CPT called "magazine", with several ACF fields. One ACF field is…
JMan
  • 11
  • 3
1
vote
0 answers

Return the last modified date of an Options page in Wordpress

I'm using Wordpress and ACF / Advanced Custom Fields to add various fields related to my contact OPTIONS page. I need to retrieve the date the the last time the "UPDATE" button was hit. I have tried to sue the the_modified_date(); but this give me…
Schalk Joubert
  • 398
  • 3
  • 19
1
vote
1 answer

Get values from most recent post

I have number values on my most recent post that are placed via advanced custom fields. I want to be able to pull the data from a post into another page. this can be easily done via an…
1
vote
1 answer

ACF value into js/jquery - YouTube fullscreen video

I'm not sure if i can ask this way, but i will try. I use this YouTube fullscreen jquery plugin - Link The problem is that i have to enter the YouTube video ID manually in the script. How do i get my ACF value to replace the videoId? I have tried…
Keviin Cosmos
  • 177
  • 14
1
vote
2 answers

list all the label and value from a group field type in ACF

I really need some help, My problem is that I cannot show the label from a group field using ACF Script below is displaying the name and value, I need the "Label" to be displayed and its "value" and I can't find anything. if(…
1
vote
0 answers

How to fill a ACF repeater field by WordPressSharp in C#?

I can send data and fill simple custom fields. But it does not work with ACF repeater fields. It does not get value at all. using (var client = new WordPressClient(new WordPressSiteConfig { BaseUrl =…
joei
  • 333
  • 2
  • 11
1
vote
1 answer

Advanced Custom Fields Gallery Thumbnail Sizes

I have created a gallery using the acf pro plugin for WordPress. It all works perfectly with images that are in a landscape format. However, because the thumbnail images are a set width and portrait images are different proportions they have a much…
Lv1983
  • 67
  • 1
  • 9
1
vote
1 answer

How to show ACF Sub Field only if the value is set, if not, hide?

I'm using ACF, flexible-content. I have made media fields for facebook, twitter and more. The fields will get the link, as the front-end is just the logo of the company. I need to show the html, only if the value is set, if not, don't show it. How…
0
votes
1 answer

Problem with autopopulate of an ACF field when a value already exists

I have the following scenario: (a) Existing posts created with Avada Theme Builder. Here everything (layout and content) is stored in the same post and can only be changed manually per post; b) Existing posts created via a custom backend. The…
bee
  • 71
  • 10
0
votes
0 answers

ACF Pro With Polylang in wordpress site

I have a site that has three languages (Arabic, English, and Russian). Sometimes, for no reason, the content of some Arabic and English pages becomes in Russian. Knowing that ACF Pro and polylang were used on the site, I still do not know why the…
noons
  • 13
  • 4
0
votes
0 answers

How to display custom fields from two different post types

This snippet of PHP code is inside an Elementor template where I display posts from custom post type "proprieta" (English = property). I need to retrive details of the sales representative for that property. There are 2 ACF field group: one for…
0
votes
1 answer

How to Show a Shortcode that is Inside in Select Field in ACF?

I have a shortcode called [post_category] and [post_tag] that will show the category name and tag in the front end when posted in a normal post. However, I want to add this inside the Select Field in ACF. I tried adding [post_category] and…
Sekiroweb
  • 5
  • 2
0
votes
0 answers

ACF acf_register_form() - One form create page and product

I need to create a product and a page with one form. $new_product = [ "post_type" => "product", "post_status" => "draft", ]; $new_events = [ "post_type" => "events", "post_status" => "draft", ]; acf_register_form([ "id" =>…
Patricio
  • 27
  • 5
0
votes
0 answers

ACF relationship field display on Search & Filter Pro plugin

I'm trying to show a relationship field in the Search & Filter Pro results.php page. I'm trying to call it with but I only get the id of the post related. I've tryed another approach but it posts the title of the page, not the related one. If I try…