Plugin to create an interface for Custom Fields with flexible data content.
0
votes
1answer
118 views
Adding class to last list item? Not WP generated
this one has been getting me for a while. At the moment I have a repeater field with Advanced Custom Fields:
<ul id="servicelist" class="clearfix">
<?php if(get_field('homepage_service')): ...
0
votes
0answers
6 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
2answers
373 views
Advanced Custom Fields - category image
I'm trying to get an image for I previously assigned to a category using ACF.
here's what I'm doing:
$category_image = the_field('cat_small', $linkedcat);
where $linkedcat is something like ...
0
votes
1answer
421 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
27 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
37 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 ...
0
votes
2answers
244 views
How to get custom image field of specific post id
I have a page where I'm pulling in content from another post, outside of the loop.
I've been successfull at getting the content of the specified post, but I cannot get the image from a custom field ...
0
votes
1answer
126 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
304 views
Advanced Custom Fields Array Population
I'm trying to populate a ACF select field with an array from a custom $wpdb->get_results call, which is essentially a list of categories from my db.
I have the following:
global $wpdb;
...
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
105 views
Sort by page information by Ascending Numbers
Basically I have a problem that I have details being pulled from advanced custom fields and I currently have them ordered by page title in ascending order.
However, instead of ordering them Ascending ...
2
votes
1answer
528 views
Loop with array of posts using 'Advanced Custom Fields' plugin
i'm getting in trouble using Advanced Custom Fields (acf) plugin. I'm using the 'Post Object' using more less this code:
<?php
/*
* View array data (for debugging)
*/
var_dump( ...
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
20 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
51 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
64 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 ...
2
votes
3answers
386 views
Advanced Custom Fields - Check if multiple get_fields exist?
I can only really seem to find documentation on wether one get_field exists or not.
Is it possible to put multiple get_field's into one variable and use that variable to check if any of the singular ...
0
votes
0answers
69 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
1answer
113 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 ...
0
votes
2answers
77 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 ...
0
votes
2answers
265 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
579 views
Custom field with Types: get custom field's value label (of type select)
We use the Types plugin to setup different custom products for a client. A certain custom post (product) contains some custom fields which is a drop-down select. When creating a new product of this ...
-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 ...
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
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 ...
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
56 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
102 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 ...
1
vote
1answer
757 views
Using Advanced Custom Fields with Wordpress and Lightbox
Right basically, I am using the ACF Plugin:
( http://www.advancedcustomfields.com/docs/code-examples/ )
I want to have a field where I can upload an image through the custom fields, and it will ...
0
votes
2answers
115 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 ...
2
votes
1answer
125 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
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 ...
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
110 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
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
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
59 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
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 ...

