Plugin that creates custom fields.

learn more… | top users | synonyms

2
votes
0answers
217 views

Copying Custom Meta Values from existing post to a duplicate post

I'm trying to revise an existing WP plugin BU Versions to accept different custom meta field values from items I've set-up using the Advanced Custom Fields (ACF) plugin. BU Versions will copy over ...
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 ...
1
vote
0answers
71 views

WP_Query with meta_query dosen't return results

I am trying to get list of posts filtered by fields I added using the advance custom fields plugin. I have more fields that I want to use but it doesn't work as I want it to. Here is what the query ...
1
vote
0answers
94 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 ...
1
vote
0answers
30 views

Specific routing for CPT

I'm developing site for art gallery. A have Artist CPT (internal name artsin_artist) which is defined in my functions.php like following: register_post_type('artsin_artist', array( 'labels' => ...
1
vote
0answers
201 views

How to fetch the data from Advanced Custom post when we search specific keyword or field name related to the post?

Actually i have created a custom post type and fetch the data from "Advanced Custom Fields" plugin after then connect to a custom search-form to search only the post data.It works good. But now i ...
1
vote
0answers
201 views

Unique key for each row in a repeater field

Is it possible to have a unique key for each sub fields in a repeater field? I don't want to use the array index, because the array index can be changed, when adding new rows between existing rows. I ...
1
vote
0answers
125 views

posts-2-posts embedding post title of connected posts

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 ...
1
vote
0answers
29 views

Find the first occurrence of a custom field

I was wondering if anyone can help. I'm using the advanced custom fields plugin and I'm trying to find the first occurrence of a custom field by date, so really the newest post which has a custom ...
0
votes
0answers
8 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 ...
0
votes
0answers
18 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
0answers
37 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
14 views

Using advanced custom field in wp post thumbnails

been trying to get an answer to my question all over the web but couldn't find a hint unfortunately. hope someone can help me here: here is my situation: I am using the great "Advanced Custom Fields" ...
0
votes
0answers
18 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, ...
0
votes
0answers
29 views

how to get sub fields using advanced custom fields?

I am a compete beginner with Advanced Custom Fields. I would like to get your help in understanding acf well, most probably a simple question. I have a blog I use acf to categorize the posts. I use ...
0
votes
0answers
16 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
0answers
42 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
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 ...
0
votes
0answers
58 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
0answers
146 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
12 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
0answers
38 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 ...
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
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
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
0answers
48 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
27 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
0answers
19 views

Attaching unique images on common template

I'm building a membership site with enhanced user profiles and multiple profile types. I'm using custom post types and Advanced Custom Fields. I'm using a single template for updating the profile ...
0
votes
0answers
56 views

Advanced Custom Fields: wp_get_attachment_url not working, attachment page says “Missing Attachment”

I used Advanced Custom Fields to add a file upload field to a custom post type. I have the following code in the template for this custom post type: $file = get_field('file'); echo ...
0
votes
0answers
33 views

Display Category only if there are posts of custom type

I need to do a small modification on WP site done by someone else. And my WP experience is close to zero. But I'm comfortable with PHP. Wordpress Version: 3.8 Plugins: ONLY Advanced Custom Fields ...
0
votes
0answers
35 views

Click Swatch, Change Image

I'm using the Advanced Custom Fields plugin and am trying to get a series of images to change when their corresponding Swatch Colour is clicked. Here's what I've got so far for my images loop: ...
0
votes
0answers
66 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
0answers
97 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
0answers
38 views

Using Advanced Custom Fields with Associative Arrays

So, I've got this conversion chart I'm working with, and have stored its values in a simple array, wherein it lists both UK and US sizes: $conversion = array( "2.5" => "1", "2.75" => ...
0
votes
0answers
41 views

Self-added mysql column as custom fields value

I am trying to add a value from a column that I've added myself to the wp_posts table as a custom field. So right now there is a column called 'shares' which holds an int value and I want that int ...
0
votes
0answers
22 views

Using ACF to Link Images to Colour

I'm working on a website, where clicking a colour swatch will change the colour of the image displayed. Essentially I need to upload a series of images with a colour attached to each image. I figured ...
0
votes
0answers
129 views

Custom Post Type and Advanced Custom Fields

I am trying to build a sidebar widget that will query my custom post type called events. What I'd like it to do is query the posts for any post with a matching meta key value that is similar to ...
0
votes
0answers
43 views

How to call one custom field value if another custom field value is equal to today's date

I'm building a website for a school division in Canada, they help organize their days by assigning a school day to each day of the week. There are 5 school days, and so they do not always end up on ...
0
votes
0answers
72 views

Advanced Custom Fields - disable radio buttons checked before

and at the beginning my apologizes for my language skills On my webpage, i created Taxonomy field with single available value (radio buttons) and related with pages. For example when i'm creating a ...
0
votes
0answers
43 views

Updating custom fields with data from the database

I'm having a real problem with updating advanced custom fields (within a custom post type) with data from the database. I have a table in the database called 'wp_company_profiles' with fields ...
0
votes
0answers
23 views

Using mr-image-resizer and Advanced Custom Fields

I'm using Advanced Custom Fields for displaying images in my Wordpress theme, but need to implement the TimThumb alternative mr-image-resizer. Here's my 'standard' code: <?php ...
0
votes
0answers
68 views

add print button to print from admin

Hi & thanks for reading me ! I'm looking for a way to print out the following, from the admin panel ONLY : I've defined customfields using ACF for members, and would like the admin to be able to ...
0
votes
0answers
65 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 ...
0
votes
0answers
432 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
0answers
36 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' ) ...
0
votes
0answers
95 views

How to let users have permissions to upload from the front end in Wordpress

I have a frontend form from using ACF that allows uploads to be uploaded but it only works when I am logged in. I want new users who have never logged in to still be able to upload. How can I ...
0
votes
0answers
128 views

Advanced Custom Fields Repeater sorting by category

Basically in my ACF repeater I have a select field and I want to display the content in sections that relate to the value of the select field..? Example: In the select field I have four options.. - ...
0
votes
0answers
10 views

How to create custom anchore to specific past category with feature image?

I created wordpress website and add 6 statics banner. Now i want to dynamic so i created a add category and add featured image as a banner but dont know how add anchore please give me idea or aany ...
0
votes
0answers
39 views

Trying to combine a variable together

So I am not 100% sure if the is feasible so hopefully some one can point me in the appropriate direction. I am using the Advanced Custom Fields plugin and on my custom page template I am using the ...
0
votes
0answers
487 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 ...