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

Advanced Custom Fields plugin : displaying a field while omitting the p tags

In Advanced Custom Fields plugin, is it possible to display a WYSIWYG editor field in which p tags are omitted?
0
votes
2answers
154 views

Advanced Custom Fields repeter field expiration

I'm developing a small online-courses website for a friend and got stuck with ACF repeater field! Here's my code to display the course dates table: <?php $rows = get_field('dates'); $i = 1; ...
2
votes
1answer
3k views

How to create Repeater fields using Advanced Custom Fields?

I'm using Advanced Custom Fields and trying to create a field with the field type Repeater. But the problem is that the Repeater option doesn't appear in the select list with the field types. I can't ...
1
vote
1answer
378 views

Use Custom Post Type as Custom Field

I want to create a custom post type for store that having all store names and it is working. Now I want to fetch the all stores in a select box in every new post of WordPress, then selected store name ...
2
votes
1answer
2k views

Using Advanced Custom Fields with Wordpress and Lightbox

I am using the ACF Plugin. I want to have a field where I can upload an image, and the result will display the full image in the Lightbox and then then full image will be resized into a thumbnail from ...
1
vote
0answers
121 views

Dropdown filter by custom field

I have a problem: I need to add a filter associated to a Custom Field. I installed the plugin "Advanced Custom Fields" and I created a field type "date picker" with key "Fecha-de-Estreno", until here ...
0
votes
0answers
90 views

Custom fields not showing on front-end after xml import

I've just imported 700+ custom posts from one WP install to another using the XML import/export option. Everything seems to be imported fine: the field values are showing in the DB and on the admin ...
1
vote
1answer
113 views

Lock user information once fields have been filled in

Much like the username is locked down and cannot be changed once it has been registered, I would like to lock down additional fields I have created with Advanced Custom Fields like the person's ...
-2
votes
1answer
559 views

How to use Wordpress to embed a SoundCloud download link?

I'm trying to embed a download link for previews in a music site I'm building for a couple of friends. They are currently filling up the system with content and I'm using a SoundCloud iframe HTML5 ...
0
votes
0answers
694 views

Using Advanced Custom Fields plugin's file type “File” to upload from front end

here is my current situation: I already have a custom add/edit form with unique features, so I won't be able to use "ACF's front end form" that will create a form of it's own. For standard text ...
0
votes
1answer
1k views

update_post_meta and update_field ony working when saving the post

I use Advanced Custom Fields (ACF) to store data in a custom field. I had latitude and longitude information stored separately, but I they need to be in one custom field so I made the function below. ...
0
votes
1answer
115 views

Adding new parent item to admin bar

I see many questions have been asked about adding something to the admin bar, but still I can't get a new 'parent' admin-bar item for Advanced Custom Fields to work. The admin bar doesn't show up if I ...
0
votes
2answers
70 views

Custom post type adding additional markup

I'm creating a template but every time I add a new custom post type (in this example neighborhood) it keeps injecting a new <ol> and <li> here is the code I currently have and I'm using ...
0
votes
1answer
914 views

Advanced Custom Fields WYSIWYG More tag

Before describing the problem, let me first tell that I have already searched on google, also read the ACF documentation, support, even asked on their support forum but it's hard to get any kind of ...
0
votes
1answer
250 views

How to Generate html tags using shortcodes?

I am using a widget and adding this: <div id="testimonials"><h4>[acf field="testimonial" ] <strong>[acf field="name" ]</strong></h4> <h4>[acf ...
1
vote
2answers
3k views

Display post_object content using Advanced Custom Fields plugin

I have a hard time figuring out what's wrong with this code. What I'm trying to do: setup up a custom field in admin using the ACF plugin to lists in a meta-box on all pages a list of testimonials ...
0
votes
0answers
346 views

Fatal error: ob_end_flush()

Ive just imported a page via xml. It has a bunch of ACF Repeater Fields (about 100). When I attempt to edit the page I see the following error: Fatal error: ob_end_flush() [<a ...
2
votes
1answer
1k views

Using Advanced Custom Fields in a widget

I've built a widget to show pages from a certain category in a dropdown menu. The page that's selected will show up on the homepage. This all works, except the Advanced Custom Fields (ACF) are all ...
1
vote
2answers
880 views

How to position a custom field before the editor

I have installed Advanced Custom Fields 4.0.1 and created a new Field group containing a single field called preamble. I would like to position this new field before the editor in the posts edit ...
0
votes
2answers
1k views

While loop inside another while loop

OK, so I've read like 20 different articles about using a while loop inside another while loop, but still can't get this to work, and I'm about to burst from frustration. My scenario: using the ...
1
vote
0answers
163 views

posts-2-posts embedding post title of connected posts [closed]

I'm trying to create a default title for all the posts that are created, the title is generated by a couple of things, such as the post fields. I was able to write code for getting the post fields ...
0
votes
1answer
1k views

meta_query with array as value

I am writing some PHP which allows users of my site to submit a form and query posts by their post_meta. Everything works fine except for one thing, I used Advanced Custom Fields to create the ...
1
vote
2answers
636 views

Pull out Advanced Custom Fields in Related post plugin

I'm using Advanced Custom Fields plugin and microkid Related Posts. I would like to display my custom fields inside Related post This is what I got so far? <?php //related artworks $related = ...
0
votes
1answer
602 views

Advanced Custom Fields Plugin - Images not displaying

I am using the ACF purely so the user can upload images to a predefined location and have assigned the page rules accordingly. Everything seems to be fine on the WP back-end, with the three images ...
0
votes
1answer
958 views

How to call function from another plugin?

I am using the Advanced Custom Fields plugin and want to read the value of the custom fields. For dropdown and text fields, this is straightforward as the value is kept in plain text, so the ...
2
votes
2answers
1k views

Pods cms and “advanced custom fields” plugin

We are planning to build a quite big database to store data for our 5000 yearly subscribers association. We were considering pods cms for our needs since it permits a good flexibility in building a ...
0
votes
1answer
42 views

Modifying and Displaying URL's in a Post Template using parse_url

I have a Custom Post Type with a template named single-posttype.php. I'm using the Advanced Custom Fields plugin to display certain information (price and links to the actual product). All that is ...
0
votes
1answer
93 views

Search with filters and title

I would like to search in custom_post by title and by the ACF fields. So, I used the WP_Query WordPress function but I can't filter by the title, just by the filters. When I submit my form, I have ...
0
votes
0answers
59 views

How can i restrict Custom Post Types to Author by Custom Field ID not Author ID

OK, so I can restrict the posts visible to Authors within the admin using the following code: function MY_FUNCTION( $wp_query ) { if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) ...
1
vote
1answer
57 views

How do I run through a Wordpress loop called from a filter function?

So I'm trying to populate an Advanced Custom Fields selectbox with a nice complicated array based off some post data. I've been trying to do this by doing a custom query and loop through the returned ...
2
votes
1answer
1k 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
1answer
415 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
607 views

Advanced custom fields sort repeater by date

I have a repeater field on a page template to show small snippets with a link that needs to be sorted by date (recent 1st). I'm using the current code, but there isn't any sorting in place. ...
0
votes
1answer
152 views

Advanced custom field - posted fields from custom post type

I'm using the Advanced Custom Fields - plugin and I have custom post type called 'course' where some fields from the ACF are related to. I have this code below: function update_course($course_id) { ...
0
votes
1answer
78 views

How to Order Posts by Custom Fields?

Can someone tell me why this is not working: $args = array( 'cat' => '2,39,30', 'orderby' => 'title', 'order' => 'ASC', 'orderby' => 'meta_value_num', 'meta_key' ...
1
vote
1answer
548 views

Operations with custom fields values in a loop

I have a foreach for displaying all the post in one taxonomy filter by terms. I have a custom field for display a numeric value. What I need, is to make two math operation with all the values of that ...
0
votes
1answer
45 views

Custom fields issue [closed]

I installed the plugin Advanced Custom Fields and created few custom fields , but I'm not able to add any content in it. How is this done?
0
votes
1answer
129 views

How to change the background color of my header dynamically based on a Custom Posts types color value?

I've been able to figure out how to include the custom field i'm referencing within an inline style within a div that wraps my header. The problem is that it's in my header and so when a particular ...
1
vote
0answers
1k views

Integrate Custom Post Type Events into Calendar

I've got a custom post type called Events on my site with a custom field called event_date created via Advanced Custom fields that stores its value in yymmdd format. Everything works just fine and I'm ...
1
vote
2answers
2k views

How to customize a divs background dynamically using Advanced Custom Fields Plugin?

I've gotten as far as creating custom post types, custom fields and linking those to templates on this first time WordPress project i'm working on, but i seem to have run into a problem i'm not easily ...
0
votes
1answer
169 views

If you're calling a dynamic css inline style does that div have to be in the loop?

In the code below i reference "the_field( 'bg_img' )" within my first container div. The reason i do this is because i created a custom field (within a CPT) that allows the admin to change that ...
0
votes
2answers
56 views

If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?

One custom post type that i've created has 5 custom fields that display specific content for a template that displays them in different areas on the page. My question is if i would have to create ...
0
votes
1answer
78 views

Multiple loop issue - pull one featured and then continue the loop

I am writing a custom multiple loop to be used on a custom category template page. The loop should put one post that is checked as featured in admin, in a separate div, and continue the loop ...
0
votes
1answer
64 views

Fetch data from a WP page with same name as current username

Ok, so this sounds a little complex, but in theory should be easy. What I'm trying to achieve: ACF data is pulled from a WP page which has the same name as the current logged in user. Basically I ...
0
votes
1answer
127 views

Advanced custom fields - If/ while field problem

The way I am trying to set this up is that if a link has not been chosen then only the image will be displayed, but if a link is chosen as well as an image then I want the link to be wrapped around ...
0
votes
1answer
308 views

Advanced custom fields - pulling data in from another page

Hello I am using advanced custom fields and I am trying to pull data from multiple pages and display it on another I set up a relationship field called "data", and then on page X where the ...
0
votes
1answer
158 views

Styling first post using Advanced Custom Fields

I'm working with a company's About page. I created a custom post type for "Employees", and am using the Advanced Custom Fields plugin to create simple meta boxes for name, title, image, and bio. The ...
3
votes
3answers
266 views

Compare two numeric custom fields

I use Advanced Custom Fields and have a custompost-type "matches". This post-type contains two fields "goals-made" and "goals-against". I want to query wordpress to show only the matches that were ...
1
vote
1answer
219 views

WP_User_Query pulling ACF to loop

I'm using following code to display my users on template <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $paged -= 1; $limit = 100; $offset = $paged * $limit; $args = ...
3
votes
1answer
2k views

Generate Advanced Custom Fields box in custom admin menu page

I have created an custom admin menu page called FCC Youtube with add_menu_page function which has some custom fields I manually generated via HTML and PHP: code ( just the part how I created this ...