**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
2answers
32 views

ACF check if variable has http, if else return string

Trying to check if $link has http:// in front of it or not. If someone puts in www.google.com for the link field it acts as a link within the WordPress site, ie: www.website.com/www.google.com. $link ...
1
vote
1answer
32 views

Filtering from advance custom field data

I want to achieve a schedule plan in my front-end. I cannot view information based on the Day. For example in the backend, a row is for Tuesday but its rendering on the column of monday in the ...
0
votes
1answer
67 views

Different body image backgrounds on different pages, posts and categories

I am trying to implement the ability to choose a different body background image to different posts, pages and categories. I am using Advanced Custom Fields to add an image field to every post, page ...
0
votes
1answer
45 views

ACF Relationship - Get Parent's Post Object

I've a few post that have ACF relationship field set up : - Post A - Post A1 - Post A2 - Post A3 Post A have a relationship that link to : Post A1,A2 & A3... Post A1,A2,A3 have their own post ...
0
votes
3answers
33 views

Custom fields vs. Custom post types for a Portfolio Website

The Problem : I need to make a website of my Portfolio using Advanced Custom Fields and Custom Post Types UI plugins. Approach 1: Make a seperate post type for each Portfolio type (photgraphy ...
1
vote
0answers
36 views

Using Advanced Custom Field for file upload, how do I load the file url

I'm trying to make a link to the file I uploaded with ACF so that it goes right to the pdf viewer from the Read More link, but I am getting an error here is the code <div class="col-md-6"> ...
1
vote
1answer
58 views

Last modified field for user profile?

Is there a plugin or a known way to track user profile changes and save a last modified date in Wordpress? I tried with ACF, but it doesn't have an option to auto update this field. Thanks in ...
-2
votes
1answer
58 views

Advanced custom fields and post types

I've made a quick plugin to be used for one site only (over several domains, but same theme, plugins and content). On one of the sites I'm getting an error saying Warning: call_user_func_array() ...
1
vote
6answers
4k 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
20 views

Ordering get_terms with ACF not displaying all terms

I'm making a shortcode to return all the terms in this taxonomy. The terms are sorted with krsort by the custom field 'height' made from ACF. I'm following this answer from here. The problem is it's ...
0
votes
1answer
20 views

Update the value of every page's content editor with the value of an Advanced Custom Field on that page

Problem: I imported posts from an old Wordpress site to a new Wordpress site. Previous developer used an ACF field in replace of the Wordpress content-editor on post pages. I want to transfer the ...
0
votes
1answer
721 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
202 views

How to update custom taxonomy meta using ACF update_field() function or any other wordpress function

I'm trying to update the Advanced Custom Fields meta value associated with a custom taxonomy term $term_status = wp_update_term( $rate_id, 'rate', $term_data ); $term_id = ...
1
vote
2answers
155 views

ACF Custom Field WP_Query, but need to get all posts, if field doesn't exist

I have a custom ACF field set on all posts, called event_date, I would like to grab all posts within a given category, but have posts that have event_date defined put first in DESC order of ...
1
vote
2answers
55 views

The loop seems stuck to a single (now deleted) post

At first I thought it was an ACF problem, but printing some values helped me to find out that somehow my Loop seems stuck on a single post, but only when some fields are concerned. To sum up my ...
0
votes
1answer
178 views

How to display product price of the product in loop

My general question is: how to display product price in woocommerce of a product in a loop, not the price of the product which page it is? In other words I would like to display few related products ...
1
vote
0answers
27 views

automatically set “Featured Image” the same as the og:i that is set in a custom field

I currently have a site that uses the "custom fields" feature to set the value of the meta property="og:image" for each post. All of my og:images are stored on an external server. I'm looking for a ...
0
votes
0answers
31 views

Is there an efficient way to query posts's ACF gallery field?

My setup is as below. Custom post type > Page > Custom field (Gallery field) [only one gallery per post] And below is the code that renders all the galleries from the posts on a ...
0
votes
1answer
21 views

Unkown meta_value in ACF

I'm using ACF, but I wonder the meta_value means? Below is a snippet from my database: meta_id post_id meta_key meta_value 9394 4661 _carousel_0_image field_5683f27fd880e So what ...
1
vote
0answers
19 views

Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)

As title reads, I am trying to list specific custom tax's terms in a custom post type archive's page. My setup: Custom post type: 'podcast' Custom Taxonomy: 'showname' -> Custom Field for above ...
4
votes
1answer
71 views

Advanced Custom Fields Multisite Upload/Imagery Issue

OK, so I'm using: WordPress 4.4.1 (the latest version at this time) Advanced Custom Fields PRO v5.3.3.2 (the latest version at this time) I'm having a very strange issue that I cannot seem to fix. ...
1
vote
0answers
19 views

Search Tool only refreshes Page without showing results

I have a search tool that allows you to search plants based on multiple different taxonomies (Color, soil type, type, ect.) Each plant is set up as a post using ACF. You can search for plants based on ...
1
vote
1answer
35 views

Having issues with a foreach inside of a shortcode with ACF gallery

Normally I would just put this type of content in a template, but the way I'm pulling in the content is a bit different. I made a shortcode which I've been having issues with. It's using Foundation ...
2
votes
1answer
80 views

Adding a body class with ACF

I have created a radio button field with ACF so that admin can specify a colour. E.g: blue : Blue pink : Pink I'd like this to be output as a class via <body <?php body_class(); ?> in ...
8
votes
1answer
543 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
32 views

How can I add my ACF field into another plugin's form

How can I add my ACF field into another plugin's form? I tried this but this does not work <div class="input-group"> <label for="deal_title"><?php _e('Deal title', 'wcd'); ?> ...
0
votes
0answers
40 views

Change flexslider bahaviour according to page width

I have a flexslider that displays photos from an Advanced Custom Fields gallery field on posts with gallery post format. Now, there are different post template widths that the user can choose. For ...
0
votes
1answer
232 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 ...
7
votes
2answers
14k views

Display all values of custom a field created with ACF on a page

I'm using Advanced Custom Fields / ACF to create custom fields. One of them is a list of checkboxes that display some options (option1, option2, option3...). Now I want to display all options of ...
0
votes
0answers
106 views

How to load custom post type plugin after acf options page (or get settings from there another way)?

I use a custom made plugin to load a custom post type. And i use acf plugin to add custom fields to that post type. Also, i use the acf plugin to add a theme options page with that code in my ...
0
votes
3answers
1k 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
1answer
101 views

Display List Of Posts Containing a Relationship Field Value [ACF]

I have a post type called 'Writers' and another post type called 'Documents'. I use the Relationship field in Advanced Custom Fields to link a list of Writers (post objects) to a Document. This means ...
0
votes
0answers
16 views

Best Practice - Multiple Templates & append Posts

I'm new to Wordpress and I've Html/Js/Php Knowledge. May I know is this a correct way to develop a custom theme site? I will have multiple templates files like : home,about,contact-us templates ...
2
votes
1answer
57 views

get_field not displaying my custom field value

I'm asking regarding the ACF plugin (Advanced Custom Fields) I'm working on creating a category group that will add custom fields to the category pages. These are the fields: They seem to work in ...
3
votes
2answers
337 views

Filter by custom field in custom post type on admin page

I've used Advanced Custom Fields to create custom fields for Competition name, answers etc. I've made a custom post type for competitions as shown on the image and I used Wordpress functions.php to ...
0
votes
1answer
17 views

Advanced Custom Fields [closed]

I am trying to call a field and it's heading on a post type. I want to call headings only if there is content in the field. I'm really new to PHP and am unsure how it all works. I have added the ...
3
votes
1answer
157 views

importing third party json feed as custom post type [closed]

I have a third party json feed http://feeds.artlogic.net/artworks/artlogiconline/json/ that i need to use to import data in wordpress as a custom post type called "artwork". Are there are handy ...
0
votes
1answer
45 views

Retrieve value of a category's custom field

Using the 'Advanced custom fields' plugin I have added a field to every post category that is called 'color' and it works just fine. Now inside the loop I need to retrieve the value of the 'color' ...
0
votes
2answers
59 views

Add up values from ACF number field

I have a page where I'm calling event titles based on the current user. I'm calling them into a table and associating a 'credit' with each event. The table gets populated with the events and ...
0
votes
2answers
662 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
0answers
44 views

How to update existing post with ACF by Front End?

i wrote this code to publish a post by front end, now i would update post if i have a one. The publish works fine but i'have the problem with the update, i can't retrive any data for the current ...
4
votes
4answers
13k views

Advanced Custom Fields select field : How to echo the label, not the value?

I am using the wordpress Advanced Custom Fields plugin. This question is about the select field, and in the documentation only tells me how to output the value, not the label/name. I can't see this ...
-1
votes
1answer
580 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
1k views

Order by custom field date?

I've created a category "Expire Soon" and i want to insert and sort the posts by custom field "expiration_date". I use this code but the posts are sorted by custom field "expiration_date" but not by ...
0
votes
1answer
683 views

Shortcode strips formatting and returns at content top

Using the Advanced Custom Fields plugin and I've got a shortcode going for a repeater field, but it returns the list at the content top. I changed it from an echo to a return, which I understood would ...
0
votes
0answers
32 views

Events Manager past events and ACF relationship query

I am trying to get Events Manager to work better with Advanced Custom Fields I am using the ACF relationship query to pull in a set of posts and events together on the homepage of my website. These ...
0
votes
0answers
30 views

Display Advanced Custom Fields with function

I'm pretty new to PHP and currently struggling with the following: I want to have a custom post type with custom fields. In a custom function (so I can use it on any page) I want to display the ...
0
votes
1answer
157 views

Help using acf/save_post hook to connect to Untappd API and update_field [closed]

What I am trying to accomplish is: when I save a or update a post, I want to access the Untappd API, grab a link to an image, and update an ACF field with that link. I am attempting to use the ...
1
vote
1answer
89 views

Rewrite Wordpress URL to show CPT meta field data

I'm stuck in need of a rewrite rule. I have set up a custom post type for 'Books', each book has a repeatable field (using ACF Pro) for chapters. I have added a query_var for chapter using the code ...
0
votes
0answers
17 views

Creating a custom form with a repeatable row and conditional showing of fields

Would love some guidance. We tried Advanced Custom Fields (ACF) and hit a snag. Basically in a custom post type, we want to create a repeatable set of items. When an end user adds a repeatable item, ...