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

Add routes between multiple ACF google maps markers

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
0answers
10 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
26 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
0answers
28 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
22 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
17 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
12 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 ...
-1
votes
0answers
14 views

Update Custom Fields from one page [on hold]

I just started using ACF and I have a site with about 10 pages, on each page I have a phone number that appears in the header via a custom field. I set my custom field to "post type is equal to page" ...
0
votes
1answer
29 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
19 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
40 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
54 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
49 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
28 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
26 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
51 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
57 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
30 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
61 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
83 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
35 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
37 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
30 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, ...
0
votes
1answer
22 views

Can't get “has_sub_field()” to work in a conditional [on hold]

Everything is working fine, except the <?php has_sub_field('vimeo_id'); ?> line. I want it so that if the user has filled out that field, it displays. Otherwise, nothing shows. However, when the ...
0
votes
1answer
25 views

get_post_custom stripping styling issue

I found this thread: Paragraphs removed when using get_post_custom()? Was hoping someone could either help me a little more though.. My code: <?php $post_customs = ...
0
votes
0answers
29 views

Update the published date of a post to custom field date

I'm not sure if this is possible with WordPress or not. I googled a bit and didn't found any answers. So I need to update the publish date of a custom post type with the custom field date I entered. ...
-1
votes
2answers
40 views

ACF Taxonomy Object term Null [closed]

I'm using the Advanced Custom Fields plugin to place a taxonomy checkbox on certain pages. This checkbox will filter the data that is pulled through etc on that page. Using the example found on the ...
0
votes
2answers
131 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
25 views

Sort by multiple options in custom field

With use of the Advanced Custom Fields plugin I created a select dropdown which contains 6 membership types. All of my 'listings' using this custom field are assigned one of the 6. I'd like to ...
0
votes
1answer
61 views

WordPress custom post type archive with description

I have a common design pattern I'm not entirely sure how to best execute in WordPress. The layout is a listing of post teasers (title, trimmed body, image) on an overview page. Let's say example.com ...
0
votes
1answer
58 views

Wordpress loop based on url sting

I have a search form on my home page that contains ACF custom fields values in the dropdowns. On submit the form goes to /test-results/. On the form I have dropdowns for Price, Region and Title. If ...
0
votes
0answers
24 views

Use meta to match date in WP_Query

I have some posts with a custom filed named "event_end_date". I am using Advanced custom fields for that. How can I get the posts which have end_date older than today? I was trying with this, but ...
1
vote
3answers
34 views

the_content() seems to block my ACF-code

I have this simple code, but can't get the_content and the ACF-code to work together. If I include the_content() it blocks out the ACF-code, but if I remove the_content() the ACF-code works fine. I ...
0
votes
0answers
54 views

Add Custom Field to Custom Post RSS

I have a custom post type called "Podcasts" with a custom field called "podcast." The custom field is generated by the Advanced Custom Field plugin. I am trying to figure out how to hook the feed up ...
0
votes
0answers
23 views

Custom Fields of a custom post within a category list within a page

I need to construct a page containing a list of categories that include a number of posts. Each post has a set of Custom fields that need to be displayed. The hitch: Posts should be selectively ...
0
votes
1answer
38 views

Taxonomies, Adanced Custom Fields and Repeatable Fields

Using ACF I've added a taxomomy with a repeatable field. I've followed the instructions on the ACF support page to get it to output with no luck. I did wonder if the fact that the $taxonomy_name has ...
0
votes
1answer
36 views

Wordpress taxonomy child image

I've set up a hierarchical taxonomy. Each taxonomy has an image field I'm trying to output the title, image and link of child taxonomy on their parent page. I've managed to output the title and link ...
0
votes
0answers
51 views

Post type archive pages with custom query

Apologies if this is something trivial, but I can't seem to get it right and I can't quite find the correct way to tackle this from previous questions. I am building my own theme. I have the normal ...
0
votes
0answers
17 views

Override an advanced custom fields action callback [duplicate]

I'm in the process of writing a CDN plugin for WordPress and am trying to integrate it with the Advanced Custom Fields plugin. I need to filter the output of the "File" field type on the edit post ...
1
vote
1answer
36 views

How can I dynamically add a post to a custom post type which uses a custom field?

I have a custom post type called "patients". I was using only the post title, but now I need to make a relationship with users. I made this by creating a custom post field (created by ACF), a ...
-2
votes
1answer
63 views

How to use ACF repeater? [closed]

I'm using ACF but the get_field option doesn't work when using a repeater field <?php echo get_field('field_name'); ?>
0
votes
1answer
73 views

Admin approval for editing user profile

I was looking for a plugin but to no avail. Anyway, I'm building a custom Wordpress theme using ACF Pro (which works perfectly) and have added a lot of different custom fields for each user (like ...
0
votes
1answer
209 views

dirname( __FILE__) returning wrong directory inside plugin

Inside my plugin I'm adding the Advanced Custom Fields files. Part of including it in the plugin is changing the default directories using dirname(__FILE__). In step 3, include_once works fine. So, ...
0
votes
0answers
79 views

Preview with Custom Post Type Not Working

At this point I have tried everything I know to fix the issue. Issue: preview only works right after a custom posts is loaded or updated. If you make any changes or hit preview twice without updating ...
0
votes
0answers
41 views

Extract custom image URL from category taxonomy

I've attached an image field to the category taxonomy with Advanced Custom Fields which I want to set dynamically as a full width background. I've done this on the category page without a problem but ...
0
votes
2answers
95 views

Problem with wordpress query on page using custom fields

I have a website with the custom post type sammenligne, along with some customfields made using Advanced Custom fields. I have modified an archive site (archive-sammenligne.php) which displays the ...
0
votes
2answers
287 views

Order get_terms using a Custom Field

I have a custom taxonomy of "crb_issues" that has a custom field associated with it that is "issue_date" which outputs a date value for each term to looks a lot like "20140601" yearmonthday. I am ...
0
votes
0answers
40 views

unable to access image attributes in wp_postmeta when looping through posts

I have an issue with accessing attributes of a library image, particularly the "Alternate Text" attribute. I use the ACF (Advanced Custom Fields) plugin to pull back the slideshow image which is ...
0
votes
1answer
171 views

Export Users and their Advanced Custom Fields

I've google it but i am still looking for a solution. Is there a plugin or method to export wordpress users with their advanced custom fields? I don't want to export ACFs structure but users' data.
0
votes
1answer
36 views

Array sorting by custom field date

I want to order the array by a date field called date_start but how do I include a meta key for this if I already have one? $currentshowid = get_the_ID(); $today = date('Y-m-d'); $args = array( ...