voceconnect/post-selection-ui

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

Installs: 7 202

Dependents: 3

Stars: 5

Watchers: 17

Open Issues: 2

Language: PHP

1.2.2 2015-07-23 17:36 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));
?>