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

Use function in stylesheet [duplicate]

I have an Advanced Custom Fields plugin. With ACF I made a colorpicker for every page. I want the color to load in the stylesheet, but this doesn't work the way I want. This is what I have now: ...
0
votes
1answer
21 views

How to populate a parent page with its child subpages and associated templates

I have a decent understanding of Wordpress as well as the Advanced Custom Fields Plugin and I'm trying to write my parent page template right now, but I'm having trouble trying to figure out how I can ...
0
votes
1answer
51 views

How to disable field on Advanced Custom Fields? [closed]

I create Repeater field table for Advanced Custom Field plugin, I set location show on User, but I want User only views not edit. and Admin will edit. So, how to disable field edit on User?
0
votes
0answers
17 views

Post_title is only updated every other time

I have this piece of code which seems to work every other time, it is very weird. I have made a custom post type, and used the ACF plugin to create a field that now with this piece of code functions ...
0
votes
1answer
24 views

Filter Content on all Post Types

I had this idea to introduce a 'post type footer' using Advanced Custom Fields so that my users could set up common, reusable messages or calls to action and have them appear after the content of a ...
0
votes
1answer
27 views

How to use an ACF taxonomy relationship field as part of the URL structure for a custom post type?

I am working on a simple custom post type with several custom taxonomies. Using ACF I have created fields where the user can select a single value for each of the custom taxonomies. Here is my ...
0
votes
0answers
148 views

Get month and day from a Date Picker custom field

I've got a custom field called fecha_del_evento from which I want to obtain the day and the month in different formats; day in numbers, and month with the 3 first letters. The code I'm using is a ...
0
votes
1answer
42 views

ACF iterating past the while-loop, defining a max number to loop

Using the ACF Repeater field I am trying to show a rating, using empty and filled circles. It is a * out of 5 kind of rating. My desire is to have the repeater field fill in the circles by iterating ...
0
votes
0answers
26 views

How to delete all images and image meta data attached to a certain post type?

I have a custom post type called books, I have 1000s of images attached to these posts in books using Advanced Custom Fields. How can I run a query to delete all of these images that are attached to ...
0
votes
3answers
735 views

Website loading slowly - Advanced Custom Fields images

I'm currently using get_field with Advanced Custom Fields plugin (see here) to get a single image for search results. The end result is that these pages are loading slow, as I believe this is due to ...
0
votes
1answer
29 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 ...
0
votes
2answers
248 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
524 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
54 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
14 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
1answer
21 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
85 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
18 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
36 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
20 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, ...
0
votes
0answers
65 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
68 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
14 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
15 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
198 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
23 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
66 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
383 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
66 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
0answers
21 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
16 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
23 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
82 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
21 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
42 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
26 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 ...
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
929 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
4k 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
29 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
91 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
59 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
107 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
36 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
55 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
23 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 ...
1
vote
1answer
28 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
2answers
1k views

Advanced custom field boolean value in custom post type

I'm using the Advanced Custom Field (ACF) plugin in a Custom Post Type (CPT). I have field group in ACF that contains a Image field and true/false field called 'home_offer'. I'm using this ACF in a ...
0
votes
3answers
119 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 ...