Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
martinwMemberah yes that’s it i need to assign a user to a post other than the author.
so i thought i have a workflow-tab for this kind of post and show all posts related to this user.
also i show a button to create a new post for this user.how can i make sure the users id gets to the new post since it is not the current-user id?
martinwMemberthank you Steve!
is there a way to create buttons with piklist so that certain functions are triggered when i click on them?
i actually don’t need any fields at all since fill out the fields automatically on the server.
if i did this in the browser the user would be able to manipulate the values.
martinwMemberDid it!
$array = array_merge( array(0 => "--- None ---"), piklist( get_posts(array( 'post_type' => 'my-custom-post-type', 'numberposts' => -1, 'orderby' => 'title', 'order' => 'ASC' )), array('ID', 'post_title') ) ); piklist('field', array( 'type' => 'select' , 'field' => 'current_selection' , 'label' => __('Current Selection') , 'description' => __('Currently selected Post') , 'attributes' => array( 'class' => 'text' ) , 'choices' => $array )); -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)