Plugin that creates custom fields.

learn more… | top users | synonyms

-1
votes
0answers
9 views

Looking for help with ACF fields not showing on a wordpress custom taxonomy page [on hold]

Hi I'm having trouble showing ACF on a custom taxonomy page. The custom tax is 'destinations' with the page being taxomony-destinations.php the field is called 'destination_landing_image. I'm trying ...
-2
votes
0answers
20 views

-Advanced Custom Fields- Show the content only if the user is in an array [on hold]

this is a follow up from this question : Using a custom field value as current users name I opened a new thread because the question I'm asking is slightly different from the original.. I have used ...
0
votes
2answers
30 views

ACF PHP foreach loop, different queries returning the same result for $term->name

Using Advanced Custom Fields, I have created a repeater that contains sub_fields 'name', 'image', 'description', 'file' and 'category' ('category' being a custom taxonomy) Using a basic php foreach ...
0
votes
1answer
31 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
0answers
11 views

How can I add taxonomies to ACF gallery? [on hold]

I'm trying to make a user friendly back end so that the admin can upload multiple images and update their meta easily. Custom fields show up when you click images however media tags/cats don't show up ...
0
votes
3answers
32 views

ACF: Filter Terms by Custom Field? [on hold]

I'm using the Advanced Custom Fields plug-in. I have a a custom 'select' field applied to a taxonomy within a custom post type. I would like to "query" - based on a custom field value of 'Active' or ...
-1
votes
0answers
18 views

ACF fields all work except repeater… [on hold]

I'm not getting any errors but I'm trying to get a repeater field via this method: while(has_sub_field('minimum_rate')): ?> Starting at <strong>$<?php echo get_sub_field('rate'); ...
0
votes
2answers
48 views

If or/and statement advanced custom fields

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
32 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
13 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
29 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
54 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
46 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
58 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
28 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
60 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
43 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
58 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
100 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
42 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
13 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
54 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
80 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
29 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
102 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
43 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
192 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
140 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
58 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
479 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
58 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
36 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
37 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
103 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
63 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
34 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
42 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
113 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
185 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
77 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 = ...
0
votes
0answers
89 views

Advanced Custom Field Saving Data on User Repeater Fields After Form Submission

I created a form that has two field, amount and project, how do I make gravity form update ACF User Repeater subfield create a new row based on the amount and project sent via form. I am able to do it ...
0
votes
1answer
34 views

wp-includes does not contain a feed template

Using Wordpress 3.9, I'm trying to create a custom feed template for a custom post type, which will include some custom fields. Idea is to use this feed to to send out a "newsletter" type email once ...
0
votes
0answers
129 views

Get post id of permalink for a specific custom post type?

I have custom post type called Personnel. I have this code to show a specific post ("details" page for personnel) (resides in children themes folder of Oxygen and is called single-personnel.php) ...
0
votes
1answer
56 views

Slashes stripped in ACF

Use ACF pluging to save a windows path like this : c:\users\thanassis\photos using a text field. The ACF saves this : c:usersthanassisphotos as path except the character \. If I use this / it's ok. I ...
0
votes
1answer
73 views

Check for duplicate custom field value before running wp_insert_post

That is, I want to prevent 'guid_review' ACF value being duplicate by checking it before creating the post. foreach ($items as $itemKey => $item) { $myPost = array( ...
0
votes
2answers
88 views

advanced custom field Show field in special categry page [closed]

I am a big fan of Advanced Custom Fields plugin http://www.advancedcustomfields.com/ I developed a site where there are 2 types of categories: normal and “custom” most of the categories display ...
0
votes
1answer
80 views

Prepared statements used incorrectly in ACF?

I've just updated to WP 3.9 and it returns a warning when using placeholders incorrectly. I've found some prepared statements written incorrectly, but I really got worried when I saw this in the ...