Ten ‘Must’ WordPress Snippets For Your Blog

Computer Program -3

Reduce spam by using .htaccess

Adding the following shortcode will let you reduce spam on your WordPress blog by using .htaccess. Simply paste the following lines into your .htaccess file but also make a note that you do make a backup of your .htaccess file before editing it.

Source: AllGuru.net

Display a thumbnail of any website

Simply paste the code below into your functions.php file.

Once done, you can use the snap shortcode:

Source: Geekeries.fr

Easily remove weird characters from your WordPress database

The shortcode will remove the weird characters from your WordPress database. All you have to do is simply run the following SQL query on your nWordPress database via the command line client or PhpMyAdmin.

Source: Jeff Starr

How to change WordPress editor font

Adding the following shortcode to your functions.php file will let you change the default WordPress editor font.

Source: DevPress

Removing the “read more” jump

Adding the shortcode into your functions.php file will remove the “read more” link from your blog which will automatically takes you to the article page.

Source: Alex Denning

Quick maintenance mode

Paste the following code into your functions.php file and you will be able to easily implement a maintenance mode on your WordPress blog.

Source: Skyje

Disable theme changing

Simply paste the code in your functions.php file to disable theme changing.

Source: Steve Taylor

Redirect feeds to a single format

Adding the following shortcode to your .htaccess file will let you direct all your feeds to a single format.

Source: Digging into WordPress

Simpler WordPress login url

Adding the following code to your .htaccess file will let you have the simpler WordPress login url.

Source: Kevin Chard

How to modify size of embedded videos

On adding the following shortcode to your theme’s functions.php file will let you modify the size of embedded videos.

Source: Shailan

Photo Credit: Flickr/hackNY.org

The Editorial Team

The Editorial Team

The Editorial Team at JustWP is a team of WordPress experts led by Karan Chopra.

You may also like...