**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
37 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
163 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
59 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
87 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
107 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
83 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 ...
0
votes
0answers
71 views

Display different category template if custom field is checked

I am a big fan of Advanced Custom Field by Elliot Condon http://www.advancedcustomfields.com/ This is what I am trying to chive without success so far: I have a website with posts and archive.php ...
0
votes
1answer
96 views

filter wp_query result with custom field values

I'm getting started with advanced custom fields. I have a category field (main_category) where the categories given below are selected using the radio buttons. 1. Electronics 2. Programming 3. ...
0
votes
0answers
95 views

Migrating data from ACF to WordPress custom meta boxes

I’m currently re-developing a theme for WordPress Multisite. The homepage and gallery template both use the Advanced Custom Fields plugin. So I can fully maintain the theme moving forward, I would ...
0
votes
1answer
350 views

Get all fields inlcuding “ACF” (Advanced Custom Fields) columns in wp_query

When retrieving posts with wp_query how do I make the loop contain the acf fields? $args = array( 'post_type' => $postTypes, 'posts_per_page' => $numPosts, ...
0
votes
0answers
67 views

how to load custom single.php?

Hi I have a blog where the categories are news, events and inspiration. These categories are selected using radio buttons on acf. I want to load news on single-news.php while events on ...
0
votes
0answers
84 views

Display “Today” Instead of Date for Pubslished Posts

I have a list of 'post_status'' => 'future' which are published at certain dates throughout the year. These posts are custom posts whith Advanced Custom Fields. Since a couple of days I'm trying ...
0
votes
1answer
188 views

ACF plugin categories bug in WordPress 3.9

i recently started using ACF plugin, i noticed that variables for custom fields i created and use in categories are saved in ‘wp_options’ tables, and although i am doing everything right they do not ...
0
votes
2answers
211 views

How to query categories with Advanced Custom Fields?

I'm currently using Advanced Custom Fields and I was wondering if anyone know how to filter categories by custom fields? I have a custom field in my categories using the checkboxes field. I want to ...
1
vote
0answers
254 views

Query by 2 values of a repeater ACF field

Let's say I have a custom post type called Film, with a repeater field called Showings, with fields start_datetime and discount. I need to make a query for those Films that have at least one showing ...
0
votes
2answers
344 views

Comparing arrays with meta_query in pre_get_posts

I'm working on a form for filtering a list of posts using custom fields created with the Advanced Custom Fields plugin. Because of the form, I'm using the pre_get_posts action to change the query via ...
1
vote
1answer
197 views

Advanced Custom Field - displaying only 1 post- how to get all posts displayed

I have two post types: post type = stores which has a title and custom field (by ACF) storeurl. I have another post type called books with just title and custom field bookcode (by ACF). I ...
0
votes
0answers
49 views

Alphabetising a list of Meta Terms from Advanced Custom Fields

I'm struggling with this, but I'm hoping that I have just looked at it too long... I'm calling a list of custom post_type titles through into a drop down on another post. They have been associated ...
0
votes
0answers
91 views

Building large multi-section pages with Advanced Custom Fields

I'm just beginning the build on a site which has long-form pages broken up into multiple sections. Each section should follow one of a limited number of formats - e.g. 3 column, 2 column, full-width, ...
1
vote
0answers
718 views

Advanced Custom Fields google map [closed]

If anyone ever tried to work with advanced custom fields - google map fields and make a big map with lot of markers like this exmple: ...
1
vote
1answer
82 views

Can I wrap an unordered list inside a shortcode?

So, I created an events page for my client that holds lots of details about events. We found no particular event plugins to be helpful for their purpose, so I built a a custom template using advanced ...
3
votes
1answer
210 views

Filter next_post_link() and previous_post_link() by meta_key?

I have a page with two sections, each uses a different WP_Query() to pull in events, which are a custom post type. Each WP_Query() queries a meta_key for the event date so that Section 1 only displays ...
0
votes
2answers
126 views

Setting a custom $query->query_vars['meta_key'] breaks the WordPress menu

First of all, my problem is very similar to this one: http://stackoverflow.com/questions/10629245/wordpress-menu-disappears-when-query-query-varsmeta-key-is-set However, the answer accepted for this ...
2
votes
1answer
114 views

WordPress meta_query and order by custom field

I have a Custom Post Type called "Films", with a Repeater field called "Showings", which have a field "start_datetime" of type DateTime... I want to perform a query to get all those Films with a ...
0
votes
1answer
225 views

ACF plugin -have_rows the_row get only DISTINCT values

I have a question related to taxonomy terms and acf repeatable post object. I have a terms from multiple taxonomies who has linked repetable field with post objects. There can be situations, when ...
0
votes
1answer
40 views

Basic do shortcodes question

I used WordPress codex page to code. As you can see I have 2 PHP codes in my line. The page is able to get the code's value but it doesn't obey the CSS rules, which I believe, because I inserted my ...
1
vote
0answers
133 views

Advanced custom fields plugin limit number of fields in the group to 64 [closed]

I have a problem when creating more than 64 fields in the fields group using plugin "Advanced custom fields". I've already found out that problem is in saving of new fields not in loading from ...
0
votes
1answer
117 views

Get All In One SEO Pack to use custom field instead of Content

I'm having an issue with a custom theme whereby All in One SEO pack isn't auto-generating descriptions because I am using a custom field to enter the main body of the page/post. Is there way to ...
0
votes
1answer
61 views

Remove Post if Advanced Custom Field is checked to fix paging

I'm trying to setup a query that filters through posts and removes ones that have an ACF field "archived" checked. Post queries are pretty foreign to me. ...
0
votes
1answer
290 views

Using WP meta query to show custom post types by a start and finish date

I have a custom post type called 'events', I have a page which displays events by each month. Each event has a start_date and finish_date custom field (using advanced custom fields plugin) which ...
1
vote
1answer
176 views

the_content() not outputting anything (Advanced Custom Fields)

Hi i'm using the custom post types UI and advanced custom fields plugin and would like to use the default content editor as one of my fields for a custom post type. When i use the_content(); in the ...
0
votes
1answer
348 views

Advanced Custom Fields | how to use conditional statements in repeatable group display

Hi there, I'm just getting started with ACF and writing php statements. Although I've been working with them for a little while I'm still building confidence. My aim To display a block of code if a ...
0
votes
0answers
34 views

Get title of custom fields created by “Types” plugin

Dealing with a large website I have more than 10 custom post types, around 400 custom fields for totally dynamic site grouped in 200 categories created with "Types WordPress plugin" But when I am ...
0
votes
1answer
52 views

Top menu disapears in Category Pages when filtering using ACF

I am using ACF (Advanced Custom Fields) and filtering the results using the method they posted on their website. ...
-1
votes
1answer
123 views

Pagination Broken on Loop using ACF

http://dthudson.com/ccr/archive-issues/ The paginated pages are being populated by the content as you can see at the bottom (beneath the posts) but when you click on '2' for instance it loads page 2 ...
0
votes
1answer
41 views

Pulling in content from another page [closed]

I'm using advanced custom fields and Im trying to pull content from sub pages onto the homepage The below works but I was wondering whether it was possible to do this automatically and not write ...
0
votes
1answer
299 views

Query by radio button ACF

I am making a page template that should display custom post-types that have meta value that matches the page title. Meta value is added trough Advanced Custom Field radio buttons, but the query is not ...
1
vote
1answer
241 views

Advanced Custom Fields - Query Efficiency

For testing purposes I have edited page.php to have nothing other than: <?php while ( have_posts() ) : the_post(); ?> <h1><?php the_title(); ?></h1> <?php $site_options = ...
0
votes
1answer
103 views

Adding a custom field to do_shortcode [closed]

I think this will be pretty easy to answer...My php knowledge isn't great! I have used the Advanced Custom Fields plugin to create an 'add Slideshare shortcode' custom field in my page. The user ...
0
votes
0answers
99 views

Populate WYSIWYG field with ACF choice

So, I have a custom post type that uses a flexible content field containing a post object field and a wysiwyg field. The post object is to choose a post from a selected post type. After you choose ...
0
votes
1answer
56 views

Save something to global var in add_filter

I am here again with a strange question. First, I'm using ACF plugin for adding cistom fields. My code looks somethink like that: global $testMe; $testMe = 0; function my_acf_update_value( $value, ...
1
vote
1answer
219 views

Advanced custom fields: Customise date picker's start date (need to choose year 1500 onwards) [closed]

In Advanced custom fields, I would like to customise the date picker so that, ideally, I can only select a year in the 1500s/1600s but at the very least allow the datepicker to go back to the 1500s. ...
0
votes
0answers
76 views

Gettext for custom field checkbox values

I have a custom field (created with ACF) that allows the author to choose from several options (in admin) and where these choices are displayed on the front-end. The code producing the custom field is ...
0
votes
1answer
1k views

how to get posts by custom post type then display Custom fields?

I have custom posts types for Recipes, and within that I have set up Advanced Custom Fields (from the plugin.) Within, that custom post type, I have several categories. Two questions: 1.) How do I ...
0
votes
0answers
240 views

Function that get ACF fields value before saving

Rewrited question: There is a similar question HERE but I don't know how to combine it with my code. I have a function that relay on acf checkbox field. It is working fine but I have to update the ...
0
votes
3answers
211 views

Add posts select checkboxes field using Advanced Custom Fields

I have two custom post types called hotels and rooms. Users can register to my web site and they can add their hotels and rooms from their wp backend. so my problem is when they are adding hotels they ...
0
votes
0answers
774 views

Custom Post Types vs. Advanced Custom Fields (with Repeater Field add-on)

My goal is to give end users on my projects the maximum amount of control without making them work with any code. I've been using Advanced Custom Fields ("ACF") along with the Repeater Field add-on ...
0
votes
0answers
24 views

HTML markup output issue if a custom excerpt is pulled from an advanced custom field

I've used a custom excerpt function to get an excerpt from an advanced custom field. The function inside functions.php looks like that: function custom_field_excerpt($title) { global $post; ...
0
votes
3answers
283 views

ACF: post query, hide duplicate values [closed]

I'm querying an ACF field, and displaying all the results on the front-end like so— PHP: <ul class="category-menu-items"> <?php // args ...
0
votes
2answers
112 views

How to display a number of posts based on a Advanced Custom Field (ACF)

I have the following code working fine in my theme: <!-- Modify query object --> <?php query_posts('showposts=5&post_type=news'); ?> <!-- Start the Loop --> <?php if ( ...