Plugin to create an interface for Custom Fields with flexible data content.
0
votes
0answers
5 views
get_next_post() not working after adding a category with ACF
I work on a wp site with various categories of products. For any single product, this was the code which would yield links to next and previous product:
<?php
get_header();
global $post;
$next = ...
0
votes
1answer
26 views
Advanced custom fields and Slideshow gallery desn't work together?
Im using WordPress 3.5.1 and the twentyten theme.
I'm using advanced custom fields and want to ad a slideshow. I'm using the plugin Slideshow Gallery ( ...
0
votes
1answer
36 views
Advanced custom field - gallery - display one random image
I created a gallery with the "gallery add-on" of "advanced custom field" plugin.
I'm trying to show one random image from the gallery on page refresh.
Here's my code:
<?php
$gallery = ...
0
votes
0answers
27 views
Search with meta_query and tax_query
I'm working on a little database for series based on wordpress. I've implemented a custom post type called "anime", some taxonomies (Genre, a_types..) and a lof of customfields. (based on acf). Now ...
1
vote
0answers
25 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 ...
0
votes
1answer
19 views
How can I get the name of term post meta value which equals term id
I have a custom taxonomy (location) that is being populated automatically by an advanced custom field on user save. The issue is that it saves the term_id in the postmeta meta_value field. When I echo ...
0
votes
1answer
50 views
Filtering a WP_Query meta_query by numeric values isn't working
That was a very dense title.
I have a custom post type "event" which has a Date/Time picker field "event_date" thanks to the Advanced Custom Fields plugin. This Date/Time picker saves a UNIX ...
1
vote
1answer
39 views
Empty Super Cache programmatically (with ACF action)
I regularly use Advanced Custom Fields to create awesome backend interfaces for my clients (as I'm sure a lot of us do…). ACF includes an Options add-on that creates one or multiple global options ...
1
vote
1answer
63 views
Use Custom Post Type to as Custom Field
I am newbie of wordpress as well php programming.
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 select box in ...
0
votes
1answer
38 views
How to autopopulate the Advanced Custom Fields from the submitted form data?
I use this code in the functions.php to autocreate a post after a form has been submitted:
<?php
add_action('iphorm_post_process_1', 'mytheme_create_wp_post', 10, 1);
function ...
0
votes
0answers
68 views
Advanced Custom Fields and Select2 or Chosen jquery
I'm using "Advanced Custom Fields" plugin and I'm trying to use Select2 or Chosen with the post_object field to provide a nice interface for a multiselect.
The only documentation I have found is ...
0
votes
2answers
76 views
Display post_object content using ACF 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 ...
-2
votes
0answers
19 views
Need a custom fields plugin [closed]
If have done a lot of testing, but I cant find a custom fields plugin that supports duplication of custom field groups with wordpress core functions. For example when i have a group of fields with ...
0
votes
2answers
56 views
Remove comma from last item output from loop
(or add comma to all items but the last one...)
Most of the information I have found relates to using a counter within a foreach loop. In this particular situation I am using Advanced Custom Fields ...
0
votes
1answer
18 views
I want to add a custom field in the rss title of each post, but don't want it to be shown on the site
I've seen that other sites have done this but didn't manage to do it myself.
I have certain custom fields for each post and I want one of these custom fields to be shown in the RSS feed in the title ...
2
votes
1answer
131 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 ...
0
votes
0answers
39 views
Check if meta_key exists in wp_list_pages
I have added a custom field (using Advanced Custom Fields plugin) to a page allowing you to show/hide it with a simple checkbox, i want to filter out these pages if a user is not logged in so i am ...
1
vote
0answers
55 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 ...
0
votes
0answers
49 views
ACF - get fields from group
i have been using this code to get all fields from a specific group:
<?php
$GroupOrPostSlug = 'acf_specialgroup';
//or insert the ID of your fields Group.
$groupID='';
global $wpdb;
if ...
-1
votes
1answer
25 views
Is there Plugin To Disable WYSIWYG on certain pages & posts [closed]
I am using advanced custom fields to manage certain areas of content in my page i created few fields but i don't want the wordpress's WYSIWYG editor on that particular post/page.
Is there a plugin ...
0
votes
1answer
43 views
Perform function on publish AND save (not just save)
I am using this function to auto-set a post title based on a couple of custom fields:
function set_event_title( $data , $postarr ) {
if($data['post_type'] == 'event') {
$getdate = ...
1
vote
2answers
91 views
How to position a `Advanced 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 ...
1
vote
1answer
99 views
Advanced Custom Fields Plugin: Get file URL into Parent
On parent page, I've got a grid of custom field values from child pages. All text fields work fine, but I'm having issues with the file URL fields: instead of the URL it returns attachment ID.
Here's ...
0
votes
2answers
114 views
How to Increment ID value within ACF Repeater Field Loop
The code below is meant to display an Advanced Custom Fields Repeater field.
I need to have unique values for the "for" attribute of the Label tag, and for the ID value of the trailing checkbox input ...
0
votes
2answers
74 views
How to create a multidimensional array with multiple loops
I have this loop where I loop through every post of my CPT and fetch the title and the content of each post and put it into an array. That is no problem.
But as it happens I have created a repeatable ...
0
votes
1answer
28 views
Hebrew WP 3.5: plugin activated, does not appear in sidebar [duplicate]
I am trying to create a custom post type with mandatory custom fields. I've followed the Adding Custom Fields to a Custom Post Type, the Right Way tutorial, and installed the Advanced Custom Fields ...
2
votes
1answer
123 views
Display HTML only if Custom Field has a Value
I am working with a plugin called Advanced Custom Fields.
I am looking for help with code for my custom post type template, which is displaying some repeater field data. I have HTML wrapping each ...
0
votes
1answer
47 views
Custom field Search with Relavanssi
The site I'm working on is a talent website that has actors names, headshots, and resume all created with post_title, featured images, and custom fields.
I am using Relavanssi to make my search ...
1
vote
3answers
77 views
Change content before writing to database
I've searched around but I can't quite pin down the answer for this. I am attempting to use the content of a custom field as post_data and save it to the database as such when a post is created or ...
0
votes
2answers
56 views
How to share specific data contained in repeated fields across multiple pages
I have been using the advanced custom fields plugin and very much appreciate its abilities.
I have a page on the website i'm working on called About Us and within that page, there is contained, a ...
0
votes
2answers
108 views
Advanced Custom Fields - Disable Users to Edit Custom Fields
I don't really know how to explain this, so this will most probably not make much sense.
Basically, I made a custom field (drop-down selection) for the Add/Edit User page, and I want to be the only ...
0
votes
1answer
96 views
Display category multi-select with Advanced Custom Felds
I'm trying to have a multi-select where users can select which categories they want in a template. The functionality i want is similar to the "Select" field type but only pulling through categories to ...
0
votes
2answers
51 views
Remove Advanced Custom Fields plugin for client?
I just have a quick question... I am using the Advanced Custom Fields plugin on a site for a costumer, just to get a little more power into it.... but I wouldn't want the client to be poking around in ...
0
votes
0answers
58 views
How to create array of images and titles
I'm trying to find the best way to create a page that has different images and titles of the image on a page within Wordpress so that a user can just add the image and the title and it will then add ...
0
votes
0answers
79 views
Combine Two Plugins to Filter by Custom Taxonomy and Custom Field
I'd like to give my users the possibility to filter the posts by Categories, Tags, and Custom Field values.
Search/filter form would be multiple fields:
Field One
City:[categories with a parent ...
0
votes
1answer
64 views
Using a fallback image with Advanced Custom Fields?
I'm currently using the advanced custom fields plugin on a wordpress site that I'm developing and it is proving very useful.
I bought the repeater addon which had helped me generate a list of staff ...
0
votes
0answers
58 views
Use of both ACF and Magic field plugins [closed]
I am new one to use wordpress when i am use both acf and magic field plugin in one project.it can given Fatal error: Cannot redeclare get_field() (previously declared in ...
0
votes
1answer
125 views
Get the label from ACF checkbox
I feel like this should be easy but for some reason I can't get this to work?
I have several similar but distinct colors in list of products. I need to be able to grap the label to show to the end ...
0
votes
1answer
96 views
Custom size for image uploaded to custom field in user profile?
I'm using advanced custom fields and set an image upload field in user profiles. I'm using this image a few places on the website and need to set a custom size for it on some pages.
If I set ...
0
votes
1answer
51 views
New media uploader hides past attachments in wysiwyg [closed]
I am using the Advanced Custom Fields plugin to add a WYSIWYG field that I have uploaded an image gallery into. After the new Media Uploader WP update I can no longer edit the existing galleries as ...
0
votes
1answer
43 views
Custom Fields help
After read a lot in a lot of sites, finally I was able to do something similar what I was trying (read a lot because I don't know code at all), is the follow:
I want to use a background image for my ...
0
votes
1answer
418 views
Use ACF to display a customizable WooCommerce product add to cart button
WooCommerce is notorious for not being all that customizable (except for templating that is a seriously convoluted process).
So, I am attempting to use Advanced Custom Fields (plugin) to create an ...
0
votes
1answer
41 views
How to share repeated fields across multiple pages?
I am loving the ACF (Advanced Custom Fields) plugin repeater field but I have two pages in my WordPress site that have sections which share exactly the same data.
Obviously one of the key aspects of ...
2
votes
3answers
3k views
woocommerce shop page to use my custom template
Before asking the question I want to tell you that I have already asked the question in http://stackoverflow.com/questions/15025213/wordpress-woocommerce-template-file-overiding
I am using woocommerce ...
0
votes
1answer
61 views
Order post by date with ACF
I implemented a custom post type for a class post. Now every post has a additional date picker called "date_event", my question is: Any have ideas how can i order the post for the last date of the ...
0
votes
1answer
337 views
Advanced Custom Fields and date picker, show posts only if the day is today no matter the year
I've created a site made just with custom fields about famous people in sport.
In the post page I've a born date and a death date field using the data picker.
What I'm trying to achieve is to show ...
0
votes
1answer
65 views
How can I track and output when a field is updated? (currently using Advanced Custom Fields)
Trying to work out how I could track the time that a field was updated and display that time on a page.
So far:
Using advanced custom fields and the options page the user updates some fields
What ...
0
votes
2answers
114 views
Advanced Custom Fields - Check multiple Empty Fields
I'm building a Directory in Wordpress, and using Advanced Custom Fields for the client to populate the directory entries. One of the sections is for Social Media icons.
Using the following code, I ...
0
votes
1answer
41 views
Specific website content
I want to design a website that, in addition to the usual parts like blog, contact us, image gallery, etc., has another part for books and articles. The admin must be able to enter book and article ...
0
votes
1answer
72 views
Conditional Custom field with foreach
i use use this code to set slider in header with CF, how i can disable when CF is empty or set another CF key to exclude it?
<?php
$custom_fields = get_post_custom($post_id);//Current post id
...
