voceconnect/post-selection-ui

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

Installs: 8 182

Dependents: 4

Stars: 5

Watchers: 16

Open Issues: 2

Language: PHP

1.2.4 2015-08-20 14:38 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));
?>