Archive for the 'Tutorial' Category
Change WordPress URLs in PHPMyAdmin
- Posted on October 10, 2022When you import databases from an old backup, perhaps you need to change the site URL and there’s a quick and easy way to make it in MYSQL via PHPMyAdmin. The first step is to import the databases. The following code needs to be applied for three tabs: wp_options, wp_posts, wp_postmeta. Click on each of […]
Disable Gutenberg Editor
- Posted on July 20, 2021Some of you enjoy it, some of us prefer the classic old way. There are plugins to make this such as Classic Editor (for posts and pages only) or Disable Gutenberg (for everything), but you can achieve the same thing with a simple code in your theme functions.php // disable for posts add_filter(‘use_block_editor_for_post’, ‘__return_false’, 10); […]
Code to replace fit_screen plugin
- Posted on May 4, 2021This plugin (fit_screen) is wonderful, especially if you remove the intermediate pictures from Coppermine to save space, this plugin allows you to adapt the full image to the screen size, so you can see it in a whole. But how does it work? The functioning that allows this to happen is a simple code, you […]
Remove WordPress Emoji Code
- Posted on April 28, 2021Ever since WordPress 4.2 they enabled by default Emoji which is a pretty cute thing, but also resources consuming as it loads for all your pages. Now it’s not vital to keep this and removing might speed up your site, but how do you do this? You can obviously install a plugin for it but […]
Disable a custom post type
- Posted on April 28, 2021Sometimes WordPress, when upgrading, introduces new sections we do not necessarily need or will use. There’s a simple code to add that will disable them. (Source Code) For example, I want to remove the “Do not sell info” section. So first of all I will be checking what’s the custom post type name for that, […]
Upgrade WordPress Manually
- Posted on March 25, 2021We all love the update button, that’s for sure, but unfortunately sometimes we need to do the work manually. So here’s how. Where to find the zip? You can always find the latest version of WordPress on their site. What to do? Unzip the downloaded file, enter the unzipped folder and zip again the files and […]