Category: Wordpress
-
WordPress 3.9.2 Security Release
WordPress 3.9.2 is now accessible as a security release for all preceding variants. We encourage you to upgrade your websites instantly. This release fixes a potential denial of service issue in PHP’s XML processing, reported by Nir Goldshlager of the Salesforce.com Merchandise Security Team. It was repaired Andrew Nacin of the WordPress security team and…
-
WordPress 4.0 “Benny”
Version 4.0 of WordPress, named “Benny” in honor of jazz clarinetist and bandleader Benny Goodman, is availableA for download or upgrade in your WordPress dashboard.A While 4.0 is simply another amount for us after 3.9 and before 4.1, we believe we’ve set a little extra polish into it. This release brings you management expertise and…
-
How to Delete Existing WordPress Post Revisions
To remove all existing post revisions entries from WordPress database Posts table, simply login to MySQL phpMyAdmin. Select the appropriate WordPress database, and then issue the following command: DELETE FROM wp_posts WHERE post_type = “revision”; it’s recommended to backup the database before performing the deletion SQL statements.
-
How to Add Default Content in WordPress Post
Open WordPress theme’s functions.php file ( or child theme functions.php ) and paste the following code within the PHP tags. add_filter( ‘default_content’, ‘my_editor_content’ ); function my_editor_content( $content ) { $content = ‘This is default wp editor content. Shortcode are welcome!’; return $content; }
-
WordPress Create Child Theme
A WordPress child theme is a theme that inherits the functionality of parent theme. Child theme allows you to modify, or add to the functionality of that parent theme. Create a directory in themes directory to hold the child theme. You should name the directory without any space as part of the name, and it…
-
Protect wordpress wp-login with ModSecurity
Protect your wordpress installation (wp-login.php) against brute force attack with ModSecurity. Login to your WHM as root Install Modsecurity if it isn’t installed Go to the “Plugins” section. Click on “Mod Security” Click on “Edit Config” COPY and PASTE the code below SecAction phase:1,nolog,pass,initcol:ip=%{REMOTE_ADDR},initcol:user=%{REMOTE_ADDR},id:5000134 <Locationmatch “/wp-login.php”> # Setup brute force detection. # React if block flag has been…
-
Locate and replace text across an entire WordPress web site
There are times when you might have a site that has 500 posts, and you made a decision to switch your domain name and write-in images were being used by you for your own thumbnails in the field that is custom. Now you have an enormous problem as you have to go and replace each…
-
How to disable wordpress wp-cron
Evidently there is a huge problem with wp-cron being spawned multiple times which will overload your server. DISBALE wp CRON in wp-config.php: Open your wp-config.php Add next code: define(‘DISABLE_WP_CRON’, ‘true’); Save your wp-config.php file Now, Go to your cpanel account and add CPANEL cron: click on Cron Jobs. under section Add New Cron Job Select Once…