posts
the search is also being performed in term
and media
.
This is cause I can see the following requests in the network tab:
/wp-json/wp/v2/search?search=reflective&per_page=20&type=post&_locale=user
/wp-json/wp/v2/search?search=reflective&per_page=20&type=term&_locale=user
/wp-json/wp/v2/media?search=reflective&per_page=20&_locale=user
So, what I’m trying to ask here is that does anyone here knows about any action/hooks that will allow me to disable this media
and/or term
search for the hyperlinks?
I looked at the WP core code but did not find any specific action using which I can exclude these unwanted searches. So, if anyone know how to achieve this, please do share.
P.S.: Google search says, disable WP REST API which is something I’m not going to do as it’s super useful and being used by many plugins. I’m looking for action/hooks to modify this default search experience inside block editor hyperlink section.
]]>Thank you in advance for your support, and I appreciate the work you’ve done with this plugin.
Best regards,
Filippo
Is possible with this plugin pass the images to the plugin the same way? Maybe with a do_action or using shortcode as before?
]]>Our server underwent a lengthy period of 100% CPU usage and as a result, every action scheduled to occur since then has entered the past-due status. This continues to occur even though our server is no longer under heavy load.
We see in fatal_errors logs that WP-Cron is receiving an error every minute as a result of Action Scheduler trying to restart the queue – the error is an UncaughtDivideByZero error on line 436, meaning $interval wasn’t defined.
We’re trying to get our host to restart the server but they are unhelpful so far.
Can anybody recommend ways to diagnose and correct this problem without rebooting the server?
WooCommerce Status page:
Action Scheduler package: 3.8.1
WordPress Cron: green checkmark
Daily Cron: Next scheduled: 2023-11-09 22:48:03 -05:00
And the section for Action Scheduler:
Action Scheduler Version:3.8.1
Data store:ActionScheduler_HybridStore
Oldest Scheduled Date for “pending” Actions is 2024-11-05 04:30:00 -0500 (when everything stopped.)
In case it helps shed any light, the last action which was running was an HPOS table sync.
]]>We segment our users into many different types of activities and capabilities. These segments need to be flexible as users can move between groups as they progress through various levels, or as they move into whole different sets of activities. The Groups plugin achieves all this with ease, either through the users admin page, but primarily through hooks to automate the transitions.
Previously, trying to achieve this with standard WP functions was restrictive and complex to maintain. Many thanks to Groups.
]]>Steps to Reproduce:
Expected Behavior:
The search should return results without resulting in a 404 error.
Actual Behavior:
Submitting a search with tags resulted in a 404 error page.
Solution:
To resolve the issue, I modified the URL generation in the plugin’s code:
$tag_base = ( get_option( 'tag_base' ) === '' ) ? 'tag' : get_option( 'tag_base' );
$tag_path = $tag_base . '/' . $tags . '/';
instead of $tag_path = 'tag/' . $tags . '/';
This change ensured that the tag URLs were generated correctly, eliminating the 404 error when searching by tags.
My Question:
I would like to know if there are any existing filters or actions in the plugin that could be used to make this change update-proof, since direct changes to the plugin files can be overwritten with future updates. I couldn’t find anything about it in the documentation.
Thank you!
]]>Hope you’re doing well.
I wanted to ask about specific action hook qi_action_after_header_logo_image
which can be found in inc/header/templates/parts/logo.php
. I have a trouble hooking any function to this action. Here is the code I used
function add_image_after_logo() {
echo 'test';
}
add_action( 'qi_action_after_header_logo_image', 'add_image_after_logo');
The problem is that I am not getting any HTML output on frontend whatsoever.
I tried with some other hooks like qi_action_before_page_header
and it is working fine.
Can you please try to replicate this on your end and let me know if it works for you?
Thanks in advance!
Jovan
]]>Then I started being barraged with all sorts of spam attacks. I had been getting them consistently for a couple of weeks from the same persistent I.P.s – I KNEW I had a problem, I just figured no one else was noticing, so I reached out to Akismet to ask for additional help to monitor and stop the attacks.
Beyond the initial BOT generic response to my plea for assistance, I reached a human who took my concerns seriously, worked quickly to assure me the attacks were being seen, monitored, and that many *more* than I had realized had already been caught and stopped. They began at once to remedy the situation and through a few steps on my end, have quickly and abruptly ended the attacks from being a menace.
Persistence was key in this situation on my part. Knowing what to do and how to do it came from the experts at Akismet. In this instance, having no spam plugin would have been tantamount to suicide for my wordpress blog. Having a blog with spam protection built-in was so seamless, I had assumed it wasn’t really doing anything.
How wrong I was.
]]>