WordPress Plugin to index chatGPT sessions

I wish to create a plugin to provide a searchable index of my chatGPT interactions. I will do this by storing the links to chatGPT sessions in Custom Posts that can be categorised, tagged and searched within WordPress. The data will be entered manually via the Admin Interface.

The author of a plugin is Toolsforthinking.
The author URI should be https://toolsforthinking.co.uk
Any tables used for displaying data in the plugin should be implemented using jQuery DataTables. Columns should be sortable. If I specify a help button against a column heading, it should be a blue circle with a white question mark in it. The help should be displayed in the form of a tooltip displayed on hover. I will specify the text. The tooltip should be able to show text on multiple lines.
If the Plugin creates a menu, it should be placed under the ‘Toolsforthinking’ menu heading along with other Toolsforthinking plugins. If the Toolsforthinking menu heading doesn’t exist, it should be created. Use the below code to check for and create the parent menu,
$parent_slug = ‘toolsforthinking-menu’;
$page_title = __(‘Toolsforthinking’, ‘plugin-auditor’);
$menu_title = __(‘Toolsforthinking’, ‘plugin-auditor’);
$capability = ‘manage_options’;
$menu_slug = $parent_slug;
$icon_url = ‘dashicons-admin-generic’;
$position = 6;

// Check if the parent menu exists, if not, create it
if ( ! menu_page_url($parent_slug, false) ) {
add_menu_page($page_title, $menu_title, $capability, $menu_slug, ”, $icon_url, $position);
}

// Add Custom Logger submenu
add_submenu_page($parent_slug, ‘Custom Logger Settings’, ‘Custom Logger’, ‘manage_options’, ‘custom-logger’, array(‘CustomLogger_SettingsPage’, ‘tftCL_display’));

The add_submenu_page function should use $parent_slug to identify the parent menu, and then the rest of the parameters should be as required for the plugin being added.

Each chatGPT Index entry will be stored as a Custom Post which will contain a URL, the GPT used and a notes field. The standard Post Content field will be used to store the initial prompt.

The Custom Post Type should support it’s own Category and Tag Taxonomy.

Scroll to Top