Plugin to create an interface for Custom Fields with flexible data content.
1
vote
1answer
386 views
Returning all radio button options when using Advanced Custom Fields
When using the Advanced Custom Fields plugin for Wordpress,
Suppose I have a radio button field with possible choices:
o Apples o Bananas o Cranberries
How can I return each one of these options ...
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')): ...
1
vote
1answer
1k views
Advanced Custom Fields/User Role Editor - how to hide ACF for certain users?
I am using User Role Editor to specify customized user roles. I am also using Advanced Custom Fields plugin.
I would like to be able to hide Advanced Custom Fields from showing up for certain users; ...
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
1answer
350 views
Pulling Advanced Custom Fields from other pages
Basically I am using Advanced Custom Fields and have an ajax tabbing system that works with the ACF.
The current set up is below:
<ul class="css-tabs">
<li><a class="current" ...
0
votes
1answer
765 views
How to get both image attachment ID and url
I am using advanced custom fields repeater-field to get the image url like this:
<?php the_sub_field('billede'); ?>
But I also want to get the attachment ID for the image, to be used for ...
-5
votes
1answer
976 views
Advanced Custom Fields: how do I check to see if a value is set in an field?
How do I check and see if a value is set in an Advanced Custom Field?
1
vote
3answers
152 views
Saving custom fields to a custom taxonomy
I am trying to create a custom field for a custom taxonomy. update_post_meta works great with posts. Taxonomies are not posts so this won't work.
<?php update_post_meta($post_id, $meta_key, ...
1
vote
1answer
138 views
Faking the “onSave” event
While a specific use-case, I believe this may benefit others.
I am using TurboCSV to mass-import a number of posts into WordPress (which it is doing wonderfully so far). Within that import, I am ...
0
votes
1answer
80 views
Migrated from localhost to server and cannot get custom_fields content anymore
So i migrated from localhost to my server, everything is working but my plugin cannot get the custom fields data anymore.
I get my custom fields this way:
$customs = get_post_custom($nodeid);
...
0
votes
3answers
148 views
Weird problem on if statement
I'm facing a weird issue trying to do what I'm going to explain now.
Context
Plugins I'm using: Custom Post Type UI / Advanced Custom Fields
Functionality:
I have a custom post type called ...
0
votes
2answers
474 views
Show ACF fields only on certain page in the backend
I have created some custom fields with Advanced Custom Fields and set them to appear in my custom post type named X (post type is equal to X).
But I only need them to display on a particular single ...