**NOTE** Support for this plugin is off-topic. Support questions should be asked on the plugin's support page.

learn more… | top users | synonyms

0
votes
1answer
34 views

meta query not retrieving posts

I am attempting to use get_posts() to retrieve posts that have certain topics attached to them, in my custom post type named 'leaders' Here is my query. $args = array( 'post-type' => ...
0
votes
1answer
59 views

ACF Relationship - Get Parent's Post Object

I've a few post that have ACF relationship field set up : - Post A - Post A1 - Post A2 - Post A3 Post A have a relationship that link to : Post A1,A2 & A3... Post A1,A2,A3 have their own post ...
0
votes
3answers
36 views

Custom fields vs. Custom post types for a Portfolio Website

The Problem : I need to make a website of my Portfolio using Advanced Custom Fields and Custom Post Types UI plugins. Approach 1: Make a seperate post type for each Portfolio type (photgraphy ...
1
vote
0answers
41 views

Using Advanced Custom Field for file upload, how do I load the file url

I'm trying to make a link to the file I uploaded with ACF so that it goes right to the pdf viewer from the Read More link, but I am getting an error here is the code <div class="col-md-6"> ...
-2
votes
1answer
74 views

Advanced custom fields and post types

I've made a quick plugin to be used for one site only (over several domains, but same theme, plugins and content). On one of the sites I'm getting an error saying Warning: call_user_func_array() ...
0
votes
1answer
32 views

Ordering get_terms with ACF not displaying all terms

I'm making a shortcode to return all the terms in this taxonomy. The terms are sorted with krsort by the custom field 'height' made from ACF. I'm following this answer from here. The problem is it's ...
0
votes
1answer
21 views

Update the value of every page's content editor with the value of an Advanced Custom Field on that page

Problem: I imported posts from an old Wordpress site to a new Wordpress site. Previous developer used an ACF field in replace of the Wordpress content-editor on post pages. I want to transfer the ...
1
vote
2answers
246 views

ACF Custom Field WP_Query, but need to get all posts, if field doesn't exist

I have a custom ACF field set on all posts, called event_date, I would like to grab all posts within a given category, but have posts that have event_date defined put first in DESC order of ...
1
vote
1answer
70 views

Last modified field for user profile?

Is there a plugin or a known way to track user profile changes and save a last modified date in Wordpress? I tried with ACF, but it doesn't have an option to auto update this field. Thanks in ...
1
vote
2answers
57 views

The loop seems stuck to a single (now deleted) post

At first I thought it was an ACF problem, but printing some values helped me to find out that somehow my Loop seems stuck on a single post, but only when some fields are concerned. To sum up my ...
1
vote
0answers
27 views

automatically set “Featured Image” the same as the og:i that is set in a custom field

I currently have a site that uses the "custom fields" feature to set the value of the meta property="og:image" for each post. All of my og:images are stored on an external server. I'm looking for a ...
0
votes
0answers
42 views

Is there an efficient way to query posts's ACF gallery field?

My setup is as below. Custom post type > Page > Custom field (Gallery field) [only one gallery per post] And below is the code that renders all the galleries from the posts on a ...
0
votes
1answer
22 views

Unkown meta_value in ACF

I'm using ACF, but I wonder the meta_value means? Below is a snippet from my database: meta_id post_id meta_key meta_value 9394 4661 _carousel_0_image field_5683f27fd880e So what ...
1
vote
0answers
19 views

Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)

As title reads, I am trying to list specific custom tax's terms in a custom post type archive's page. My setup: Custom post type: 'podcast' Custom Taxonomy: 'showname' -> Custom Field for above ...
0
votes
1answer
266 views

How to display product price of the product in loop

My general question is: how to display product price in woocommerce of a product in a loop, not the price of the product which page it is? In other words I would like to display few related products ...
1
vote
0answers
19 views

Search Tool only refreshes Page without showing results

I have a search tool that allows you to search plants based on multiple different taxonomies (Color, soil type, type, ect.) Each plant is set up as a post using ACF. You can search for plants based on ...
5
votes
1answer
79 views

Advanced Custom Fields Multisite Upload/Imagery Issue

OK, so I'm using: WordPress 4.4.1 (the latest version at this time) Advanced Custom Fields PRO v5.3.3.2 (the latest version at this time) I'm having a very strange issue that I cannot seem to fix. ...
1
vote
1answer
38 views

Having issues with a foreach inside of a shortcode with ACF gallery

Normally I would just put this type of content in a template, but the way I'm pulling in the content is a bit different. I made a shortcode which I've been having issues with. It's using Foundation ...
2
votes
1answer
107 views

Adding a body class with ACF

I have created a radio button field with ACF so that admin can specify a colour. E.g: blue : Blue pink : Pink I'd like this to be output as a class via <body <?php body_class(); ?> in ...
0
votes
0answers
36 views

How can I add my ACF field into another plugin's form

How can I add my ACF field into another plugin's form? I tried this but this does not work <div class="input-group"> <label for="deal_title"><?php _e('Deal title', 'wcd'); ?> ...
0
votes
0answers
44 views

Change flexslider bahaviour according to page width

I have a flexslider that displays photos from an Advanced Custom Fields gallery field on posts with gallery post format. Now, there are different post template widths that the user can choose. For ...
0
votes
0answers
123 views

How to load custom post type plugin after acf options page (or get settings from there another way)?

I use a custom made plugin to load a custom post type. And i use acf plugin to add custom fields to that post type. Also, i use the acf plugin to add a theme options page with that code in my ...
0
votes
1answer
108 views

Display List Of Posts Containing a Relationship Field Value [ACF]

I have a post type called 'Writers' and another post type called 'Documents'. I use the Relationship field in Advanced Custom Fields to link a list of Writers (post objects) to a Document. This means ...
0
votes
1answer
265 views

How to update custom taxonomy meta using ACF update_field() function or any other wordpress function

I'm trying to update the Advanced Custom Fields meta value associated with a custom taxonomy term $term_status = wp_update_term( $rate_id, 'rate', $term_data ); $term_id = ...
0
votes
0answers
16 views

Best Practice - Multiple Templates & append Posts

I'm new to Wordpress and I've Html/Js/Php Knowledge. May I know is this a correct way to develop a custom theme site? I will have multiple templates files like : home,about,contact-us templates ...
2
votes
1answer
63 views

get_field not displaying my custom field value

I'm asking regarding the ACF plugin (Advanced Custom Fields) I'm working on creating a category group that will add custom fields to the category pages. These are the fields: They seem to work in ...
3
votes
2answers
455 views

Filter by custom field in custom post type on admin page

I've used Advanced Custom Fields to create custom fields for Competition name, answers etc. I've made a custom post type for competitions as shown on the image and I used Wordpress functions.php to ...
0
votes
1answer
17 views

Advanced Custom Fields [closed]

I am trying to call a field and it's heading on a post type. I want to call headings only if there is content in the field. I'm really new to PHP and am unsure how it all works. I have added the ...
3
votes
1answer
185 views

importing third party json feed as custom post type [closed]

I have a third party json feed http://feeds.artlogic.net/artworks/artlogiconline/json/ that i need to use to import data in wordpress as a custom post type called "artwork". Are there are handy ...
0
votes
1answer
53 views

Retrieve value of a category's custom field

Using the 'Advanced custom fields' plugin I have added a field to every post category that is called 'color' and it works just fine. Now inside the loop I need to retrieve the value of the 'color' ...
0
votes
2answers
70 views

Add up values from ACF number field

I have a page where I'm calling event titles based on the current user. I'm calling them into a table and associating a 'credit' with each event. The table gets populated with the events and ...
0
votes
0answers
45 views

How to update existing post with ACF by Front End?

i wrote this code to publish a post by front end, now i would update post if i have a one. The publish works fine but i'have the problem with the update, i can't retrive any data for the current ...
0
votes
0answers
33 views

Events Manager past events and ACF relationship query

I am trying to get Events Manager to work better with Advanced Custom Fields I am using the ACF relationship query to pull in a set of posts and events together on the homepage of my website. These ...
0
votes
0answers
34 views

Display Advanced Custom Fields with function

I'm pretty new to PHP and currently struggling with the following: I want to have a custom post type with custom fields. In a custom function (so I can use it on any page) I want to display the ...
1
vote
1answer
99 views

Rewrite Wordpress URL to show CPT meta field data

I'm stuck in need of a rewrite rule. I have set up a custom post type for 'Books', each book has a repeatable field (using ACF Pro) for chapters. I have added a query_var for chapter using the code ...
0
votes
1answer
179 views

Help using acf/save_post hook to connect to Untappd API and update_field [closed]

What I am trying to accomplish is: when I save a or update a post, I want to access the Untappd API, grab a link to an image, and update an ACF field with that link. I am attempting to use the ...
0
votes
0answers
17 views

Creating a custom form with a repeatable row and conditional showing of fields

Would love some guidance. We tried Advanced Custom Fields (ACF) and hit a snag. Basically in a custom post type, we want to create a repeatable set of items. When an end user adds a repeatable item, ...
0
votes
1answer
29 views

Query Posts based on custom field value

Currently building a site and need to create a 'Schedule' to display a Presenter that is on air at a particular time. Using ACF plugin to enter a time that the presenter goes on air which saves the ...
0
votes
0answers
152 views

frontend ACF issue javascript(s)

I've trying to figure out how to create forms with Advanced Custom Fields, but having an issue. The actual creation of the form is not the issue. It's some js-functions that are not seemed to be ...
0
votes
0answers
57 views

WooCommerce - Complete Order when an action occurs

I'm having trouble with WooCommerce and Custom Post Type/Custom Fields. I have an application where a new WooCommerce order automatically creates a new post (CPT = "audits"). The post has some custom ...
0
votes
0answers
47 views

Can you retrieve ACF data from post status hook?

I'm creating a reporting site where the admin can create reports for their clients. Within this there is a 'client' ACF field in which the admin can select a user to assign the report. I'd like to ...
0
votes
0answers
72 views

Include ACF field in other plugin option page

I'm using Advanced Custom Plugin. I can get the field's output via export option. My field like this: if(function_exists("register_field_group")) { register_field_group(array ( 'id' => ...
0
votes
1answer
129 views

There is no existing custom fields' value in functions.php

I'm using WooCommerce and Advanced Custom Fields plugin. I have a function for calculate my product's discount, like this: function woo_add_cart_fee() { global $woocommerce; $discount = ...
0
votes
0answers
58 views

Is it possible to group ACF Fields for a custom post type?

I have structure like this: District (taxonomy) --municipality (custom post type) - ACF Group (with fields assocation and contact) I have created a group in Advanced Custom Fields where fields ...
0
votes
2answers
166 views

ACF - Get lowest & highest value from field

I am using Advanced Custom Fields to get a list of properties as follows:- <?php $args = array( 'posts_per_page'=> -1, 'post_type' => ...
0
votes
0answers
107 views

get_the_ID Wrongly Getting Child Category ID

I have WooCommerce product categories with parent and its child categories. The get_the_ID() function on the parent category seems to wrongly retrieve one of the child category ID's. How can I ...
0
votes
0answers
37 views

Can't set post permalinks without breaking single page for ACF

I am using Advanced Custom Fields to make sections where a user can post products to a shop page and then have set his owl external URL. This works fine but I've just noticed some problems and I can't ...
0
votes
1answer
147 views

How to set custom post type as post title to avoid 'Auto Draft'

I am using a mixture of Advanced custom fields plugin and Custom post type UI to give my users some extra functionality. The problem I have is that I have serup a testimonials menu and in the list ...
0
votes
0answers
18 views

wp_set_object_terms being undone

I am trying to set some object terms on a Woocommerce product when it is saved. My code is as follows. add_action('set_object_terms', 'update_attributes_after_save', 99, 3); function ...
0
votes
0answers
74 views

acf - wordpress - wrapper attributes

has the option to specify 'wrapper attributes' in the 'advanced custom fields' wordpress plugin been removed? I believe it should be at the bottom of the text field page, underneath 'conditional ...