**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
0answers
12 views

Advanced Custom Fields Plugin on multiple checkbox retrieve not checked [on hold]

I want retrieve not checked data. Here is my idea <?php $values = get_field('room_features'); if($values) { foreach($values as $value) { echo '<li ...
0
votes
0answers
9 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 ...
0
votes
0answers
22 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
13 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
votes
0answers
19 views

Change “MailTo” Address in Template/Shortcode with Contact Form 7 [closed]

I've searched quite a lot on this. If it's already been asked and answered, just let me know. I'd like to change the "mailto" address for a contact form using Contact Form 7 in the template for a ...
0
votes
1answer
24 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
28 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
1answer
25 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 ...
-1
votes
1answer
21 views

unable to insert post into database [closed]

i have a form that allows input of name ,email & photo...when i click on submit i want it to insert a row into the posttype called'contact' with the info submitted by the form and the image as the ...
0
votes
0answers
13 views

Filter Evenst Manager events list by acf custom user field [closed]

I am trying to filter the list of events that show up on the events page, by the values in an acf custom field - a users multi select field, actually. Should this be done using a custom wordpress ...
0
votes
0answers
72 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/ ...
0
votes
0answers
68 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
107 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
0answers
18 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
votes
3answers
33 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
49 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
43 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
38 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 ...
1
vote
1answer
105 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 ...
0
votes
1answer
31 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
14 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 ...
1
vote
1answer
61 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
1answer
43 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 ...
0
votes
1answer
48 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
14 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
0answers
27 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 ...
1
vote
1answer
60 views

Minimising Database Queries when using Advanced Custom Fields

I'm working on a page which lists staff members for a large company and trying to minimise the number of times I'm forced to query the database as it gets quite complex and slow. 'person' is a ...
0
votes
0answers
35 views

Trying to uswp_localize_script with Advance Custom Fields Repeater

I have an external javascript file that I am trying to change dynamically: Here is the Javascript that I want to be dynamic slides : [ {image : ...
0
votes
1answer
282 views

Add routes between multiple ACF google maps markers [closed]

I dug up this code from the ACF examples for Google maps markers: .acf-map { width: 100%; height: 400px; border: #ccc solid 1px; margin: 20px 0; } </style> <script ...
0
votes
1answer
84 views

Guest Author - How to display posts on /author/ archive page

I have used the Advanced Custom Fields plugin to create all the data elements for a company leadership directory page and management bio pages. On the site blog, management will not be posting ...
0
votes
2answers
45 views

ACF accessing a field from the query, but not in post

I'm not sure if this is possible - but checking before re-writing the template. I've extended wp_query to allow for a geocode/location search to be performed. This is working in itself and returning ...
0
votes
1answer
109 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 ...
0
votes
0answers
85 views

Geo location query inside wp_query?

I am building a simple property search website using Wordpress. One of the requirements is for a search tool to search for properties available for sale / to rent based on number of bedrooms etc. ...
0
votes
1answer
28 views

ACF Unexpected T_CONSTANT_ENCAPSED_STRING [closed]

I'm running the Advanced Custom Fields Pro plugin. When I implement the following code for the repeater field, I get this PHP error: Parse error: syntax error, unexpected ...
0
votes
1answer
29 views

How to acquire an ACF image using get_previous_post and get_next_post

I am using the WordPress functions 'get_previous_post' and 'get_next_post' to retrieve the title and permalink of the adjoining posts to the one the user is viewing, which works okay. But when I try ...
0
votes
1answer
38 views

Get A Custom Field From A Custom Taxonomy Of A Custom Post Type [closed]

This has probably been answered before but I'm stumped so I'll ask anyway. I have a custom post type called products. I then have a custom taxonomy called product-category. I've set up a custom field ...
1
vote
0answers
60 views

Order and group posts by acf by month and year

How can group posts by month and year by a separate headline? Example (output with this date format): Dezmber 2014 - 4. Dez 2014 - 5. Dez 2014 I have a custom field (datepicker) "event_date". ...
0
votes
1answer
88 views

WordPress dynamic AJAX query

Aim - I've trying to run a query based on which category is selected from the dropdown. I figure the best way to do this, is to dynamically use AJAX and pass the category value held by a variable to ...
0
votes
1answer
112 views

ACF Shortcode bringing in my shortcode is adding unnecessary line breaks

At the VERY core, my question is - how to remove linebreaks on a single ACF field that is inserted with the ACF shortcode. I have a lot of "shortcodes within shortcodes" here so I will walk this ...
0
votes
1answer
60 views

Stuck in the query loop

I created a two loop into my WordPress page. It should get the category name and should load all the child under the Category name. Like this ____ Cat1 ______ product 1 product 2 product 3 ____ ...
0
votes
2answers
65 views

Get the_field of Advanced Custom Fields in a custom query [closed]

I have a custom query to display content of a certain template: <?php $i = 0; $pages = get_pages(array( 'meta_key' => '_wp_page_template', 'meta_value' => 'sale.php' ...
0
votes
0answers
41 views

Display post as featured if taxanomy matches current category

I have used ACF. I have added the 'taxonomy' select dropdown field to the post edit page. From the dropdown I select which category this post should be featured in, but my code is displaying the same ...
0
votes
0answers
257 views

Add a title to ACF form from frontend

I'm using ACF to make custom posts from the frontend. I created a page in my theme, with the code: // generate post title on submit function auto_title_insert( $value ) { $value = ...
0
votes
1answer
134 views

Custom Post type and Custom Field WP_Query

I am developing a site for a client who is a Youth Football (Soccer) Club, with lots of different Teams depending on the abilities and ages of the children. I have added in a Custom Post Type called ...
0
votes
0answers
48 views

Advanced Custom Fields shows all posts

My ACF plugin shall only show posts with my organisation type = socialbusiness. Somehow it doesn't even care about my meta_query, it also doesn't care about the categories I selected (it shows "blog" ...
0
votes
1answer
148 views

How to query posts by meta keys AND under specific category?

The scenary: I'm working in a review system for WordPress, a game review website. It uses default posts, that when under "review" category, shows the review's meta fields (from ACF plugin). It's ...
0
votes
1answer
113 views

Display Child Page with custom fields within Parent Page

I have a parent page with multiple Child Pages. On the child page template I have an include which has customfields. This works perfectly. The custom fields are on the child page in wordpress. The ...
0
votes
0answers
58 views

$post breaking container loop

Problem I have a foreach loop grabbing posts inside an advanced custom fields repeater. When it's finished looping through posts it breaks the repeater. I believe the problem is with $post as far as ...
0
votes
1answer
65 views

ACF if / else checkbox [closed]

Hi I've got this code that's looking to see if a checkbox is ticked in a custom post type and then displaying the relevant link <?php if(in_array("Yes", get_field('news__item--external') )){ ...
1
vote
0answers
34 views

How do I relate a taxonomy with a custom field type, on another custom field type? [closed]

I need to create a tiered relationship between posts in WordPress - I am using ACF (Advanced Custom Fields). The end result is to create menus (food menus). There can be multiple menus (Breakfast, ...