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

learn more… | top users | synonyms

9
votes
0answers
80 views
+100

Filtering multiple custom fields with WP REST API 2

I want to filter posts based on multiple acf custom fields with AND relation. Something like this: $args = array( 'post_type' => 'product', 'meta_query' => array( ...
2
votes
0answers
263 views

sort by date in Advanced Custom Field

I am trying to filter posts with certain values and sort by the date field using ACF module. I have succeeded in filter with package and type. But when i added date sort, its not working. Please help ...
2
votes
0answers
781 views

Copying Custom Meta Values from existing post to a duplicate post

I'm trying to revise an existing WP plugin BU Versions to accept different custom meta field values from items I've set-up using the Advanced Custom Fields (ACF) plugin. BU Versions will copy over ...
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"> ...
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 ...
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 ...
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 ...
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": ...
1
vote
0answers
324 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 ...
1
vote
0answers
179 views

How to update post meta on uploaded image from a custom form?

I have a custom PHP submission form wherein if I submit the form the entry will be created as a custom post. I am able to update post meta boxes for textareas and input fields but can't get uploaded ...
1
vote
0answers
366 views

Migrating data from ACF to WordPress custom meta boxes

I’m currently re-developing a theme for WordPress Multisite. The homepage and gallery template both use the Advanced Custom Fields plugin. So I can fully maintain the theme moving forward, I would ...
1
vote
0answers
803 views

Query by 2 values of a repeater ACF field

Let's say I have a custom post type called Film, with a repeater field called Showings, with fields start_datetime and discount. I need to make a query for those Films that have at least one showing ...
1
vote
0answers
2k views

Custom Post Types vs. Advanced Custom Fields (with Repeater Field add-on)

My goal is to give end users on my projects the maximum amount of control without making them work with any code. I've been using Advanced Custom Fields ("ACF") along with the Repeater Field add-on ...
1
vote
0answers
142 views

Shortcode default attributes over-riding non-default attributes

I have a shortcode with default attributes. It works fine with the default attributes, but the user-entered attributes do not over-ride the default attributes. Here is my shortcode code: function ...
1
vote
0answers
301 views

WP_Query with meta_query dosen't return results

I am trying to get list of posts filtered by fields I added using the advance custom fields plugin. I have more fields that I want to use but it doesn't work as I want it to. Here is what the query ...
1
vote
0answers
1k views

Multiple Frontend Filters Using Advanced Custom Fields

I've got a series of custom post types set up, and a large amount of custom fields are linked to these post types via the Advanced Custom Fields plugin. I want to set up a series of checkboxes on the ...
1
vote
0answers
202 views

Dropdown filter by custom field

I have a problem: I need to add a filter associated to a Custom Field. I installed the plugin "Advanced Custom Fields" and I created a field type "date picker" with key "Fecha-de-Estreno", until here ...
1
vote
0answers
2k views

Integrate Custom Post Type Events into Calendar

I've got a custom post type called Events on my site with a custom field called event_date created via Advanced Custom fields that stores its value in yymmdd format. Everything works just fine and I'm ...
1
vote
0answers
585 views

Is there a way to export Advanced Custom Fields data?

I've entered data into ACF using the ACF Options plugin. Is there a way to export all that data I entered? When I use ACF's built in exporter, it only exports the structure. Maybe I'm missing ...
1
vote
0answers
39 views

Specific routing for CPT

I'm developing site for art gallery. A have Artist CPT (internal name artsin_artist) which is defined in my functions.php like following: register_post_type('artsin_artist', array( 'labels' => ...
1
vote
0answers
452 views

How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?

Actually i have created a custom post type and fetch the data from "Advanced Custom Fields" plugin after then connect to a custom search-form to search only the post data.It works good. But now i ...
1
vote
0answers
662 views

Unique key for each row in a repeater field

Is it possible to have a unique key for each sub fields in a repeater field? I don't want to use the array index, because the array index can be changed, when adding new rows between existing rows. I ...
1
vote
0answers
35 views

Find the first occurrence of a custom field

I was wondering if anyone can help. I'm using the advanced custom fields plugin and I'm trying to find the first occurrence of a custom field by date, so really the newest post which has a custom ...
0
votes
0answers
11 views

ACF Meta Query on Taxonomy Fields

I have some custom fields on a taxonomy. I'd like to be able to pull a list of the taxonomy based on those custom fields. I know it use to be possible using a meta query, but now that the custom field ...
0
votes
0answers
9 views

List sub pages with custom field content converting image ID to URL

I am using the ACF plugin to create static (non-ecommerce) product pages. I am now making a page that lists all the sub pages with product name and the image added to the product_logo custom field. I ...
0
votes
0answers
32 views

Rewrite URL/Slug for a Page using a particular page template using Advanced Custom Fields Post Object

Edited 5/20 -- Rewrote to specify my question: I have a Custom Post Type represented as mysite.com/projects/{project-name}/. I'm trying to set up a rewrite rule for Pages that use a particular page ...
0
votes
0answers
20 views

Create Sub-Pages for Custom Post Type with Advanced Custom Fields

I have a Custom Post Type called "Projects". I have a archive-projects.php that displays all of the projects. Then a single-projects.php to display a single project. Trouble is, I want the display for ...
0
votes
0answers
17 views

Export multiple posts content populated with ACF to PDF

First of all, I have installed IssueM and ACF Pro and some other plugins like Wordfence, etc. I also populate the content of the post using NVD3 to produce some graphs. I need to export to PDF a ...
0
votes
0answers
37 views

Query between dates using ACF date AND Time Picker fields

I'm looking to be able to query (custom) event posts by date AND time. displaying a range of events on any given days. I should also be able to query events that span across multiple days, whilst ...
0
votes
0answers
17 views

Link to Advanced Search specific results

I have built a search using Advanced Custom Fields which is a lot like this: Advanced search form with filters for custom taxonomies and custom fields however all the results are being displayed on ...
0
votes
0answers
29 views

how to refresh woocommerce products

i have a bunch of products in woocommerce that i had to export and fix and then re-import. Everything seemed to go smoothly except for 1 thing. Each of the prouducts had a Advanced custom field ...
0
votes
0answers
20 views

Advanced Custom Field in dashboard

I'm looking for a way to add a dashboard widget that has a ACF text and image field in it. I want a client to be able to quickly update a text field right from the dashboard. Any ideas on how to ...
0
votes
0answers
53 views

Search for Custom Post Types with ACF Fields

I've tried a lot of things but back to square one. My latest attempt didn't go so well. I'll try and explain very clearly what I am after. I ended up buying ...
0
votes
0answers
22 views

Can't pick up a field created with Advanced Custom Fields

I have a situation where: I need to create a custom link per image on an image gallery. I did that via ACF. I have created a text field with HTML outputing so that hyperlinks get converted ...
0
votes
0answers
30 views

Refresh the Customizers preview after editing fields

I'm using ACF fields on a few custom widgets. While using the Customizer to edit fields, they will save on change but the preview will not refresh. Calling wp.customize.previewer.refresh() will ...
0
votes
0answers
152 views

Add custom fields from Woocommerce Attributes in check out page

I've added some custom fields, using ACF, for attributes in Woocommerce. So when you add an attribute you can add some more info. I achieved to show them in the product page but I can't find a way to ...
0
votes
0answers
41 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
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
122 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
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 ...
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 ...
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
0answers
151 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
56 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
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 ...