Cant enter admin page with SSL
Not sure what the exact problem here is but you could try adding the following line in wp-config.php file define(‘FORCE_SSL_ADMIN’, true); Let me know how this works out.
Not sure what the exact problem here is but you could try adding the following line in wp-config.php file define(‘FORCE_SSL_ADMIN’, true); Let me know how this works out.
Add the following code to your widget code: function fileSizeInfo($filesize) { $bytes = array(‘KB’, ‘KB’, ‘MB’, ‘GB’, ‘TB’); if ($filesize < 1024) $filesize = 1; for ($i = 0; $filesize > 1024; $i++) $filesize /= 1024; $dbSizeInfo[‘size’] = round($filesize, 3); $dbSizeInfo[‘type’] = $bytes[$i]; return $dbSizeInfo; } function databaseSize() { global $wpdb; $dbsize = 0; $rows … Read more
This code will boot out a user if they haven’t authored a post. For the purposes of this example, posts with a status of publish are considered “authored”. I’ve added some comments in the code to walk you through what’s going on – please reach out to me if you have any questions. <?php // … Read more
I’d look at your error.log file just after you access the admin page. I’d suspect that there is a plugin code that is failing on the admin page. The error log might point you to the culprit. Alternately, you could disable recently added/updated plugins by renaming that plugin’s folder (in wp-content/plugins folder), which will effectively … Read more
For sure not only your Posts include Code. There will be also hacked php files. Cleaning the posts wont help until the secuity hole is fixed. After closing the secuity hole you could use Better Search an Replace for Replacing the Code.
While this could be caused by a variety of different issues, here are some general steps to take to try and troubleshoot it. Completely delete the plugin (deactivate and then delete files) and then re-install it. Simple, I know, but often works wonders. Try uploading the plugin files manually as well as installing from within … Read more
Some themes and plugins change the style of Admin Dashboard. Try changing the theme also once. It is more likely that a theme or plugin caused the issue rather than changes in WordPress back end code.
There’s nothing WordPress-specific about this, just some simple php: // generate an array of numbers $numbers = range( 1, 8 ); // shuffle the array in random order shuffle( $numbers ); // use the first 4 values from the randomized array of numbers echo eh_get_option( ‘eh_slide_image_’ . $numbers[0] ); echo eh_get_option( ‘eh_slide_image_’ . $numbers[1] ); … Read more
Yes this is possible. Add the following to either your plugin code or the theme’s functions.php file: function mypo_parse_query_useronly( $wp_query ) { if ( strpos( $_SERVER[ ‘REQUEST_URI’ ], ‘/wp-admin/edit.php’ ) !== false ) { if ( !current_user_can( ‘update_core’ ) ) { global $current_user; $wp_query->set( ‘author’, $current_user->id ); } } } add_filter(‘parse_query’, ‘mypo_parse_query_useronly’ ); Reference original … Read more
I like the WPScan Vulnerability Database. Only the security updates are shown. If you check that page every day with the Update Scanner addon in firefox, when you open the browser you get the updates, if any. You have also an email alert subscription option (I’ve not used it)