Plugin that creates custom fields.

learn more… | top users | synonyms

0
votes
1answer
54 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
242 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 ...
2
votes
1answer
1k views

Advanced Custom Fields query

I have, hopefully easy question. I have my query here, which is using ACF <?php query_posts(array('post_type' => 'our-clients-list', 'posts_per_page' => 1, 'order' => 'DSC', 'orderby' ...
0
votes
1answer
252 views

How to show animal lineage/pedigree in WordPress?

I need to show the pedigree or lineage of an animal in my wordpress site. Currently I have the animals set up as custom post types, with data inserted using the amazing Advanced Custom Fields plugin. ...
0
votes
1answer
45 views

Custom fields issue [closed]

I installed the plugin Advanced Custom Fields and created few custom fields , but I'm not able to add any content in it. How is this done?
2
votes
1answer
82 views

Show custom field from custom taxanomy term on custom post type

I need to show a list of custom taxanomy terms assigned to the current post type with a name and a custom field. (Created with Advanced Custom Fields) Currently I use the following code, to show a ...
0
votes
1answer
287 views

How can i count the images that are atacht to NextGEN Gallery

How can i count images form NextGen Gallery, the NextGen Gallery is insite a custom field. Custom field for NextGen Gallery is " poze " I search for it, i found this NextGen - Display Image Count ...
0
votes
1answer
376 views

Querying posts by latitude and longitude to build a Google Maps with several markers

I have 4 different post types and 4 differey taxonomies Each term for each taxonomy stores a marker (url to a png icon). Each post has coordinates attached with Advanced Custom Fields and I'll ...
1
vote
0answers
31 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
1answer
168 views

Custom Post Type Loop breaking php

My While loop is breaking the rest of my PHP on the site. Below I put my code that is working but again breaking the rest of the site. Any Suggestions $query = array( 'post_type' => 'slides', ...
0
votes
1answer
89 views

Register a title automatically with a relationship field

I'm trying to optimize the code of my site . I wanted to know if it was possible to give automatically a title to a new post without having to do it manually. I have a website of video games. Before ...
0
votes
1answer
155 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 ...
1
vote
2answers
3k views

Inserting Gravity Form checkbox values into Advanced Custom Fields

I'm trying to feed checkbox values from a Gravity Forms form (which creates a new post) into an Advanced Custom Fields field. I've had a read around and found some info in a post (at the bottom of the ...
0
votes
1answer
718 views

Advanced Custom Fields: Using category as a rule, before publishing new post?

I am using Advanced Custom Fields plugin to assign some fields to posts with a certain category, but the fields does not appear before I publish the post. I have made some links on the dashboard, so ...
1
vote
1answer
142 views

Displaying custom field according to date

I am not sure whether this is an Advanced Custom Fields-related question, or a general PHP question, so I have also posted this to the ACF support forum, for those of you who are also looking for ...
2
votes
2answers
2k views

Advanced Custom Fields select field : How to echo the label, not the value?

I am using the wordpress Advanced Custom Fields plugin. This question is about the select field, and in the documentation only tells me how to output the value, not the label/name. I can't see this ...
0
votes
1answer
820 views

Order by custom field date?

I've created a category "Expire Soon" and i want to insert and sort the posts by custom field "expiration_date". I use this code but the posts are sorted by custom field "expiration_date" but not by ...
0
votes
1answer
1k views

Advanced Custom Fields Plugin: how to use a checkbox to allow a post to show up in desired “zone”?

I am having issues getting the below code to work. I created an Advanced Custom Field (top_articles) with a checkbox containing three options: top_articles_left, top_middle, top_articles_right. I ...
0
votes
2answers
765 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 ...
1
vote
2answers
568 views

Pull out Advanced Custom Fields in Related post plugin

I'm using Advanced Custom Fields plugin and microkid Related Posts. I would like to display my custom fields inside Related post This is what I got so far? <?php //related artworks $related = ...
0
votes
2answers
1k 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 ...
2
votes
1answer
345 views

Calculate the sum of certain the_sub_fields

I am trying to calculate the sum total from two custom sub-fields using ACF. The custom field is called 'repeater' and the sub-field is called 'space_avail'. I've tried the code below but it just ...
3
votes
1answer
334 views

Edit Imported advanced Custom Fields from wordpress Dashboard

I have imported advanced custom fields from one of my other site and now I want to add few more options to those fields but I can't figure out how to do it via Dashboard? I have imported the field ...
0
votes
2answers
2k 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 ...
2
votes
3answers
1k 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
1answer
398 views

Truncating characters in Advanced Custom Fields works some places but not others?

I'm using the Advanced Custom Field plugin - although I'm not positive that is relevant. Nonetheless, I can't get substr() to work at all using this method: $givchars = 5; $postgiv = ...
0
votes
1answer
338 views

SQL query - get ids - Advanced Custom Fields / WPeC

I need to query the database on add_action( 'init', '...') to find post ids with the field 'product_discount_option' set to true. I know at least one of my product posts have the field ...
2
votes
1answer
782 views

How to List Events by Year and Month Using Advanced Custom Fields?

I have a custom post type "Kalender_item" with a custom Date Field (YYMMDD). I want to list all the posts on a page sorted by Year and Month. For example: November 2012 (all events that occure ...
0
votes
1answer
2k views

Custom Taxonomy Images with Advanced Custom Fields

I've created a custom Taxonomy for a Custom Post Type, and created five or so terms within the taxonomy. I've created a single image upload and assigned it to the custom taxonomy, and uploaded images ...
0
votes
1answer
107 views

Is there a better way to pull in custom content without querying posts?

I have a custom page template that pulls in media files via advanced custom fields, as well as query posts. Now, the client wants there to be three sections by default... each one populating with the ...
2
votes
1answer
3k views

How to create Repeater fields using Advanced Custom Fields?

I'm using Advanced Custom Fields and trying to create a field with the field type Repeater. But the problem is that the Repeater option doesn't appear in the select list with the field types. I can't ...
-1
votes
1answer
98 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 [closed]

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
4k views

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

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
490 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 ): ...
1
vote
2answers
4k views

Advanced custom fields - taxonomy terms images [closed]

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
96 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
155 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
220 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
209 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
434 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
251 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 ...
0
votes
1answer
1k views

Get Advanced Custom Fields values before saving [closed]

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
674 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
362 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
266 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
595 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 ...