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

Show taxonomy image on custom post with ACF

I am trying to show a custom image on certain post based on the category. I have made my location rule to “Show this field group if taxonomy term = custom-category” . Now I can go to those categories ...
0
votes
0answers
20 views

Creating a list with multiple categoreis and options

I'm trying to work out the best way to do the following. I need to create a list of products. Each product will have a title, a short description a pack size or weight and an image. Clicking the ...
0
votes
0answers
15 views

How to get file upload value in front-end to put in ACF image field

I am trying to upload image and the image should be inserted in a new post but I can't get the image displayed in the post editor even if the image is successfully uploaded. Here's my upload button: ...
1
vote
0answers
19 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 ...
0
votes
1answer
9 views

ACF Display Taxonomy Image Field

I have tried the following but it does not seem to display the image in taxonomy. <?php if(get_field('my_image', 'album_category') ): ?> <img src="<?php ...
0
votes
0answers
23 views

qTranslate Plus and advnced custom fields Tiny MCE issue [closed]

I use wordpress 4.1.5 + qTranslate Plus 2.7.2 + Advanced Custom Fields 4.4.1 + Advanced Custom Fields: qTranslate 1.7.9 I have two languages and My problem is that I add 3 different wysiwyg fields in ...
0
votes
1answer
25 views

Acf Pro repeater field returns null [closed]

I’m having a problem with the repeater field in Acf Pro. Basically, it works fine in the admin (it saves the data), but nothing shows up in the front. It's driving me mad because I'm using the exact ...
0
votes
0answers
23 views

Order by (sort) taxonmy fields using taxonmy custom field value

I have taxonomy:-shop_vendor with multiple vendors and every vendor have two radio buttons 1)Wellness 2)Dietitian and each vendor have selected one radio button at list. If i have 6 vendors in ...
0
votes
1answer
10 views

How do I use “while” and “end while” inside of the echo do_shortcode with ACF Repeater?

I feel like I’m so close, but just need someone to help assist me with getting this working. I’m using a repeater field with Advanced Custom Fields and am using the echo shortcode, but only need part ...
0
votes
1answer
18 views

ACF: Querying relationship fields with Author

I have a website which is about local types of foods and drinks. On the website, businesses can create a user and via the relationship field - add foods and drinks they offer. The relationship field ...
0
votes
2answers
30 views

Using ACF custom field for custom post type to order categories

I'm trying to use this answer to order categories based on their Advanced Custom Fields custom field: track_order. I'm able to get the UL to print fine and show the custom field numbers but I'm ...
0
votes
1answer
17 views

ACF Relationship - Exclude pages not created by author

I have pages that I would like to exclude in a ACF relationship field. My field name is products and the following code excludes the pages with id 9, 10 or 11. ...
0
votes
1answer
18 views

Get ACF fields in relationships of returned post

I know to get the ACF fields of a post it's self but I'm having trouble getting relationships within those results to return ACF fields as well. example: $args = array( 'post_type' => ...
0
votes
1answer
28 views

wpdb and acf via wp rest api

I made a custom endpoint with wp rest api for /wp-json/dn/locations which in turn runs the following wpdb query $sql = "SELECT * FROM wp_posts p WHERE p.post_type = 'location' AND p.ID = 133;"; ...
0
votes
1answer
22 views

Google Places API With ACF [closed]

I'm creating a site that has a Venue custom post type, and one of the custom fields (using advanced custom fields) is the hours of operation for the business. I was going to manually find this ...
-1
votes
2answers
26 views

ACF Relationship - Limit to specific pages

In Advanced Custom Fields, I would like limit the Relationship field (http://www.advancedcustomfields.com/resources/relationship/) to specific pages. For various resons, involing Custom Post Types is ...
0
votes
1answer
30 views

update_post_meta not working in function

I am attempting to take some custom field meta data (generated via the ACF plugin) and save it as post meta with a function. This is what I've come up with: function tps_create_slotcode($post_id) { ...
0
votes
1answer
22 views

How to show amount of post in a taxonomy with advanced custom fields?

I am trying to display the post count of some taxonomies. I have a custom template that I am showing some taxonomies on. I am using advanced custom fields to assign each repeater field to a ...
0
votes
1answer
68 views

Query between dates using date picker filter breaks in Wordpress 4.2.1

Original post: Query between dates using Date Picker fields I originally made a post last year on this same subject, but seems the update to WP v4.2.1 has broken my filter. In summary, I am using ...
0
votes
1answer
22 views

Show only the future event (Advanced Custom Fields)

I’m trying to make event ticker with Advanced Custom Fields and I want to show only events that are happening on the current day or in the future. But I don’t know how to hide past events. Could ...
0
votes
0answers
14 views

random select option via code ACF

i have a select field called type created via ACF with choices as red,green,blue,yellow . what i am trying to do is random set one of them as 'type' via functions.php when post is published. but it ...
0
votes
1answer
86 views

While loop with bootstrap [closed]

Is it possible to do a while loop with Accordion from bootstrap ? I am trying to make a FAQ section with the repeater add pro add on from advanced custom fields. All the questions show up but they ...
0
votes
0answers
29 views

WP_Query custom field pass the post id

I'm using WP_Query with ACF(Advanced Custom Fields) I'm building a news portal, and I'm trying to pass related stories from 1 post which is top_story = true. In another WP_Query I want to print the ...
0
votes
1answer
30 views

Displaying All Data from Custom Post Type Fields through Advanced Custom Fields

I have looked all over Google, trying to figure this out. I've made some progress but still stuck. I'm pretty new to ACF and custom post types. I have a custom post type of "Attorneys" that I setup ...
0
votes
2answers
69 views

Unable to check if plugin is active

I am working on a custom theme using ACF. I would like to check if the plugin is active or not. I am using this code: <?php include_once( ABSPATH . ...
0
votes
0answers
29 views

Check ACF fields in foreach custom taxonomy

I currently have a custom post type page set to pull in data that's attached to a custom taxonomy with ACF: <?php $terms = get_the_terms( $post->ID, 'artists' ); foreach($terms as $term) : ...
0
votes
0answers
14 views

Custom WP MultiSite with Workflow

This is quite a weird question, so here goes. I have this project to take 1 main site and make 200 sub sites off of it. The sub sites will have defined content areas within a page where the sub site ...
0
votes
1answer
24 views

Get all the posts where meta field with multiple choice has several values checked

I apologize beforehand for any confusion, I'm just 2 days with WP. So, I use Advanced Custom Fields to add formatable custom fields to posts of partucular type. One of fields is checkboxes with ...
0
votes
1answer
54 views

Random images with no duplicates (ACF Gallery) [closed]

I have a gallery field created with Advanced Custom Fields. My code spits out all the images on a page. So far so good. I would like all the images to load in random. I tried to use shuffle() and ...
0
votes
1answer
47 views

Advanced Custom Fields: Conditional Statement with Select

I've set up a select field labeled "asset_type" with two values: "image" and "video". I then have two fields that rely on conditional logic to be displayed. If "image" is selected from the select I ...
0
votes
1answer
42 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
8 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
3answers
81 views

Website goes down while importing backup (Internal server 500)

I have a WordPress website running on a machine. PHP has allocated memory of 128MB. Since I have two WP sites being host under same hosting it is consuming around 95MB out of 128MB on normal load.. I ...
1
vote
0answers
47 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
20 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
45 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
23 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, ...
0
votes
1answer
47 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
40 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
33 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
148 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
154 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
190 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
44 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
50 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
69 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
57 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
47 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
113 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
39 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', ...