Hi there, in the plugin file ‘search-exclude\lib\controllers\class-gutenberg.php’ on line 31, there’s a dependency called ‘search-exclude-components’ for a style being registered, but it’s causing an error in wp-admin because the dependency is missing.
]]>Like the poster a day ago, I too am getting “Excluded settings saved. I have also downgraded the plugin to v2.1.4 and the message has gone. Please view screenshot. My setup is Astra Pro, Spectra and only Gutenberg.
]]>Hello,
I have a client who is getting this “Excluded settings saved” notice anytime they save or schedule the post –
The site is running v2.1.6 of the plugin on WordPress v6.6.2 using the Feast Foodie Pro 5 theme.
If I downgrade the plugin to v2.1.4 the issue doesn’t happen –
The post saves as expected without that notice.
Is that just expected behavior with the plugin or is it a bug or ??
]]>Hello.
We are currently using Search Exclude 2.1.6.
Recently, when I open the Search Exclude settings page, it does not proceed from “Loading”.
Upon investigating the cause, I found the following error.
https://drive.google.com/file/d/1UEurDNM8w0jbd1lwRa0pGl2rxnhoUIoA/view?usp=drive_link
When checked, the query parameter “per_page” exceeded 100, resulting in a validation error.
Looking at the parameters being passed, it seemed that the error occurred when there were too many pages set as Hidden.
Please check.
https://drive.google.com/file/d/146ykL0r6LPFxtWvZ2W69fnsnhDNgrTq6/view?usp=sharing
]]>The plugin is causing an error in the WP admin:
The “custom-sidebar-metabox” plugin has encountered an error and cannot be rendered.
]]>Opening blocks editor gives error “The “custom-sidebar-metabox” plugin has encountered an error and cannot be rendered.” Occurs on pages/posts – new/edit.
Console reports …
15:29:39.476 TypeError: w.includes is not a function
render https://xxxxxxxxxxxxxxxx/wp-content/plugins/search-exclude/build/gutenberg/js/index.js?ver=9da98254e8b9b48b2b08:1
Also, search exclude settings page does not display anything, (including title, description and page list).
Does not occur in 2.1.5.
Does not occur on all sites.
(This appears different to the other issue now marked resolved).
]]>On my site, instead of the “Classic Editor” plugin, I use the function in the theme’s functions.php file
add_filter('use_block_editor_for_post', '__return_false', 10);
add_filter('use_widgets_block_editor', '__return_false');
You probably didn’t consider that someone could restore the classic editor this way.
I suspect that you’ve added some function that detects the existence of the “use_block_editor_for_post” and “use_widgets_block_editor” functions and then doesn’t display the “Search Exclude” meta box. I’d appreciate it if you could fix it.
Hi @quadlayers. I really appreciate this plugin. It works beautifully. Just one things, it makes my posts page elongated. Once it’s deactivated the posts page works normally. Is this something you can fix? Hope so, as you’ve done such great work.
]]>Hi, if we activate the SEO index blocking snippet, does the post/page will be reindexed after we unhide the post/page ?
Best regards!
Julian
function add_meta_for_search_excluded()
{
global $post;
if (false !== array_search($post->ID, get_option('sep_exclude', array()))) {
echo '<meta name="robots" content="noindex,nofollow" />', "\n";
}
}
add_action('wp_head', 'add_meta_for_search_excluded');
]]>
I have been using this plugin for years without issue. Today, I checked the “Exclude from Search Results” box on a new post. It saved it as checked but did not hide it from the website search, blog listing, etc.
I tested it on two websites and found that the hide ability for posts did not work for both websites. It does, however, work for pages.
Was this caused by a recent update?
]]>Hi,
there is not much to say about this topic. I can′t get rid of the notice. Pressing the X but on every site refresh – it pops out again.
Thanks in advance.
Best regards
Mikkel
Hi, looks like according to query monitor, search exclude is calling function ID incorrectly:
Function ID was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘woocommerce_page_wc-orders’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\Admin\Orders\PageController->output, Automattic\WooCommerce\Internal\Admin\Orders\Edit->display, Automattic\WooCommerce\Internal\Admin\Orders\Edit->render_meta_boxes, do_meta_boxes, QuadLayers\SearchExclude\Plugin->metabox, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong (This message was added in version 3.0.)
Thanks
Stephen
Version 2.1.2 was just updated on my WP site about 9 hours ago. It is now causing pages not to show. I narrowed it down to this plugin and its recent update.
I’m running WP 6.5.5.
I had to disable the plugin to get WP to work again.
]]>Hi support, I recently noticed a conflict between your plugin “Search Exclude” and Elementor page builder popup template section on the dashboard. In other words when I try to view the list of popup templates under the WordPress dashboard under Template/Popup, it displays erratically. When I disable the Search Exclude plugin, the problem is fixed. Is this conflict an easy fix?
]]>We have the latest version of WP and Elementor installed. When your plugin is updated to your newest version, the website stops rendering javascripts breaking the front and backend.
]]>Hi,
The Shipping & Returns post is appearing in the blog even though it is Search Excluded.
https://bansuribliss.com/blog
I added the following code to Fluent Snippets to fix the issue but it doesn’t work.
What do you suggest?
Thanks!
add_action('pre_get_posts', function ($query) {
if (!is_admin() && $query->is_main_query() && $query->is_archive()) {
$search_exclude_ids = get_option('sep_exclude');
if ($search_exclude_ids) {
$posts_not_in = $query->get('post__not_in', array());
$query->set('post__not_in', array_merge($posts_not_in, $search_exclude_ids));
}
}
});
]]>
I have an issue with the Page Attributes Parent input field when using the Search Exclude plugin.
I have two pages, a parent and a child page. Both pages are excluded from search results.
My issue occurs when I try to search for the name of the parent page to add it to the child page. The name of the parent page I want to select is displayed briefly as a suggestion but then disappears.
It looks like the pages are somehow excluded from the parent page suggestions.
]]>While the plugin is activated I can not upload images to the Library.
Solution: temporarly deactivate plugin and upload images.
After that activate plugin again.
]]>When I exclude more than 2221 posts, the search function broken.
“No results were found for your search”
It works when i exclude less than 2221 posts. Any Idea?
]]>When I duplicate a WooCommerce product, the “Exclude from Search Results” setting is always empty.
For example:
All of the other settings for the product get duplicated to the new product. But Exclude from Search Results does not.
This seems like a bug…
]]>I installed and activated your Search Exclude plugin.
Then, I went to the page I wished to exclude from searches, and checked the ‘Exclude from search’ checkbox in your metabox in the page’s editor page, and then updated the page.
But, when I do a search for the first word in the page’s title, it comes up with that page in the search.
What am I doing wrong?
I did not have a caching plugin installed, but I do now. No difference before or after.
]]>WP 6.3 just launched and we are having compatibility issues somewhere. Can you the Search Exclude plugin so it is compatible with 6.3? Thanks!
]]>Is this plugin supposed to hide from the search in the:
– frontend?
– backend?
– or both?
I would like to apply the “exclude from search” status to several media files in the library, is this possible ? Or do I really have to open every single file, clicking “advanced options” and check the box for excluding it from the search ?
]]>Hello.
Is there any way that even if we mark a post as hidden, it will be hidden in the front-end search, but then it will not be hidden in the backoffice for admin users?
]]>I have a website with Jet Smart filters so when I directly access the filters page the exclude posts are not excluded but when I re-apply filters it did work correctly.
So is there any way to fix this like the excluded post should exclude in any scenario.
Hello. I installed your plugin and found there is no “settings” page.
Instead, a page comes up that says only this:
Search Exclude
No items excluded from the search results yet.
Did you move the settings page? I am using wordpress 6.2.
My objective is to exclude all IMAGES from my wordpress search results. If I could find your settings page, would that even be an option?
The thing is, I already tried removing the attachment pages, using another plugin. But that didn’t stop the actual media from the the attachment pages from showing up in search results. So, if the visitor clicks on the image that is a result, this triggers my lightbox-gallery plugin, and all the images on the same page are shown in a lightbox. This is not what I wanted to happen. I just want RID of images in search results, altogether, to get RID of the attachment pages, and I don’t want images being returned that then become “galleries” out of context of the page they’re on.
Thanks in advance.
]]>Hi there
I found another string that can’t be translated. In search-exclude/lib in class-plugin.php line 247 should be changed to:
$columns['search_exclude'] = __( 'Search Exclude?', 'search-exclude' );
The reason I added a “?” is because if you don’t do that… The translations of the name of the plugin are taken… And some locales don’t translate the plugin name and that way the column name won’t be translated ??
]]>In the /lib/class-plugin.php on lines 152 & 153, two lines should be changed to:
$bulk_array['se_hide'] = __( 'Hide from Search', 'search-exclude' );
$bulk_array['se_show'] = __( 'Show in Search', 'search-exclude' );
So, we can translate the two strings in the dropdown for bulk actions.
]]>We’ve noticed that AFC repeater fields are broken if for some reason the ‘Exclude from Search Results’ is checked on the edit field group page. It is causing the get_field()
function to return a string instead of an array. This seems to be related to the pre_get_posts
query which I think is too aggressive.