**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
vote
1answer
338 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
11 views

How can I add a custom location rule for theme hybrid post templates in advance custom fields [on hold]

I am trying to add an Advance Custom Fields custom location rule to choose Theme Hybrid post templates. In my functions.php file I have the following code if ...
0
votes
1answer
265 views

ACF | Repeater Add-On Query

Hoping someone can assist as I am new with ACF, particulary around the repeater add-on I am creating a "Postage Pricing" table where this table will consist of 5 columns with 7 rows say. 1st Column ...
0
votes
0answers
25 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
0answers
11 views

Use A site wide variable in multiple pages content [on hold]

Let's say I have a wordpress site with two pages. On both pages I have a irregularly changing piece of information. For example the color of the shirt I am wearing at the moment. I most likely do not ...
2
votes
1answer
2k views

How to Display ACF Relationship Custom Field as Link to Specific Custom Post?

OK. I am reading this ACF tutorials, but I am not getting into this. I have 2 post types: Lists and Contacts. Every List must be related to some Contact, and I use Relationship custom field type ...
0
votes
0answers
10 views

Custom Admin Columns With ACF? [closed]

Does anyone know how to pull in the information from Advanced Custom Fields into some custom columns in a custom post type row? I have the following that displays the column but doesn’t display the ...
0
votes
1answer
39 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
0answers
19 views

Advanced Custom Fields: First option automatically checked with dynamic checkboxes [closed]

I am using the plugin Advanced Custom Fields on my site. I am using this tutorial to automatically generate a list of checkbox options based on a set of repeater values on the ‘Options’ page. Even ...
0
votes
2answers
233 views

Advanced Custom Fields - Relationship post foreach query

I've created a post type, called Package (for news packages), and want to be able to link to specific blog posts and display them on the single-package.php page. I'm using ACF relationship fields, and ...
0
votes
1answer
69 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
26 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
286 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 ...
0
votes
1answer
30 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
2answers
2k 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; ...
1
vote
0answers
25 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
0answers
10 views

Can't get “has_sub_field()” to work in a conditional

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
20 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
19 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. ...
0
votes
1answer
607 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 ...
-1
votes
2answers
29 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 ...
1
vote
3answers
1k views

ACF - Custom fields have dissappeared [closed]

Using the Advanced Custom Fields plugin, my custom fields have disappeared from 'New posts' in the 'Admin' back-end. The fields are also is not listed under screen options either.
0
votes
3answers
406 views

get post id in while loops outputting page id

it's been a while since I used wordpress and I am trying to us e advanced custom fields, I am trying to output the post ID inside a loop on a page, so i can use get_field to output the post contents. ...
0
votes
2answers
69 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
2answers
307 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
1answer
18 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
50 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 ...
1
vote
3answers
30 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
1answer
55 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
2answers
336 views

query to use to link to taxonomy single page

Hi & thanks in advance to those who could help me sot out he below: I have customized my home page, using tpl-home.php to show the authors (eg users...) of the most recent posts - nothing ...
0
votes
0answers
19 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 ...
0
votes
0answers
36 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
21 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
32 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
30 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
2answers
511 views

Validating custom fields before post save

After much unsuccessful searching, I'm hoping someone here can help me out. I am using Advanced Customs Fields (I assume most people are familiar) to create a post from the front end. I want to ...
0
votes
0answers
41 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
16 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
34 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
49 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
55 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
3answers
1k views

Advanced Custom Fields - Check multiple Empty Fields [closed]

I'm building a Directory in Wordpress, and using Advanced Custom Fields for the client to populate the directory entries. One of the sections is for Social Media icons. Using the following code, I ...
0
votes
1answer
137 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
1answer
1k views

How to import CSV into Custom Post Type custom fields?

I have created a Custom Post Type and then used a plugin to create the custom fields for that post type. It will display a type of membership: Name Address Zip Website But I am stuck on how to take ...
0
votes
0answers
60 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
2answers
3k views

Custom Taxonomy Images with Advanced Custom Fields

I've created a custom Taxonomy for a Custom Post Type, and created five or so terms within the taxonomy. I've created a single image upload and assigned it to the custom taxonomy, and uploaded images ...
0
votes
2answers
289 views

Vimeo thumbnails

I use Advanced Custom Fields to show Vimeo videoes on a site I am creating for a client - The client pastes the vimeo ID (the last letters in the url) in a field, and the video is shown. But I would ...
0
votes
0answers
38 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
86 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
171 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 ...