Plugin that creates custom fields.

learn more… | top users | synonyms

0
votes
1answer
52 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
692 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
94 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
340 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
101 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
849 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
295 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
175 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
1answer
392 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
1answer
1k 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
2answers
353 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
53 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
2answers
1k 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
615 views

Excerpt length: get first paragraph

I'm trying to figure out if it's possible to get an excerpt from each post, grabbing the first paragraph from each one. I'm currently using the ACF plugin and have custom post types and custom fields. ...
0
votes
1answer
184 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 ...
4
votes
3answers
20k 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 the ...
1
vote
0answers
125 views

posts-2-posts embedding post title of connected posts

I'm trying to create a default title for all the posts that are created, the title is generated by a couple of things, such as the post fields. I was able to write code for getting the post fields ...
0
votes
1answer
1k 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
1k 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
103 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
586 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
52 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
204 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
189 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
44 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
74 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
239 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
318 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
29 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
153 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
84 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
151 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
2k 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
644 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
134 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
785 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
681 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
472 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
889 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
281 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
286 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
1k 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
996 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
322 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
256 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
631 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 ...