Snillrik Settings

plugin banner

To easily turn on and off some settings that often is done with hooks, hacks or filters in WordPress.

Author:Mattias Kallio (profile at wordpress.org)
WordPress version required:3.8
WordPress version tested:6.4.3
Plugin version:1.2.4
Added to WordPress repository:26-10-2022
Last updated:13-03-2024
Rating, %:0
Rated by:0
Plugin URI:http://www.snillrik.se/
Total downloads:608
Active installs:10+
plugin download
Click to start download

To easily turn on and off some settings that often is done with hooks, hacks or filters in WordPress.

Turn off Gutenberg

To turn off the default editor and use classic instead.

Turn off new Widgets

To use classic widgets instead of the new.

Turn off comments

For turning off the comments, both the fronten and in admin. Does not delete old comments.

Redirect login

Select a page to redirect to after logging in. Admins will still redirect to wp-admin.

Redirect logout

Select a page to redirect to after logging out.

Redirect profile

Select a page to redirect the profile link to, (the one in the admin bar etc.)

login logo

Use the logo set in the customizer as login logo. If no logo is set, it will use the default logo.

Titles on pages

Filter the_title -function to not show a title if there is a H1 in content. The Idea is that if you have a large image or other stuff that you want above the title, you just add a H1 where you want it and the automatic one will not be shown.

Admin toolbar in frontend

Does not show the toolbar in fronted. You can select witch roles that should still see it.

E-mails

Redirect all emails to admin to ensure that customers or users get no emails.
Probably mostly used for development and testing.

Default email

Set the default name and email address for all emails sent from the site. ie the wordpress@mydomain.org mail.

XMLRPC

Turn off xmlrpc.php xmlrpc is used to communicate with WP and is mostly not used, but it is a way for haxxor type people to attack your site.

WooCommerce

If WooCommerce is active on the site, you can choose to redirect to Checkout after “add to cart”, so skipping the cart-part.

A very simple honeypot-function for the register form.

Get the WordPress customizer back

In themes like the Twentytwentytwo it’s really hard to find the link to the customizer. This adds it under Appearance, …where he belongs!

Colors for Categories.

Add a color field to the category to be able to add a color to the category. you get it by using something like this:
get_term_meta( $post_term_id, ‘category_color’, true )

It has a filter for what taxonomies to use, so it can be used for other taxonomies than categories.
add_filter(“snset_categories_for_categorycolor”, function ($taxonomies) {
$taxonomies[] = “dude-type”;
return $taxonomies;
}, 10, 1);


Screenshots
ChangeLog