What can I do if WordPress requests the FTP connection information for the update?
In general, this problem occurs when file or folder permissions are not set correctly. If this has been checked but the problem persists, the following entry should be made in wp-config.php: define(‘FS_METHOD’, ‘direct’); If this does not solve the problem, you should check whether the web space on the server has been used up.
How can I hide an activated plugin in the plugin list in the backend?
With the following code in the functions.php. function hide_plugin_trick() { global $wp_list_table; $hidearr = array(‘plugin-folder/plugin.php’); $myplugins = $wp_list_table->items; foreach ($myplugins as $key => $val) { if (in_array($key,$hidearr)) { unset($wp_list_table->items[$key]); } } } add_action(‘pre_current_active_plugins’, ‘hide_plugin_trick’); However, if the plugin also makes an entry in the backend page menu, it will not be hidden by this code.
How do I remove the X button that appears when I use the Elementor search form in full screen mode?
input.elementor-search-form__input::-webkit-search-cancel-button { display: none; }
How can I regenerate thumbnails?
If the settings for image sizes have been adjusted, a large number of images are often not stored correctly in the system. In this case, these should be regenerated. The “Force Regenerate Thumbnails” plugin provides an automatic solution here.
How can I add another column for the file size in the media library?
It is certainly not an everyday question, but an additional column in the media library for the file size in the list view can be a great help to find files that are too large so that they can be optimized afterwards. add_filter(‘manage_upload_columns’, ‘bp_add_column_file_size’); add_action(‘manage_media_custom_column’, ‘bp_column_file_size’, 10, 2); add_action(‘admin_head’, ‘bp_add_media_styles’); // Create the column function […]
What can I do if no CSS loads in the backend?
One possibility is to make the following additions to the wp-config.php file: define( ‘CONCATENATE_SCRIPTS’, false ); define( ‘SCRIPT_DEBUG’, true );
How to prevent converting to html entities?
To do this, the following code must be integrated into the functions.php: add remove_filter( ‘the_title’, ‘wptexturize’ );
What do I do if an embedded video is displayed with incorrect dimensions?
If Borlabs Cookies is in use, the problem may be caused by the content blocker for the Youtube videos. But there is a simple solution. Go to Borlabs Settings > Content Blocker > Youtube and activate the video wrapper under the advanced settings.
How to remove unnecessary scripts and CSS files from a theme?
Not all scripts and CSS files that themes and plugins use are needed. So there is optimization potential here, which is especially advantageous when loading the website. 1.) The first step is to find out the ID. This is best done with the Inspector. <link rel=’stylesheet’ id=’default_styles-css’ href=’https://example.com/wp/wp-content/themes/example/style.css’ type=’text/css’ media=’all’ /> 2. If the ID […]
How to access the WordPress plugin repository?
As a WordPress plugin developer, you get access to the repository from where the plugin is output to the WordPress directory. However, at the first moment the question arises how to transfer your file to the repository. Solution: The free TortoiseSVN allows you to do exactly that. If you enter your repository URL here, you […]