**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
4 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
0answers
16 views

ACF Getting first row from repeater field from post object in flexible content

I know the title of my question is a little confusing, so I will first explain what I am trying to do. I have a flexbile content field, where I have made a post object field which is multi select. So ...
-2
votes
0answers
9 views

Apply Element to Filtered ACF Value [on hold]

I'm trying to place an element (corner ribbon) on certain term images in my archive. I'm using Advanced Custom Fields to assign a value to certain terms. The code below however places a ribbon on ...
-2
votes
0answers
16 views

Custom widget to different posts [on hold]

I wanted to create a custom widget for every post. So I add to the function.php this code add_filter( 'widget_text', 'do_shortcode' ); add_shortcode( 'mytext', 'so_13735174_custom_text_widget' ); ...
0
votes
0answers
28 views

Trying to filter WP query with adanced custom fields

I have a site where I output a list of cards with WP query, in Genesis using Advanced Custom fields. This is saved as a template and used on a wordpress page. It works fine until I try to filter it, ...
0
votes
2answers
49 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
50 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
10 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
19 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
20 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( ...
0
votes
1answer
13 views

Insert a field with PREG_REPLACE – strange behaviour

I'm trying to insert a custom field (from the Advanced Custom Fields plugin), and I need to place it within a div which I'm wrapping around an img, right before the img-tag. So basically this is the ...
0
votes
1answer
33 views

Blank content php code not parsing advanced custom fields gallery add-on [closed]

I have blank contents where the content for the act gallery code is. I think there is an issue with the code. < ?php /* Template Name: Images scroll */ ?> <?php get_header(); ?> ...
-2
votes
1answer
25 views

Add image custom attribute [closed]

Im want to use Advance Custom Fields module with Gallery add-on http://www.advancedcustomfields.com/add-ons/gallery-field/ I need to add custom attributes to all images. Like for example paper type, ...
0
votes
1answer
55 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
2answers
52 views

If or/and statement advanced custom fields [closed]

I'm really unexperienced when it comes to conditonal statements with php and unfortunately the documentation of Advanced Custom Fields isn't covering this topic as fair as I know. But anyway, what I'm ...
0
votes
1answer
36 views

The sorting of posts by a meta_query with two keys fails while separated as single queries it works

I have a list of courses I try to sort. For sorting purpose I want to use two advanced custom fields. First a select field class_day containing the days: 1 : Mon 2 : Tue 3 : Wed 4 : Thu 5 : Fri 6 : ...
0
votes
0answers
14 views

Run function after post is updated

I would like to run a function after a post is saved. That function takes a .txt file thats uploaded with Advanced Custom Field file field, makes it into an array to then a json data. I want the json ...
0
votes
0answers
40 views

How to create a dropdown on admin panel and print that value on a page or in a post?

Now I am using a custom field for this purpose. But now my client asking some thing like this. Let's say he has to display a car brand on every bottom of a post. The Car Is : Car Name Car Name must ...
0
votes
1answer
60 views

Included posts on a page searchable

With Advanced Custom Fields (ACF) I added a 'relationship field' to the pages that can select posts from a custom post type. The chosen posts will be come part of the page. Searching with wordpress ...
0
votes
1answer
114 views

Populating content dynamically via AJAX and Advanced Custom Fields [closed]

I am using a repeater field from Advanced Custom Fields to create multiple photo galleries. There are 4 pages and each page has multiple image galleries. Because of this, I want to reduce load by ...
0
votes
0answers
63 views

Datepicker and advanced custom field plugin

I am using a datetimepicker js on a custom form, when selected from the calendar - the date format comes out to be: 24-Jul-2014 I using this string value to update a meta value of a custom field ...
0
votes
2answers
61 views

List of users that clicked a 'Join' button at single post

The title might be a bit vague while I'm not quite sure how to describe it. What I want: At every single post (in this case of post type 'event') a logged in user must be able to click a 'Join' ...
0
votes
1answer
39 views

How can I optimize this code? [closed]

I have an Advanced Custom Fields Checkbox that I'd that I need to do some checks on. If a checkbox is ticked in the back end, it outputs an appropriate image on the front end. I've got some code that ...
0
votes
1answer
35 views

prevent HTML output if custom field is empty [closed]

I am using the ACF plugin for custom fields. I am using this to add a second content area to my website. I have a peice of JS that says if this div is present then add a class to the page-content ...
0
votes
1answer
86 views

Remove duplicated values from a loop

I have a loop that outputs <option> fields for a <select> group. It contains many cities' names for many travel packs that I am publishing. The trick is that I need avoid repeated values. ...
0
votes
1answer
44 views

Filter and display a specific custom field value [closed]

I am developing a travel website for an agency. I'm trying to to make the user able to select an option like "Select your departure" and filter the loop with all the departures available for the ...
0
votes
1answer
92 views

Getting custom taxonomy from custom post type

I have a custom post type called email_block and have a custom taxonomy called block_type. I need to loop through all the email blocks find out what custom taxonomy (block_type) they have. I know how ...
1
vote
0answers
152 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
1answer
59 views

Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis

I've created a custom post type for employee Profiles. The one thing I can't (yet) figure out is how to make custom sidebars for each of the employee's profiles. I have figured out 2 ways to get ...
0
votes
0answers
18 views

Post relationship with custom excerpts for each related post

I'm building a recommendations site, where people can recommend other posts and give their opinion (a short text) on that post. So in the admin, I want to include, on the "Post Edit" screen, an ...
0
votes
1answer
78 views

Retrieve a specific field from taxonomy term through advanced custom fields [closed]

I've set up a custom field which appears in a taxonomy terms page. I am trying pull an image associated with the custom taxonomy term directly However the page in which it is being displayed is a ...
1
vote
1answer
95 views

Display multiple custom post types and sort them chronological by one of their fields

I have four custom post types created with the custom post types ui plugin; each stands for an event type with a different set of custom fields created with the advanced custom fields plugin. My ...
0
votes
0answers
32 views

Get custom value from external database

a non-coder here but fairly competent to put together blocks of code :) I´m trying to build a prototype using Wordpress and one need I have is to connect to one or more different databases to get a ...
0
votes
0answers
137 views

using ACF datepicker to filter posts on a page

i’m using a wp-query to display posts from a category on a custom post type page. it works fine, and I’ve been also abble to sort my posts depending of datepicker field called “date_debut”. my posts ...
0
votes
0answers
53 views

Wordpress and advanced custom fields subcategory inherit category color automatically

Hi is it possible if I added a subcategory and inherit the parent category's color? currently im using advanced custom field plugin. i dont know to show it inthe front end that if the user left the ...
0
votes
2answers
276 views

Query between dates using Date Picker fields

I'm looking to replace an events plugin that i have on my website currently. We realize we don't need a full blown calendar and things like that, we just need to be able to enter in Events with a ...
-1
votes
2answers
23 views

PHP calls to custom fields not being made. Query seems to be blocking them

<ul class="footer_banner_box_container clearfix"> <div id="text-4" class="widget widget_text"> <h3 class="box_header">Our Doctors</h3> <div ...
0
votes
1answer
224 views

Advanced Custom Fields Wordpress querying relationships

Having an issue using the Advanced Custom Fields Wordpress plugin. I've got 2 Custom Post Types pa_supplier pa_supplier_product There is a one to many relationship between a supplier and their ...
1
vote
1answer
61 views

Query Custom Post Types by date (custom field) range

I've seen similar questions and solutions, but so far I couldn't apply it to my code. The following code (functions.php) works perfectly fine: if( isset($query->query_vars['post_type']) ...
0
votes
1answer
649 views

How to upload multiple images on frontend to ACF gallery using update_field

I'm trying to save images submitted on a frontend form in a way that they are accessible via the ACF backend. In how to upload an image on ACF with update_field on wordpress, someone provided a ...
0
votes
1answer
80 views

ACF Relationship Posts how to show additional content

I have created a relationship between my custom posts Work and Talent using Advanced Custom Fields. I am currently showing posts from Talent on my work pages with the following posts: <?php ...
0
votes
0answers
41 views

If statement with two custom post type's but showing only one

I'm trying to think of a way to create an if statement in which it checks if two fields from two different cpt's are the same. Is there a way to do that without showing one of the two cpt's on the ...
0
votes
1answer
39 views

Displays a string of linked images

How do I displays a string of linked images for a post using php? Terms http://domain.com/106.jpg,http://domain.com/109.jpg,http://domain.com/112.jpg <div class="gallery" ><?php ...
0
votes
0answers
135 views

ACF Gallery insert from URL

Have built a gallery using Advanced Custom Fields (ACF) and Flexslider. The slider and images display correctly using the ACF code below. As most of the images will be hosted else where (on an other ...
0
votes
1answer
69 views

Display PHP within HTML values

What is the correct way to display a value in a link using php? The (Advanced Custom Fields) php works correctly outside of the html. Book on Expedia.com <a class="alignright" href="<?php ...
0
votes
0answers
38 views

Default gallery returns as shortcode text not gallery from synchronized custom field

I'm using ACF and Polylang plugins. In ACF I have set up a custom WYSIWYG field where I create default WP gallery. Then in Polylang I have set up that it synchronizes this field across languages. So ...
0
votes
0answers
45 views

Is it possible to pass a date from one Advance Custom Fields options page to another?

I have been trying for a week now to figure this out. I have a site that has numerous ACF options pages. On one options page (Trade Show Details) the start and end dates for a trade show are entered. ...
0
votes
2answers
158 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
1answer
258 views

ACF checkbox array is returning numbers, not labels [closed]

I am using Advanced Custom Fields and the add-on Repeater to create a field in the admin through which a user can select multiple icons. Each icon has an associated label, and I'm trying to return the ...
0
votes
1answer
85 views

Get the type of an advanced custom field (ACF) in a WP_Query loop [closed]

When reading posts with WP_Query how would I get the data type of an advanced custom field (textbox, date, number, repeater, …) ? My code: $loop = new WP_Query( $args ); $posts = ...