Show notice just below the search form on the themes page

I want to show a notice on the theme installation page. I have used the admin_notices hook but it is showing the message above the search box. I want to print the notice at the place of a black line in the image.

For the plugin page, we have the pre_current_active_plugins hook but for the themes page, I didn't find one.

Topic core hooks theme-development Wordpress

Category Web


Unfortunately, there is no hook available to place a notice in the spot you've pointed out.

Looking at the source, you can see that the "New theme activated" message is one of several hard-coded messages, and no filter or action exists to add a custom message.

If you really wanted to, you could add your message using the admin_notices hook, then use some JS to move it to the desired location, but I wouldn't recommend it. It's probably best to just go with the flow, and use admin_notices.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.