WordPress Snippets – Part 5

Programming-3

How To Add Custom Pinterest Button In Your WordPress Website

Using the following snippet will let you add custom pinterest button in your WordPress website.

Add to your header above the body tag

Edit and add to your page where you want your button to appear.

Snippet Source/Credit: flashalexander.com

How To Remove WordPress Standard Gallery Style

On simply adding the following snippet to your theme’s functions.php file, you will be able to remove WordPress standard gallery style.

How To Resize Image Using TimThumb

Using the whole timthumb script, which being saved as sized.php file in the theme directory, you will be able to resize image.

Snippet Source/Credit: Binarymoon

How To Position Admin Metaboxes Before Editor

With the help of the snippet below, you will be able to position admin metaboxes before editor.

Snippet Source/Credit: Snipplr

How To Set Adjacent Post By Alphabetical Order

Using the following snippet will let you get next and previous posts by alphabetical order.

Source: Snipplr

How To Simulate A View Of A Page With JavaScript Onclick

Using the following snippet, you will be able to simulate a view of a page with JavaScript onclick.

Snippet Source/Credit: Reiffs.dk

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...