You can change the settings in the WordPress admin, hardcode them in your wp-config.php file, edit the database, or use WP-CLI.
Today We’re gonna install PHP, MySQL and WordPress 5.5 on a new machine running Linux Ubuntu 20, and as a bonus, We’ll make a script to do it for us in the future. I’m running all the steps in this tutorial with root privileges, so...
When you edit files using Vim, it makes .swp files in the same directory as the files you are editing, and these files contain all changes you've made.
WordPress DoS attack is possible by exploiting the vulnerability (CVE-2018-6389) in load-scripts.php and load-styles.php files.
Back in 2020, I published the Better Editor WordPress plugin which has a feature to disable the Gutenberg Editor completely. So you can use that plugin’s feature to disable the now default Block (Gutenberg) Editor in WordPress or you can also...
A few months ago I was approached by blank from blank on Fiverr regarding “WordPress Development” job, but actually, it had nothing to do with Development, but rather just building PBN’s. For those of you that don’t know...
Add the following code to your active theme’s functions.php file and then add this shortcode [show_ip] anywhere on your website where you want the IP to display. /** * IP shortcode*/ function get_the_user_ip() { if ( ! empty(...
To remove the WordPress version number simply add the following code in your functions.php file or custom plugin: /** * Remove WordPress version number*/ function custom_remove_version() { return ''; } add_filter('the_generator'...
Add the following code to your active theme’s functions.php file and then add this shortcode [wpm_total_comments] anywhere on your website where you want the total number of comments to display. /** *Display total number of WordPress...
To dispaly post ID’s in your WordPress admin dashboard add the following php code in your theme’s functions.php file: /** *post ID*/ add_filter('manage_posts_columns', 'posts_columns_id', 5); add_action('manage_posts_custom_column'...