

Disable comments in WordPress completely without a plugin: close forms, hide old comments, empty comment blocks and remove the admin screens.

Show the post ID in a sortable column on every WordPress admin list, posts, pages and custom post types, with one Admin only snippet.

Hide the WordPress admin bar on the front end for subscribers, customers or any role you list, or for everyone, without a fatal error.

This php snippet will provide you with a more efficient way of organizing and keeping track of your blocks in Oxygen builder.

Replace the WordPress admin dashboard with a page you built in Gutenberg, Bricks, Oxygen or Elementor, shown full width next to the admin menu.

Show titles built from custom fields, taxonomy terms and the date in the WordPress admin post list, instead of (no title) rows.

I put this code-snippet to every Oxygen site i develop, because it is faster to go to the settings by admin bar,I use Scripts Organizer to use this as below : Add a code-block with Trigger location set to EVERYWHERE put the code and you are done.

Sometimes when you are in a development environment like Laravel Valet on your home computer, you may have errors show up. you can use the following code to hide them Edit wp-config.php file and add the following anywhere ini_set(‘display_errors’,’Off’); ini_set(‘error_reporting’, E_ALL ); define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false);

Put an Add Media upload link on the WordPress admin bar, in wp-admin and on the front end, for users who can upload files.

Remove the WooCommerce Marketing menu from the WordPress admin and keep Coupons under the WooCommerce menu.

Sometimes you have a situation where you want the customer to log in, like a donation page, but you don’t want them to end up at /my-account/ but rather be taken back to the page where they were when they started. This code is useful for donation sites, as well as refer a friend scenarios.

Send WordPress users to the home page after they log out, instead of the login screen, with the logout_redirect filter.

Set the theme-color meta tag in WordPress so mobile browsers paint their address bar and top of the screen in your brand colour.

Show a red WordPress admin notice on every screen while “Discourage search engines from indexing this site” is ticked, so a live site is not left hidden.

Make every published post of a WordPress custom post type private automatically, while drafts, trash and other post types work as usual.

Add an Image column with the featured image to the WordPress admin lists of posts, pages and custom post types, without an extra image size.

Add an ID column to the WordPress admin lists of posts, pages and custom post types, so you never open a post just to find its ID.

Color chosen WordPress admin menu items with your own background and text colours, so the screens you use daily stand out in the sidebar.
3rd party plugins actions admin archive block-themes block editor Blocks block theme build capabilities core CSS Custom Post custom post types Developer development filters Front End full site editing gutenberg hook Image img load styles maintenance media mu-plugin Must Have npm Oxygen performance php plugins scripts organizer security SEO settings api single product theme.json Tips updates WooCommerce wordpress wp-cli WP Admin