voceconnect/post-selection-ui

A WordPress library to display a user interface to easily select posts from any post type

Installs: 6 539

Dependents: 3

Stars: 5

Watches: 17

Open Issues: 2

Language: PHP

1.0.14 2015-04-10 20:35 UTC

README

  • include() the post-selection-ui.php
  • echo post_selection_ui() like below:
<?php echo post_selection_ui('input_name', array(
    'post_type' => 'post',
    'selected' => $current_selected_ids,
    'limit' => $max_posts_to_select));
?>