**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
464 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
2answers
144 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
0answers
34 views

Calculate the total of 2 meta values and ORDERBY

I've configured products in WooCommerce to use a point system (either 0 or 1) using Advanced Custom Fields and would like to order the products by these values - there are 9 options in total per ...
0
votes
1answer
461 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 = ...
2
votes
0answers
20 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 ...
0
votes
0answers
11 views

How to change select field option pragmatically?

I have created one custom field (field type select) with the name specialization and have multiple options like doctor,dietitian in users profile in back end this fields are visible. suppose user ...
0
votes
2answers
669 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. ...
0
votes
1answer
15 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 ...
-1
votes
0answers
24 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
9 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
0answers
23 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
1answer
352 views

Accessing Advanced Custom Fields with Repeater using jQuery instead of PHP

I am using Advanced Custom Fields (with repeater) and am currently using the following code to access the fields, i.e.: <?php if( have_rows('postage_prices') ): ?> <ul ...
0
votes
1answer
505 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
1answer
855 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
2answers
27 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
11 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
19 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
33 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, ...
1
vote
1answer
800 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
15 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
21 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
28 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
1answer
672 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 ...
0
votes
0answers
12 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. ...
7
votes
1answer
151 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
17 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
29 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
75 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( ...
0
votes
0answers
49 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 ...
-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
2answers
430 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
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
12 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
16 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
35 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
17 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
25 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
2answers
1k 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 ...
3
votes
3answers
5k views

ACF - get fields from group

i have been using this code to get all fields from a specific group: <?php $GroupOrPostSlug = 'acf_specialgroup'; //or insert the ID of your fields Group. $groupID=''; global $wpdb; if ...
0
votes
3answers
780 views

How to query categories with Advanced Custom Fields?

I'm currently using Advanced Custom Fields and I was wondering if anyone know how to filter categories by custom fields? I have a custom field in my categories using the checkboxes field. I want to ...
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
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
41 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
42 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
59 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
1answer
19 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
36 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 ...