2025-02-08 01:45:31 +01:00
2025-02-08 00:55:43 +01:00
2025-02-08 01:45:31 +01:00
2025-02-08 01:13:01 +01:00

Select and Handle

Select and Handle is a WordPress plugin that allows you to easily select Pages, Posts, or Custom Post Types from tables in the WordPress admin area. Selected items are stored in a list, where you can review them before passing their IDs to a custom PHP file for further processing. The plugin then displays any output or results from the custom PHP file right in the WordPress backend.

Select and Handle Backend

Features

  • Easy Selection: Quickly select Pages, Posts, or Custom Post Types.
  • Saved Selections: View and manage your selected items in a list within the WP admin area.
  • Custom Handling: Press the "Handle" button to pass the selected item IDs to a custom PHP script of your choosing.
  • Result Display: The output of that custom script (such as success messages, processed data, etc.) is displayed in the plugins admin page.

Installation

  1. Download the plugin zip file or clone this repository.
  2. Log in to your WordPress admin dashboard.
  3. Navigate to Plugins > Add New > Upload Plugin.
  4. Choose the zip file you just downloaded and click Install Now.
  5. Once installed, click Activate.

Usage

  1. From your WordPress admin, navigate to Select and Handle in the sidebar.
  2. You will see three tabs (by default) for Pages, Posts, and any Custom Post Types you might have.
  3. In each tab, select the items you want to handle by checking the boxes next to them.
  4. Click Add to selection. You can then switch to the Selection tab to view all items youve chosen.
  5. When ready, press the Handle button to send the IDs of the selected items to your custom PHP file.
  6. The output or results from that PHP file will be shown in the plugins page under a Results area or similar section.

Configuration

  • You may need to specify the path or URL of your custom PHP file if it is not placed in the default directory. Instructions can be found in the plugins settings, or consult your developer for details.
  • handle.php is packed with code you probably don't need. These are WordPress standards and compatibility and security measures. It will probably also work just fine if you replace it with just this:
<?php  
$ids = $_GET['ids'];  
echo $ids ;  
?>

Contributing

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes and submit a pull request.

License

No Rights Reserved. Select and Handle is licensed under the CC0 (or later). Feel free to do whatever you want.

Changelog

1.0.0

  • Initial release: Select Pages, Posts, and Custom Post Types, store them in a list, and pass them to a custom PHP script.

Thank you for using Select and Handle! If you have any questions, feel free to open an issue or contact the plugin author.

Description
Wordpress Plugin to select Pages, Posts and Custom Type Posts to pass their ID to another arbitrary PHP file to handle them and show its output in the backend
Readme 434 KiB
Languages
PHP 100%