Custom Fields are fields that can holds arbitrary extra information known as meta-data.

learn more… | top users | synonyms (2)

0
votes
1answer
610 views

Extra Meta Data for Wordpress Multisite Taxonomy

I'm using a custom taxonomies across a Wordpress multisite install (same taxonomies on all sites) and i'm trying to add some custom meta boxes to each of these (same meta boxes on all sites). I'm ...
0
votes
2answers
2k views

Displaying custom field meta within WP_query loop

This function seems like it should work, and it mostly does, but what I'm lacking are the values for the 'author' key that ends the list item, prefaced by the text 'By'. What I'd like is for the ...
0
votes
2answers
399 views

Calling Custom Post Meta

http://www.vooshthemes.com/blog/wordpress-tip/create-a-professional-portfolio-using-wordpress-3-0-custom-post-types/ I'm using the above tutorial to build custom portfolio pages. The custom ...
1
vote
1answer
989 views

load custom fields on click

I have too much data stored in custom fields which I don't want to fetch on page-load, instead I'd give the user the opportunity to load the custom field values on click, possibly with ajax. Is ...
1
vote
1answer
248 views

Custom fields to taxonomy

Can I add some custom fields to specific taxonomy so when ever I call that taxonomy, custom fields attached to that taxonomy should also appear.
1
vote
1answer
171 views

Creating author profiles with extra fields and exporting that data?

I'm trying to find a way to let my subscribers sign up to my site and enter details in their author pages to confirm their attendance at an event. In order to create the additional fields, I've been ...
0
votes
1answer
185 views

sort a custom field base on the date or anything

I'm working on a project right now and I'm facing an issue that is about to freak me out. Basically I had to display information of some courses, in order to do so, I create a custom field called ...
0
votes
2answers
839 views

Dynamically add / duplicate custom meta in custom post types

I am using Custom post types in one of my themes I have one custom post type called "accommodation" with meta boxes to add details such as type of rooms (single, twin, double...); each room has a ...
2
votes
3answers
893 views

Save page data to an xml file

Is it possible to continually update an xml file on the server with data from a wordpress page? If so, how could I do it? I use this plugin http://plugins.elliotcondon.com/advanced-custom-fields/ to ...
0
votes
2answers
785 views

Store JSON in a custom field

I have a drawing canvas on some of my Wordpress' post pages, where users can draw on. Upon drawing, my JS code currently sends the user's drawing to a php file. This is where I store the array in JSON ...
2
votes
2answers
1k views

Displaying additional User Contact Information

I have been advised how to add additional contact info fields to the User admin area here (Click here). However, I am not entirely sure how I can display the the field contents in a link within my ...
0
votes
1answer
214 views

Best way to allow manageable social media URLS?

I am working on a site and it is possible that the site will have a number of pages which feature links to the client's social networking sites (Twitter, Facebook, LinkedIn...). Now I know that the ...
0
votes
1answer
307 views

Custom fields won't update

I have a small problem with custom fields. This is what I am trying to do: Whenever a new post is added, I check what category is selected, grab the sub categories and create custom fields with a ...
0
votes
1answer
925 views

MySQL Query that looks for post with Custom Field, then changes Category

I'm looking for a MySQL Query that will look for all the posts with custom field "meta_key_I_want_to_find", then if the custom field is detected, add a category to that post. The category has already ...
0
votes
1answer
125 views

use custom field value as post category in loop

I have a page template and at the bottom, I want a loop of posts based on a custom field value - store_name This is what I have: <?php global $wp_query; $paged = (get_query_var('paged')) ...
1
vote
1answer
745 views

Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate

I've been asked to develop a website pretty much like (but not the same as): http://www.yoursingapore.com/ basically we need to allow people to add Wordpress posts (custom post types) into a sort of ...
1
vote
1answer
146 views

how to interconnect custom post types?

I'd like to make a site about choirs, composers, conductors and singers. And so far I decided that I need to make a custom post type for "piece" -- any piece can be associated with choir[s], composer, ...
0
votes
1answer
317 views

Only show content slideshow if “slideshow” custom field exists

I am developing a theme for general release and there is a large content slideshow on the homepage. I have included a checkbox meta box in the post edit screen that allows users to determine which ...
0
votes
1answer
93 views

How to update custom field of a posts in a particular category

I have a lot of posts under category 'tution', which has custom field called 'video'. i need to update the 'video' value with same youtubeurl i.e all post would have the same value in the custom field ...
2
votes
2answers
1k views

Custom field values deleted when trashing custom post type

I've created a custom post type with 2 custom fields attached to it... When I create a post of this type and fill in the custom fields, the data is, in fact, saved to the db... However, if I trash one ...
1
vote
1answer
89 views

Extra option in editor

I'm sure there's an easy solution to this, but I'm wondering how to add custom input fields in the Wordpress editor. My goal is to have an image uploader to the right of the main editor, when an ...
1
vote
3answers
258 views

query in category.php repeats itself

I'm need some help on my query. I'm building up a category page where on top a post need to show where custom field key 'uitleg' has value 'ja'. Per category there is only one post with that value. ...
1
vote
4answers
829 views

HTML / Javascript in custom field textarea?

Is there a filter for allowing HTML / Javascript into a custom field textarea? I'm using get_post_meta. On the frontpage I want the HTML / Javascript to run, not to be displayed.
1
vote
2answers
983 views

Orderby custom field meta value ASC and then by date DESC

I need to allow post ordering in certain categories. One of the sorting options is a custom field meta value. First problem is that not all posts have that meta assigned and i need to order these by ...
0
votes
1answer
2k views

query posts with custom field meta value

<?php query_posts( array( 'showposts' => -1, 'post_parent' => $post->ID, 'post_type' => 'page', 'orderby' => ...
0
votes
1answer
932 views

How to make custom comment fields required and message field not required

I have a comment form that has name, email, brief, detailed and rating fields. The name, email, brief and rating need to be required, but the latter two are custom fields and I can only make them ...
1
vote
2answers
102 views

Eliminating the appearance of a specific custom field in a post

I would like to suppress the output of one of my custom fields. Is there a way to do this using the <?php the_meta(); ?>command?
3
votes
4answers
790 views

How I check if the same post slug has not been used before publishing?

For an indie rock agenda I created event posts. With the help of javascript, the custom fields values (bands, places and date info picked in select boxes) are copied as the post title when publishing ...
1
vote
1answer
277 views

Custom field not updating when value is empty

I've added a few custom fields to the WordPress image uploader using the hooks attachment_fields_to_edit and attachment_fields_to_save. Everything works very well, except when a field is erased by the ...
0
votes
1answer
41 views

What is the best way to add an advanced / intermediate / beginner tag to a post

Suppose you have a WordPress blog that you are using to produce tutorials, and that you would like to split up your posts according to skill level (i.e. beginner, intermediate, advanced) depending on ...
0
votes
1answer
298 views

Custom posts type for individual pages?

I am trying to make a wordpress site with an idiot-proof backend CMS. I have built several relatively small wordpress sites, but now have moved on to a larger project and want to do it right. ...
1
vote
2answers
1k views

How to rename a custom field?

I have 3000 posts with that custom field name 'refer' and i need to change it to 'ref' for theme needs, instead of doing it manually i need a query or technique to change them all. Question 1 I am ...
0
votes
1answer
312 views

Display content between two dates?

I want to display a meta field between two dates, the admin can set the two dates via the custom fields. How can i make such content show between the dates set? Thanks Matt
0
votes
1answer
729 views

Searching with Multiple (Parallel) Criteria on Custom Fields?

I'm just an basic Wordpress user. I need to make search box with multiple criteria inputs (multiple conditions) to search inside various Custom Fields. For example including following Custom Fields: ...
1
vote
1answer
290 views

How can I hide admin columns showing extra custom taxonomy fields?

I'm adding extra custom taxonomy fields to a custom taxonomy called, let's say, "Beer Style" (or "beer-style", in the screenshot, for now), with extra custom fields like "Alcohol by Weight (Volume)," ...
1
vote
2answers
3k views

Using get_posts with arguments found in meta keys

I am using get posts, but I need to refine the query based on posts where a certain meta_key has a certain value. Something like this <?php $reviews = ...
0
votes
1answer
402 views

How to make custom fields respect paragraph breaks

In one part of my site I am displaying custom field data like this: <?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'info', true); ?> This works ok ...
1
vote
1answer
799 views

Add custom field to image editor

How do I add custom field to the image editor, such as under the image 'Description' field? To be much clearer, it's where the settings for the images are after you upload an image in the attachment ...
0
votes
2answers
145 views

Add New Post (Custom Post Type) Deletes 1 Post's Custom Meta Data

function save_details( $post_id ){ if ( wp_is_post_revision( $post_id ) ) $post_id = wp_is_post_revision( $post_id ); update_post_meta( $post_id, "testimonyname", $_POST["testimonyname"] ); } ...
0
votes
1answer
124 views

Taxonomy Extra Meta [duplicate]

Possible Duplicate: Adding Custom Field to Taxonomy Input :Panel I created a custom post type with a taxonomy associated. When I add new item for my taxonomy, I get name, slug and ...
1
vote
1answer
267 views

Custom fields 'for' custom taxonomy?? Can someone explain why?

I'm implementing various custom taxonomies for my project and I came across the concept of custom fields for custom taxonomies, which baffles me. I though custom fields where just custom fields ...
0
votes
1answer
167 views

Taxonomy or Custom Field

I'm creating a network that has profile pages for authors (custom post type) on the main site, where I've created a few non-hierarchical taxonomies to help users sort through the authors. These ...
0
votes
1answer
561 views

Can 'Custom Field' data be inserted into this Short Code?

I have created a custom page template. In the template, I use a shortcode for JJ NextGen JQuery Slider. I would like the page to have a 'custom field' called 'Image Gallery' with a value that derives ...
4
votes
1answer
344 views

update_user_meta: How many is too many?

I am working on a community portal that may in future cater to extremely large user base. All users have about 50 settings that needs to be stored to the user meta. These settings would be frequently ...
5
votes
1answer
13k views

WP_Query - Order results by meta value

I've checked around and haven't seen an answer which works as of yet. I have a WP_Query with the following arguements: $args = array( 'post_status' => 'publish', 'post_type' => ...
0
votes
1answer
329 views

Save custom field types with this function…?

I found this great article (right here) about creating and saving custom fields for user profiles. The problem is that it only saves text fields. I can't save checkboxes, radio, or any other field ...
2
votes
1answer
1k views

Add meta data to the menu

I encountered this problem what i thought to be one of the worlds simpliest things, I wanted to add a subtitle to the menu somethin alike this http://img4.imageshack.us/img4/7816/unled10b.png . Then i ...
0
votes
1answer
470 views

How to use custom fields to replace top-level parent title with an image using wp_list_pages?

I'd like to integrate get_post_meta into the wp_list_pages mix so that any top-level parent list items get replaced with images ONLY when a key exists in the post's custom fields section. I can't do ...
0
votes
3answers
130 views

First Custom Post Custom Fields Empty After New Custom Post

I am working on a theme which contains a custom post type with custom fields. Everything is working perfectly except the when a new custom post is added, the custom fields for the first custom post ...
4
votes
1answer
953 views

How to filter custom post type archive by meta value

I have a problem where I'm trying to build a calendar plugin for a client. I'm having trouble getting a date based archive for the custom post type I'm using. I'm not too well versed in how the ...