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

learn more… | top users | synonyms

-1
votes
0answers
15 views

How to get fields from Advanced Custom Fields in to Contact form 7

I want to include text from custom fields created with "Advanced Custom Fields" plugin into 3 hidden fields in my "Contact Form 7" form My custom fields are name email phone How can I pre-fill ...
0
votes
0answers
7 views

Output custom fields as how it is arrange in admin edit screen - advance custom fields

I am using Advance Custom Field plugin. Now, I've created a number of field groups to appear on the same template all at once. I am trying to output the entered details in the custom fields ...
0
votes
1answer
14 views

display Flexible Fields from options

I am having a problem displaying the content using ACF and flexible fields. I made a custom option page and I want to call the fields from the options page but everything is coming back blank when I ...
0
votes
0answers
17 views

Filtering loop by query string in select option (custom field)

I'm trying to filter out some posts on a page template by a custom field. I could be attempting to solve this problem the wrong way - but I think a query string would be best here. Please advice if ...
0
votes
0answers
17 views

ACF Data Modelling issue?

I'm either missing something or there seems to me like a problem that ACF stores its relational fields as serialzied arrays. Example: I have two custom post types: Game Bonus A bonus is related ...
0
votes
2answers
21 views

Wordpress implode & wp_insert_post question

Just a few days ago I've started working on my new wordpress based website. I have a plugin which provides a Cars Database. I want to auto-fill my custom fields and taxonomies by taking info from ...
0
votes
0answers
10 views

Allow Editor to Select Content From a Post Category Dropdown List (Advanced Custom Fields)

I'm sure something like this has been done before, but I cannot find the right search terms to find it. Right above my footer on pages, I want to output a single post's content from a given category, ...
-1
votes
0answers
16 views

Ordering by multiple custom meta data fields

I'm trying to sort WooCommerce product results by several meta data fields, currently this works for one, "Routine". The fields have been created using Advanced Custom Fields. The final result should ...
0
votes
0answers
28 views

Assistance with complex query based on ACF Post Object Field

I got the following scenario: Two Custom Post Types: Game Bonus Two Custom Taxonomies (Not Hierarchical ): Game-Type (Poker, Roulette, BlackJack, etc') Bonus-Type (Free Credits, Free Spins, ...
0
votes
0answers
10 views

WP_Query within save_post doesn't include the item that triggered the action?

I'm using Advanced Custom Field's acf_form function to expose a front-end form for users to post content on the website. Users will be submitting photos of redfish they have caught, and one of the ...
-1
votes
0answers
15 views

Using functions in ACF save fields not working

So I built a form based off of the fields that are made by the Advance Custom Fields plugin but doing anything with the field in regards to validation has caused issues. The issues will usually have ...
0
votes
0answers
25 views

Reverse ACF relationship field

I am using a ACF relationship field to associate data to one another (what members belong to a committee). I now want to reverse that relationship so that you can see what committees the member ...
0
votes
0answers
7 views

Subscription to then post/edit a custom post type

I'm trying to find a way of creating a sign up page where a user signs up with a monthly recurring fee to then add/edit one custom post type and ACF custom fields from the front end, if the users ...
0
votes
0answers
11 views

Relationship field used to query multiple relationship fields assigned to posts optimization

I want to make sure that i am doing this the correct way. I have it working now, but i just want to make sure this is the most optimal way to do this. I have page which has relationship field on it. ...
0
votes
0answers
13 views

How to manipulate Wordpress custom fields to implement OG Tags on individual Posts

Hello my name is Erin and I have just started sharing my website content onto Facebook. The problem I've run into is that I can not control the description, image or title of the post. After doing ...
0
votes
1answer
25 views

Query Custom post type with Taxonomy Custom Field

I have a Taxonomy called Cities. I have created a custom field for this taxonomy, using ACF, called Country So I can create a City and select the Country (select list with predefined options) it ...
0
votes
1answer
58 views

ACF: get_field() returning false

I have created a custom true/false field with the default value of true. I've set different posts to different values. However, get_field() always returns false: <?php if( have_posts() ): while( ...
-1
votes
1answer
40 views

Custom post order returning posts from other categories

I am trying to order each post in a category by custom field (using Advanced Custom Fields Plugin) $the_query = new WP_Query(array( 'posts_per_page' => -1, 'meta_key' => 'adult_price', ...
0
votes
0answers
18 views

Custom Post type design for an ordered list of posts

i'm developing a site centered about user-submitted stories. Logged-in user should be able, when visiting a story, to add it to a custom ordered personal list. Each user can create several lists. ...
0
votes
0answers
10 views

Create custom data-sets to provide in post via tag. (Alternative to “tablepress” plugin)

There are different collections of providers. Each provider= one entry. Each collection = Providers in one specific location. Each location needs to have own Page. Because it is not possible to ...
0
votes
0answers
15 views

ACF get_field Strip content - strstr

I have I am using a Google Maps field and need just the address (not the name of the location or lat/long coords) My snippet of code looks like this: <?php ...
0
votes
1answer
30 views

Getting ACF relationship field information

I am trying to use ACF Relationships to associate members to different committees. On the front end, I want to have the committee name and the board members that are associated with them. I have ...
0
votes
0answers
15 views

Show custom field associated with embedded media

I've added a custom field to all media (using the Advanced Custom Fields plugin). I want to display this new field underneath all embedded images within blog posts (if the custom field exists for that ...
0
votes
0answers
23 views

Taxonomy term ACF issues with post with more than 1 category sometimes

I am trying to get and display values from a taxonomy term on a custom post type for some categories which are under 1 parent category with the ID of 80. Everything works fine when there is 1 ...
0
votes
0answers
24 views

Need help with meta_value sorting custom posts

Basically, every custom post (butik) has alternative buttons (butik, restaurang, cafe, service) in the edit mode. This code I'm using now worked when I had select buttons where only 1 category could ...
0
votes
0answers
21 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
39 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
41 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
16 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
1answer
48 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
32 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
18 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
31 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
58 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
29 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
26 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
61 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
36 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
34 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
40 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
37 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
126 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
40 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
18 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
158 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
44 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
53 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
103 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
49 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
17 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 ...