Plugin that creates custom fields.

learn more… | top users | synonyms

-1
votes
1answer
92 views

How can i get custom field to apear on my wordpress admin area (post_type)

I had an issue with WordPress posts_type , the custom fields which are normally at the bottom of each post page were missing. At the top of your WordPress post page you will see a small grey box that ...
2
votes
1answer
1k 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( ...
3
votes
1answer
3k views

Qtranslate + Advanced Custom Fields: how to have a multilanguage wysiwyg editor?

This is my setup: Wordpress: 3.4.2 qTranslate: 2.5.32 Advanced Custom Field: 3.5.1 i've also installed qTranslate extension: 1.1.1 but I don't know how/if it works... How can I have a ...
0
votes
2answers
422 views

Programatically re-order images in the ACF gallery add-on. Orderby Title, ID, etc

I have a gallery field using the advanced custom fields gallery addon. This is how I am outputting my gallery fields/images in my theme... <?php $images = get_field('gallery'); if( $images ): ...
0
votes
2answers
3k views

Advanced custom fields - taxonomy terms images

I used the Advanced Custom Fields plugin to add a custom field to my taxonomy. That custom field is an image which is associated with the term. Now I have a page where I display a list of all terms ...
0
votes
1answer
94 views

does acf_save_post cause endless loop?

I am using Advanced custom fields acf_save_post hook in one of my functions. In that function I use the add_post_meta function. Does this call acf_save_post again and cause an endless loop? ...
0
votes
1answer
145 views

Hide/Show panel not showing - ACF

I came across strange thing. I have been using ACF for a quite a long time now and I love this plugin, but I tried to use it for new project and when I create group of fields for my pages show/hide ...
1
vote
1answer
214 views

How to add contents of a custom field to a taxonomy term list?

I have a custom taxonomy term of 'artists' which is the artist's last name and a custom field of 'first_name'. To create a list all all artists with both their first name and last name I am using the ...
2
votes
2answers
174 views

Minimising number of queries on a page when using Advanced Custom Fields

I'm currently working on a site where there is extensive use of the popular Advanced Custom Fields plugin. However, as a result the page loading time can be quite slow, especially when using the ...
0
votes
2answers
369 views

Website loading slowly - Advanced Custom Fields images

I'm currently using get_field with Advanced Custom Fields plugin (see here) to get a single image for search results. The end result is that these pages are loading slow, as I believe this is due to ...
0
votes
3answers
232 views

Adding custom field to an array

How can I add a custom field to an array? To complicate matters, custom field is on the Author's page, not on a regular post. It's added via Advanced Custom Fields. Typically, that field value would ...
0
votes
1answer
1k views

meta_query with array as value

I am writing some PHP which allows users of my site to submit a form and query posts by their post_meta. Everything works fine except for one thing, I used Advanced Custom Fields to create the ...
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
2answers
1k views

Simple Calendar

I'm using the ACF (Advanced Custom Fields) and selected the date picker. I'm wondering if anyone has created a simple calendar plugin that can grab the field and produce a calendar. How should I do ...
2
votes
1answer
623 views

Wordpress Search documentation: how to improve search query using taxonomy terms, custom meta fields?

I'm trying to understand how Wordpress search works. I haven't found much info on the Codex. Arguably, search is not the best WP feature. Even Wordpress.org uses Google Search. I would like to make a ...
0
votes
1answer
1k 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 ...
0
votes
1answer
774 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; ...
0
votes
1answer
330 views

Display the latest content from subpages of another page

I know how to display content from one page on another page. Here is the code I use to display the last three video-titles, submitted to my video-page, on another page (using Advanced Custom Fields ...
0
votes
1answer
254 views

Vimeo thumbnails

I use Advanced Custom Fields to show Vimeo videoes on a site I am creating for a client - The client pastes the vimeo ID (the last letters in the url) in a field, and the video is shown. But I would ...
0
votes
1answer
532 views

Vimeo thumbnails [closed]

I use Advanced Custom Fields to show Vimeo videoes on a site I am creating for a client - The client pastes the vimeo ID (the last letters in the url) in a field, and the video is shown. But I would ...
0
votes
1answer
670 views

How do I retrieve an image's width and height using Advanced Custom Fields?

Using a get_field('sampleImage'), how would I go about in order to get the image's width and height using the ACF plug-in? I need to be able to print out the img tag with width and height attributes ...
1
vote
1answer
143 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
1k 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
157 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
2k 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; ...
2
votes
1answer
1k views

Using Advanced Custom Fields with Wordpress and Lightbox

I am using the ACF Plugin. I want to have a field where I can upload an image, and the result will display the full image in the Lightbox and then then full image will be resized into a thumbnail from ...
0
votes
1answer
670 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
1k 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 ...
-8
votes
1answer
3k 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
338 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
221 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
106 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
162 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
1answer
730 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 ...
0
votes
1answer
591 views

Advanced Custom Fields WYSIWYG More tag

Before describing the problem, let me first tell that I have already searched on google, also read the ACF documentation, support, even asked on their support forum but it's hard to get any kind of ...
0
votes
2answers
3k views

Advanced Custom Fields Plugin: Post Object returns bool(false)

I'm using the Advanced Custom Fields plugin to create a metabox with a list of all posts of specific post type, for the user to be able to select related posts for a page. You can see a simple ...
2
votes
2answers
1k views

Pods cms and “advanced custom fields” plugin

We are planning to build a quite big database to store data for our 5000 yearly subscribers association. We were considering pods cms for our needs since it permits a good flexibility in building a ...
1
vote
2answers
4k views

Show values of custom field created with ACF on a page

Im using ACF to create custom fields. One of them is a list of checkboxes that display some options (option1, option2, option3....). and what i need is to show these options on a page in a list like ...
0
votes
1answer
791 views

How to call function from another plugin?

I am using the Advanced Custom Fields plugin and want to read the value of the custom fields. For dropdown and text fields, this is straightforward as the value is kept in plain text, so the ...
0
votes
1answer
522 views

Advanced Custom Fields Plugin - Images not displaying

I am using the ACF purely so the user can upload images to a predefined location and have assigned the page rules accordingly. Everything seems to be fine on the WP back-end, with the three images ...
0
votes
2answers
1k views

While loop inside another while loop

OK, so I've read like 20 different articles about using a while loop inside another while loop, but still can't get this to work, and I'm about to burst from frustration. My scenario: using the ...