Plugin that creates custom fields.

learn more… | top users | synonyms

0
votes
1answer
33 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
33 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
21 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
77 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 ...
0
votes
2answers
42 views

Translation to ACF relationship field

I'm building a WordPress site that is supposed to end up with a Danish backend. This works fine for core WordPress, but some plugin makes it really hard to make a complete translation. A problem I ...
0
votes
0answers
40 views

Import Issue (ACF Repeater+WP Ultimate Importer)

I'm trying to import a bunch of data from my DB and there's plenty of fields, now i'm using advanced custom fields, repeaters to be specific. I had to make my own CSV file and I did this by exporting ...
1
vote
1answer
86 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
31 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
2answers
62 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 ( ...
0
votes
3answers
73 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
46 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
21 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, ...
0
votes
1answer
34 views

Best Practice for Changing Custom Fields

I'm using the Advanced Custom Fields plugin for a project I'm currently working on. From what I understand, ACF stores its values into WordPress' Custom Fields. What I wanted to know is what's the ...
1
vote
1answer
86 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
1answer
53 views

Limit search field to just search a custom post type with custom fields

I'm sure this is possible, I just don't think I am going the right way about it. Basically, I have two custom post types (Investigators & Centres), both of which have search forms on their ...
0
votes
0answers
33 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 ...
1
vote
1answer
1k views

Get Advanced Custom Fields values before saving

Basically, I need to alter the info the user inputs into an advanced custom fields textbox before it is written to the database but I don't know how to grab it. I can only get it after it has been ...
0
votes
1answer
99 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
59 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
1answer
75 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
0answers
164 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
13 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
103 views

ACF: post query, hide duplicate values

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
0answers
104 views

Multiple Frontend Filters Using Advanced Custom Fields

I've got a series of custom post types set up, and a large amount of custom fields are linked to these post types via the Advanced Custom Fields plugin. I want to set up a series of checkboxes on the ...
0
votes
1answer
45 views

Advenced custom fields auto fill problem

I need help. I am using advanced custom fields and by using them i am making a new post. But something went wrong when i enter the site where are my end forms there is filled out information. If i ...
1
vote
0answers
36 views

Shortcode default attributes over-riding non-default attributes

I have a shortcode with default attributes. It works fine with the default attributes, but the user-entered attributes do not over-ride the default attributes. Here is my shortcode code: function ...
0
votes
0answers
16 views

How to gather all the pages associated with a template on a register post type?

I am creating a menu in the admin of wordpress, I have pages that are catalogs on two user images load; example I have the catalog A where user pictures load and price of a product a catalog B where ...
0
votes
2answers
95 views

update_field() with repeater fields issue

I’m having a problem with the popular Advanced Custom fields plugin, trying to update/append rows in repeater fields. I’m trying to migrate all data from one table into user meta and I keep getting ...
0
votes
1answer
118 views

Loop over Advanced Custom Fields checkboxes to create dynamic dropdown field on front end

In Advanced Custom Fields, I have a checkbox field with all the provinces of my country. Depending on the product, the client can choose which province that product is sold in from the backend. On ...
0
votes
0answers
49 views

Query posts filter not working

I have created one custom post type which name is villa. In this post type I have added five post and assigned custom field values(mention bellow): Post Name Assigned Fields 1. Chalet ...
0
votes
1answer
71 views

Preferred way to include Advanced Custom Fields in a plugin?

So I am building a plugin for a site that is already using Advanced Custom Fields (ACF). I wonder what would be the best way to include ACF in my plugin? The site is already using ACF, so is it ...
0
votes
1answer
61 views

How to import CSV into Custom Post Type custom fields?

I have created a Custom Post Type and then used a plugin to create the custom fields for that post type. It will display a type of membership: Name Address Zip Website But I am stuck on how to take ...
-1
votes
1answer
50 views

Advanced custom fields if else statement

I'm using the plugin Advanced Custom Fields. The following example code is given on the acf website for if statements. <?php if(get_field('field_name')) { echo '<p>' . ...
0
votes
0answers
67 views

Query Posts Via WordPress URL

I wanted to learn more about querying post types and their custom fields in WordPress. I've got two questions... I've followed this tutorial on Advanced Custom Fields and am trying to understand what ...
0
votes
2answers
681 views

Advanced Custom Fields Plugin: how would I get an image src path uploaded from User Profile?

I have created an Image Upload field for a User Photo in the User Profile section in the wp-admin using Advanced Custom Fields. I realized ACF could do this per this post: Photo gallery on profile ...
0
votes
1answer
37 views

How to use categories in the URL with Advanced Custom Fields?

Using the Advanced custom fields plugin: 1) I want to post to the ACF and use a category just like a regular blog post, but the URL would be: mysite.com/customPost/category/post-name Is this ...
0
votes
2answers
21 views

Outputing Post Object title as a div class with ACF

I have Post Object field set up for pages. What I want to do is to output title of the posts associated with the page as a class of the div surrounding the page listing. But, the code inside the ...
0
votes
2answers
67 views

Advanced Custom Fields if else issue

Ok, I think I have a simple fix here. I'm using ACF to link health reports to specific dogs on a breeder website. But, not all dogs have the same reports, and I don't want to show a dead link if no ...
0
votes
1answer
33 views

Sorting the portfolio by an ACF? [closed]

I have an advanced custom field attached to every item in my portfolio (its another date) and I want to sort my portfolio by this field. Is this possible? I was hoping you could just swap the orderby ...
0
votes
1answer
51 views

Order Custom post type loop by custom field (datepicker)

I know there are a lot of articles and documentation on this but I can't seem to figure it out. I have a custom post type 'agenda' wich is made for events. I want to sort this by the eventdate. For ...
0
votes
1answer
39 views

How to add admin functionality to allow ability to choose different field group to display on webpage using Advanced Custom Fields?

Currently I have a field group defined using the ACF plugin, showing: title and icon and a link, on a specif area of my page. I want to give one of my Content Contributors the ability to choose from ...
0
votes
0answers
56 views

Show/Hide Custom Meta Boxes using any plugin

How can I show and hide the custom meta fields created using Advanced Custom Fields plugin? I want to handle the publish and unpublish of the fields and values from the admin panel. Is there any ...
0
votes
1answer
55 views

wp_update_post based function works on existing posts, but not new posts

I have a function that will update the title of the post based on an 'advanced custom field'. It works on existing posts, but not when I create a new post. When I try and save the post and check the ...
0
votes
1answer
23 views

Showing a post depending on the Custom Field value

<?php if (get_post_meta($post->ID, 'coach_location', true) == "Austria"): ?> ...this works, but manually checking each country and repeating the post content code is getting arduous, is it ...
0
votes
1answer
35 views

How to filter post using custom feild value in shortest and longest duration?

I am working on a video blog. On the front page I have a sort by option. You can try the option at the following link http://cricketclips.net/ Can't figure out how to make the shortest and longest ...
0
votes
1answer
24 views

Only Show an Advanced Custom Fields custom field on a specific template

I am building a site that will rely on Advanced Custom Fields to control the information displayed on a page template. Is there a way I can programmatically show a field (or fieldgroup) only when that ...
0
votes
0answers
49 views

Customize TinyMCE Buttons

I've always used the plugin TinyMCE Advance that lets me drag and drop which buttons I want to show in the Editor. Now I'm trying to set those using my functions.php instead. That way I never have to ...
0
votes
0answers
28 views

Hiding an Advanced Custom Field based on Taxonomy Field selection

I am trying to to show/hide one advanced custom field based on the ACF taxonomy field without any luck. I have tried reworking this example a bit to fit my needs but nothing happens. Any ...
0
votes
1answer
72 views

Querying Advanced Custom Fields

I've been back and forth with this and not able to get my Advanced Custom Field query working. According to the documentation in the link above, this is what my array should look like: $args = ...
0
votes
1answer
48 views

PHP echo stripping formatting in Advanced Custom Fields [closed]

Using Advanced Custom Fields in Wordpress, I have the following code: if(the_sub_field('company_name')) { echo '<strong>Company name:</strong>'; echo '<p>' . ...