**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
11 views

Custom Post Type Title Using Advanced Custom Fields Repeater

I'm a bit new working with this plugin - and Wordpress in general, so forgive me if this question is properly documented somewhere - I just can quite figure out how to Google it. I have an Advanced ...
0
votes
1answer
19 views

Advanced Custom Fields not displaying

my php skills are pretty limited and I am pretty much stuck with the following issue. Why is my Custom Field (placed at the bottom) not showing up after the posts blocks? Here is what my code looks ...
0
votes
0answers
7 views

Order get_posts() results by an ACF repeater sub field property? [on hold]

So I understand that I can order get_post queries by a meta value of any kind including ACF fields by using... $posts = get_posts(array( 'post_type' => 'event', 'posts_per_page' ...
0
votes
0answers
8 views

sending an address to auto search in the ACF google map property [on hold]

I am desperately trying to send an address string to a post type using Advanced Custom field's Google Map property. The reason for this is that my client needs to capture a full separate address. So ...
0
votes
2answers
462 views

How to update a custom post title from a front-end form using ACF fields?

So I have a custom post title being written by a front-end (non-admin access) form using AFC fields. What I am after is a way to update the title when the post is updated from the front-end edit form. ...
1
vote
1answer
75 views

Any number in meta key (wp query)

I have such a query. The field modules_%_text is advanced custom fields flexible field where % should stand for ANY ROW number, it seams that it should work like that, however it's not. What i'm doing ...
0
votes
0answers
8 views

How to get all the markers on the single map for every post for advance custom field [on hold]

I have multiple posts, every post have individual address and it is shown in the MAP. now i want to show each address on one MAP at My home page. So with in the one MAP all the markers will be ...
0
votes
2answers
418 views

query to use to link to taxonomy single page

Hi & thanks in advance to those who could help me sot out he below: I have customized my home page, using tpl-home.php to show the authors (eg users...) of the most recent posts - nothing ...
0
votes
1answer
436 views

How can I output the custom fields wrapping with HTML

I am trying to publish custom fields created using the plugin "Advanced Custom fields". I am able to display them on posts and custom post types as raw output. But I want to wrap html around the ...
1
vote
2answers
2k views

advanced custom fields update_field for field type: Taxonomy

I need to insert a post via wp_insert_post and then add relevant post_meta - however, the WP admin has been customized with the excellent ACF. I know I can add_post_meta in this way: add_post_meta( ...
0
votes
0answers
6 views

Password protection only on advance custom field download file

How should i protect password when user click on file name and before it starts downloading it asks for password and after correct password downloading will start. I do not want password for whole ...
0
votes
0answers
24 views

ACF : Add custom field class to posts on home? [closed]

With the plugin Advanced Custom Fields i have made a custom field where i have the possibility to choose between 3 options, i would like to style the posts differently on my homepage in fonction of ...
0
votes
3answers
828 views

get post id in while loops outputting page id

it's been a while since I used wordpress and I am trying to us e advanced custom fields, I am trying to output the post ID inside a loop on a page, so i can use get_field to output the post contents. ...
0
votes
1answer
750 views

Matching Serialized Arrays with meta_query

I've asked a related question previously, but I think I've finally worked out the crux of my issue. I'm using Advanced Custom Fields and have a number of custom fields attached to my post type. I'm ...
0
votes
1answer
599 views

Fatal error: ob_end_flush()

Ive just imported a page via xml. It has a bunch of ACF Repeater Fields (about 100). When I attempt to edit the page I see the following error: Fatal error: ob_end_flush() [<a ...
1
vote
1answer
602 views

Get specific repeater row (via advanced custom fields) based on Meta Query with Wildcards

I've used Example 5 of: http://www.advancedcustomfields.com/resources/how-to/how-to-query-posts-filtered-by-custom-field-values/ to query a post by a wildcard. However, my problem is I only want to ...
0
votes
0answers
22 views

Media library - Limit images to custom post type

Is there some wordpress magic/plugin that will make the media library only show images that were uploaded to a specific custom post type? I have a custom post type called "artists", I want, when admin ...
0
votes
0answers
11 views

Tool Chain / Dev Stack options for robust WP webapp development?

I'm making a fairly sophisticated multisite webapp with lots of custom plugins and customs post types, custom fields, and settings. I really like to use the GUI Dev tools, like advanced custom ...
2
votes
1answer
563 views

Calculate the sum of certain the_sub_fields

I am trying to calculate the sum total from two custom sub-fields using ACF. The custom field is called 'repeater' and the sub-field is called 'space_avail'. I've tried the code below but it just ...
0
votes
0answers
31 views

Select posts with a custom taxonomy as a custom field

I am using woocommerce, so I have the product category taxonomy (product_cat). On a product category page, I would like to display the posts that are in that (product) category. That will be the ...
0
votes
0answers
17 views

mapbox & custom field

I try to implement mapbox for our wordpress project. I'm not sure where to start about this. I try to create advance custom field a repeater which is have a name,short descriptions, url, ...
1
vote
2answers
362 views

Faking the “onSave” event

While a specific use-case, I believe this may benefit others. I am using TurboCSV to mass-import a number of posts into WordPress (which it is doing wonderfully so far). Within that import, I am ...
0
votes
1answer
34 views

Advanced Custom Fields - Add Field to Specific Page [closed]

I have created a custom post type for testimonials. I have each testimonial as a text field titled 'testimonial' using the Advanced Custom Fields. I have a list of pages for services and want to pull ...
0
votes
1answer
31 views

Issue in If else condition [closed]

I'm calling my all pages on one pages as a section. Here is my code: <?php $args = array( 'post_type' => 'page', 'orderby' => 'ASC', ...
0
votes
2answers
802 views

Filter custom post types by custom field using AJAX

I have a few custom post types (books, films etc) created with WP-Types. I then have a custom field called Genre, created with ACF. If a user selects "Books" from the dropdown on the frontpage, he ...
0
votes
1answer
28 views

Conditional custom redirect

I want to achieve the following: On a post or a page, I can define an optional custom redirect URL (possibly as an Advanced Custom Field) If I view this post/page with a specific added URL parameter ...
0
votes
0answers
99 views

Multisite wp_query & switch_to_blog issue

3/17/2015 update So it appears that this is a known issue with ACF and multisite using switch_to_blog. http://support.advancedcustomfields.com/forums/topic/multisite-switch_to_blog-options-issue/ ...
1
vote
2answers
3k views

Get value in custom field with taxonomy

I have custom field my_cf for Taxonomy/Term. How can I get and output value with custom field for taxonomy/term? I've tried using: $variable = get_field('my_cf', 'basic'); echo $variable; ...
0
votes
2answers
385 views

Send Multiple Custom Field Values Through the URL

Basically, I'm trying to follow this tutorial to add an action to the pre_get_posts and create a custom meta_query so I can alter the query within the URL and display babies,children and home books ...
0
votes
0answers
104 views

Advanced Custom Fields, auto-incrementing ID

I'm from a more pure PHP/LAMP-stack background, and am having some confusion about the popular Worpdress plugin Advanced Custom Fields and the way in which is generates unique identifiers. We can add ...
0
votes
0answers
135 views

ACF Relationship Field Search Filtering

I am trying to assign relate posts using the ACF relationship field. It has typeahead search to search by post titles. I would like to add meta_data search to the ACF relationship search. This ...
0
votes
1answer
130 views

Building large multi-section pages with Advanced Custom Fields

I'm just beginning the build on a site which has long-form pages broken up into multiple sections. Each section should follow one of a limited number of formats - e.g. 3 column, 2 column, full-width, ...
0
votes
0answers
31 views

wp_insert_post with advanced custum fields repeater

at the moment i stuck a little bit at my new wordpress project. The basics are: The user can create nutrition plans and there he can add some recipes, so i need to build a relationship from user > ...
1
vote
1answer
108 views

How to group posts and get a mixed posts and groups view?

Let's say i need to implement the following in WordPress : I have a CPT named 'song' which are single songs from different artists. Sometimes songs may be grouped by albums, but not always. Then i ...
-1
votes
3answers
40 views

WordPress Loop trouble with ACF [closed]

I'm working on looping through some books for a custom post type with advanced custom fields. One of the ACF's is a checkbox, and I'm wanting to only show the values with this one checked. The current ...
0
votes
1answer
55 views

Can't get the_content to show

I'm using the following code to get posts from a category in a page. This category uses ACF for some fields. However, when I try to output everything, it shows everything but the_content. For better ...
0
votes
1answer
47 views

Create 3 Level Relations with ACF and Wordpress

i have a more or less huge project and i decided to use wordpress. I want to create a nutrition plan. Therefore i use custom post types for recipes and advanced custom fields vor values like kcal and ...
0
votes
1answer
40 views

Only list category if it has a custom field image

i've a problem showin a list categories. $args = array( 'orderby' => 'name', 'order' => 'ASC' ); $categories = get_categories($args); foreach($categories as ...
0
votes
1answer
34 views

ACF no print data [closed]

I've a problem with Advanced Custom Fields Plugin I create a custom field named: bgcolor I want to print the value in category.php, this is my code: $color = get_field('bgcolor', ...
0
votes
1answer
15 views

Displaying page list and a custom field

Im trying to display a list of child pages under $parent_id. This is done in a page template inside the loop. You will see that Im trying to also get a advanced custom field value which in this case ...
3
votes
4answers
329 views

Compare two numeric custom fields

I use Advanced Custom Fields and have a custompost-type "matches". This post-type contains two fields "goals-made" and "goals-against". I want to query wordpress to show only the matches that were ...
0
votes
1answer
46 views

ACF field not appearing correctly in loop

There is a loop in my theme that displays posts with the following information: a title, some text, and a price. I have added a custom field to this post type using ACF. The field ID is tour_length. I ...
1
vote
2answers
41 views

How can I dynamically add a post to a custom post type which uses a custom field?

I have a custom post type called "patients". I was using only the post title, but now I need to make a relationship with users. I made this by creating a custom post field (created by ACF), a ...
-9
votes
1answer
7k views
0
votes
1answer
59 views

Related Posts by taxonomy using Advance Custom Fields Plugin

I’m trying to list related posts using taxonomy with the Advance Custom Fields plugin. I’m using the following code below from the docs that links to all the posts in the taxonomy, but is it possible ...
1
vote
1answer
15 views

Archive filter disappears on no results?

I have been working through this example: http://www.advancedcustomfields.com/resources/creating-wp-archive-custom-field-filter/ That a colleague of mine found for creating a simple checkbox-based ...
0
votes
1answer
108 views

Display different category template if custom field is checked

I am a big fan of Advanced Custom Field by Elliot Condon http://www.advancedcustomfields.com/ This is what I am trying to chive without success so far: I have a website with posts and archive.php ...
0
votes
2answers
2k views

How to import CSV into Custom Post Type custom fields?

I have created a Custom Post Type and then used a plugin to create the custom fields for that post type. It will display a type of membership: Name Address Zip Website But I am stuck on how to take ...
0
votes
0answers
30 views

How build search with filleting custom taxonomy and custom fields

I wanna explain about my search box, actually what i want to make. Ive a search input and few check boxes to filter the search result. i need to search like this : [Country1] AND ( [venue1] OR ...
0
votes
1answer
125 views

advanced custom fields plugin last input field in new posts

I have a problem with front end update on post + advanced custom fields plugin it does not clear the input on new post. It does insert or update the form correctly but when you got there for first ...