**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
174 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 ...
4
votes
1answer
71 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
35 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
80 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
32 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
40 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
105 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
101 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
199 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
57 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
336 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
155 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
44 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
59 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
44 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
31 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
30 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
89 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
157 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
27 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
131 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
51 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
46 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
64 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
118 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
57 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
144 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
99 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
35 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
132 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
71 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 ...
0
votes
1answer
44 views

Dynamically Insert Image Into Stylesheet

Let's say I have a banner image I want to act as a background cover. Users manually upload their image with the Media library, which then associates that image with the post (image is handled using ...
0
votes
1answer
56 views

Is there a way to optimize function that is used for returning data in an ajax-call?

I've started creating some plugins (not offically deployed yet) (feel free to use it you want to), and now my goal is to include a custom post type and taxonomy and being able to use Advanced Custom ...
0
votes
0answers
34 views

WP Query using Advanced Custom Fields data

I have a page 'Repertoire' that uses a specific page template. The page has an advanced custom fields repeater field for 'Title' (text), 'Artist' (text) and 'Genre' (select). On the front end, I need ...
0
votes
4answers
248 views

ACF custom field in <head> [closed]

I've created an image field using Image URL via the ACF plugin. This field appears across my pages. This field enables admin to change the background image for a selected class. Here's the code I ...
0
votes
0answers
44 views

Advanced custom fields (ACF) relation inverse?

I use ACF on my website, there is a custom field "Relationship" and so I show products on author page (in author element I can assign his products), it work very good, for this job I use this code: ...
1
vote
0answers
15 views

Insert Content into Script with Advanced Custom Fields

I'm putting a map on my site and I'd like certain co-ordinates in the map to be editable from the admin. var geoJson = [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": ...
0
votes
1answer
98 views

Pull info from Soundcloud embed into a custom field?

I'm working on a blog that has over 4000 posts, most of them have a soundcloud embed iframe in the post. I am creating a new custom field (using Advanced Custom Fields) that uses a custom player ...
0
votes
0answers
21 views

View list of categories from values ​​in custom fields

Through the Advanced Custom Fields created a field to add values ​​in each category. example: Category A = Cars Category B = Aircraft Category D = Boats Category E = Aircraft Category F = Boats ...
1
vote
1answer
83 views

ACF vs Taxonomies

Sorry if this isn't the best place but was hoping for some clarification on something that has been bugging me. I have several custom post types Artists Counties Venues Events Festivals Line Ups ...
1
vote
0answers
299 views

Display value of custom field of custom taxonomy in single post?

I have a review site, which uses a custom taxonomy called 'show' to organize posts. I have used Advanced Custom Fields to add a field to the 'show' taxonomy called 'twitter_handle'. I am trying to ...
0
votes
1answer
85 views

Transfer self made functions.php custom fields to Advanced Custom Fields [closed]

I have recently taken over a wordpress site that needs some serious renovating. The previous developer created custom fields himself in functions.php. I am serious advocate of Advanced Custom Fields, ...
0
votes
3answers
198 views

Display posts if a custom field value is equal to another custom field value

I have 2 custom post types "Shops" and "Restaurants". Each of these have custom fields associcated with them. For example, One field in Shops is "Shop ID" and one in Restaurants is "Restaurant ID". ...
0
votes
0answers
103 views

jQuery get elements inside tinyMCE WYSIWYG field

How can I access elements inside a tinyMCE WYSIWYG field with jQuery/Javascript? My case: I have a Wordpress site using Advanced Custom Fields and several WYSIWYG-fields. I want to be able to get ...
0
votes
0answers
42 views

Moving review data to another website

A website is using "Advanced Custom Fields" plugin to add reviews to posts. For some reason now its content is moving to another WordPress site with different theme that has default review options ...