Hi,
I recommend to use bulk edit for such cases.
The plugin persists its data in the table wp_options, option_name = sep_exclude.
You can get the value by querying:
SELECT * FROM wp_options WHERE option_name = 'sep_exclude';
The value is a serialised PHP array of post ids to be excluded.
If you have a list of post ids that you want to exclude manually, then you could do it in two ways. Let’s say you want to hide posts 213, 1, 43, 7.
-
run php:
php -r 'echo serialize([213, 1, 43, 7]);'
run MySQL Query: UPDATE wp_options SET option_value = '%string_from_the previous_step%' WHERE option_name = 'sep_exclude'
;
-
Add following to your functions.php:
$pluginSearchExclude->savePostIdsToSearchExclude([213, 1, 43, 7], true);
After you added it, open any page of your WP site, and then you can remove it.
However, I would recommend you to use bulk edit for mass updating. This plugin supports it.
Roman