Tagged Questions
1
vote
1answer
51 views
Save an array from drop-down in custom meta box
I have successfully pulled a custom post type through into a drop-down that is in a custom meta box. However, when displaying it on the front end I would like to also provide a link to the actual ...
1
vote
0answers
17 views
How to write an efficient metabox with repetitive fields [duplicate]
Possible Duplicate:
Create more Meta Boxes as needed
I’m having a hard time to write an efficient code for the below Metabox. Since I do not want to use any third-party class, I’m trying to ...
0
votes
1answer
62 views
Exclude posts based on an array
I'm using a custom meta box to output a list of post IDs within a particular post type ("Publications" in this example). Is there a way I can output this array into a custom loop to only show posts ...
0
votes
1answer
190 views
Show array of meta_value in Edit Post Coloum
what I'm trying to do is add a new coloumn to Edit post page (done) and in that coloumn show data taken from a set of custom fields (partially done).
This is my code (I use it as a plugin so it ...
0
votes
1answer
179 views
How to Convert Custom Fields from Text to Array?
I want to convert my old post data containing custom fields that are stored in a text format like : name , url $ name, url $ name, url etc.
I want convert that data and store the new data as an ...
0
votes
2answers
413 views
Output from Meta Box Array
I have created a meta box and it's storing the post data successfully but I am having trouble outputting the content and displaying it in a sensible fashion - beyond my limited knowledge of PHP. I am ...
0
votes
1answer
104 views
Inefficient Query Confusion
Edit #3 - meta_keys as an array
This seems to compare more than just the "opening_time" I can set the opening time for the wrong date or even leave it blank and it will still grab a post if the ...
0
votes
2answers
472 views
Echo 2 values from one key in Array with get_post_custom
Edit 12/15/2011 Added Radio Button print code
// Add meta boxes to admin panel only needs to be added once
add_action('admin_menu', 'plib_add_box');
//Add meta boxes to post types
...
1
vote
1answer
432 views
How to store multiple values in 1 meta_key with radio input?
How do I store multiple values in one meta_key through a radio input and then display the two values on the page? One value would be a text string and the other would be a link that would go with ...
0
votes
2answers
537 views
Working with multiple values and metaboxes
I have multiple values I need to be able to punch into a meta-box on the post edit screen.
EX: I am working with set-list information for concerts.
Song 1
Song 2
Song 3
etc...
I am always ...