To hide the Jetpack menu for subscribers and regular users, it’s enough to add the following code to the active theme functions.php file: Also for this there are several plugins, but those that came across to me are quite old.
I noticed some error when activating Jetpack: The Jetpack server encountered the following client error: Verification secrets not found The reason was found in restricted access over IP through .htaccess to the file wp-login.php, as it turned out that access to this file can not be blocked if Jetpack is used. That’s why I found […]
Recently, on the WordPress site, I noticed the problem of sending messages via Contact Form 7 from devices with the iOS operating system. If you used Google reCAPTCHA, when you clicked on the Send button, the page was updated for a very long time and reCAPTCHA reported a wait error, if you disable reCAPTCHA, then […]
To remove the inscription «Proudly powered by WordPress», which is usually displayed at the bottom of each page, you need to edit the footer.php file of the active theme (for example, if the twentyfifteen theme is active, then /wp-content/themes/twentyfifteen/footer.php). Namely, clear the content between the following tags: Also noticed that if you use Jetpack with […]
To change the WordPress theme via MySQL, first see what theme is specified at the moment, for this, execute the SQL query via phpMyAdmin or MySQL client: Next, see what themes are in the /wp-content/themes/ directory. For example, to change to the standard Twenty Fifteen theme, let’s execute three SQL queries:
To disable all WordPress plugins via MySQL, you must: 1) Be sure to make a backup copy of the database. 2) Open the phpMyAdmin or MySQL client from the terminal: 3) Execute the SQL query (if necessary, specify the correct prefix wp_): After that, all plug-ins will be disabled and you can activate them again […]
In more detail, I will describe the steps of installing WordPress manually in Ubuntu / Debian. Install the necessary components: Next, you need to create a database, the user and give him full rights to this database, here is an example of how to do this using mysql-client. Connect to mysql: Create a database: Create […]
You can disable the update of a particular or all WordPress plug-ins in several ways, I’ll describe several of them: 1) Disable the update of a particular plug-in by changing its version in the code, for example to 99.9, but do not forget to comment out its real version in case you need to update. […]
Here are some examples of SQL queries for a WordPress database, where ‘TEXT’ provide your data.
I recently set up SSL certificates on several WordPress sites. The sites were hosted on a dedicated server under the control of Ubuntu, on this first thing I created a directory for certificates and switched to it: Enable the SSL module for Apache2 if it is not enabled: Then I generated the certificate: In the […]