WordPress Themes, Plugins, Tutorials, Tips And More...

Tag: WordPress Snippets Page 2 of 6

Best Of WordPress Snippets Part – 5

Programming-7

How To Integrate The WordPress Media Uploader Into Your Plugin

The following snippet will let you integrate the WordPress media uploader into your plugin.

Snippet Source/Credit: FatFolderDesign

How To No-Follow WordPress Tag Cloud

The following snippet will let you have the no-follow WordPress tag cloud.

Snippet Source/Credit: Snipplr

How To Limit WordPress the_content By Words

With the help of snippet below, you will be able to limit WordPress the_content by words.

Snippet Source/Credit: StackExchange

How To List Author Comments On Author Page

Using the following snippet, you will be able to list all the author comments on authors page.

Snippet Source/Credit: StachExchange

First And Last Result Of WP_Query In WordPress

With the help of snippet below, one can get to know that when was the first and last time, user called the query.

Snippet Source/Credit: Snipplr

Best Of Snippets Collection – 1

Programming-6

How To Remove Existing Information From WordPress

The following snippet will let you remove existing information from WordPress.

Snippet Source/Credit: readers-cafe.net

Delete Width And Height Attributes From Image Tag

The following snippet will let you delete both width and height attributes from image tag.

Snippet Source/Credit: Stackexchange

Displaying WordPress Excerpt Dynamic Length

The following snippet display the WordPress excerpt dynamic length.

Snippet Source/Credit: Snipplr

How To Display Twitter Followers Image List

Using the following snippet, one can display Twitter followers image list.

Snippet Source/Credit: Snipplr

Best Of WordPress Snippets Part – 4

Programming-6

How To Get An RSS Feed And Display Items With A Loop

Use of the following snippet will let you get an RSS feed and display items with a loop.

Snippet Source/Credit: DanGayle.com

How To Get Attachments For Post Or Page

Using the following snippet below will let you get attachments for posts or pages.

Snippet Source/Credit: Stack Overflow

How To Have Custom Menus For Different Category/Page/Post

The following snippet will let you have custom menus for different category, page or post respectively.

Snippet Source/Credit: WordPress Code 1, 2, 3, 4

How To Remove WordPress Version Meta

Using the following snippet in your theme’s functions.php file, you will be able to remove WordPress version meta.

How To Have WordPress Domain Check

Using the following snippet will let you have your WordPress domain check.

Snippet Source/Credit: Snipplr

Best Of WordPress Snippets Part – 3

Programming-2

How To Render Your Twitter Followers Count In Your WordPress Blog

Adding the following snippet to your theme’s functions.php file, you will be able to render your Twitter followers count. Also, remember to replace “planetabhi” with your own Twitter screen name.

Snippet Source/Credit: Snipplr

How To Use Gravatars In Your Script

The following snippet will let you use gravatars in your script.

Snippet Source/Credit: AppHP

How To Generate Your Own Portfolio With Filtering Based On Taxonomy

Using the following snippet will let you generate your own portfolio with the help of filtering based on taxonomy.

Snippet Source/Credit: ToddWilson

How To Get Template For WordPress Widget

Using the following snippet will let you get template for WordPress widget.

Snippet Source/Credit: Snipplr

Best Of WordPress Snippets Part – 2

Programming-1

How To Include jQuery In WordPress Theme

The following snippet will let you include jQuery in WordPress theme.

Snippet Source/Credit: Snipplr

How To Know That Which Template Are You Using In Your WordPress Website

Using the following snippet, you will be able to get to know that which template you are using in your WordPress website.

Snippet Source/Credit: Snipplr

How To Move And Rename ‘Featured Image’ Box

Add the following snippet to your theme’s functions.php file will let you move and rename “featured image” box.

Snippet Source/Credit: WordPress.org

How To Remove Default Author Profile Fields In WordPress

With the help of following snippet, you will be able to remove default author profile fields in WordPress.

Snippet Source/Credit: Snipplr

How To Use LESS In WordPress

With the help of following snippet, you will be able to use LESS in WordPress.

Snippet Source/Credit: eckstein.id.au

Best Of WordPress Snippets Part – 1

Programming-4

How To Display Twitter Followers Image List

The following snippet displays the Twitter followers image list.

Snippet Source/Credit: Snipplr

How To Delete Width And Height Attributes From Image Tag

The following snippet will let you delete both width and height attributes from image tag.

Snippet Source/Credit: Stackexchange

How To Define WordPress Template

The following snippet will let you define WordPress template.

Snippet Source/Credit: WordPress.org

How To Display WordPress Excerpt Dynamic Length

The following snippet display the WordPress excerpt dynamic length.

Snippet Source/Credit: Snipplr

How To Execute Shortcode From Custom Field

Using the snippet below will let you execute shortcode from custom field.

Snippet Source/Credit: Leeboyce.co.uk

Best Of WordPress Snippets RoundUp – 5

Programming-3

How To Add Featured Image To RSS Feed In WordPress

Using the following snippet, you will be able to add featured image to RSS feed in WordPress.

Snippet Source/Credit: WPSnipp

How To Add Nofollow Attribute To Category Specific Links In WordPress

Using the following snippet, you will be able to add nofollow attribute to category specific links in WordPress.

Snippet Source/Credit: WPRecipes

Get Parent Id For WordPress

Using the following snippet, you will be able to get Parent Id for WordPress.

Snippet Source/Credit: Snipplr

How To Remove Widgets From WordPress Dashboard

Using the following snippet, you will be able to remove widgets from WordPress dashboard.

Snippet Source/Credit: WP Guru

How To Replace ‘Howdy, Admin’ In WordPress With Something Else

The following snippet will let you replace “Howdy, Admin” in WordPress.

Snippet Source/Credit: Snipplr

Best Of WordPress Snippets RoundUp – 4

Programming-1

How To Delete Links In Comments In WordPress

Using the following snippet, you will be able to delete links in comments in WordPress.

Snippet Source/Credit: Snipplr

How To Block Admin For All Users In WordPress

Using the following snippet you will be able to block admin for all users in WordPress.

Snippet Source/Credit: WPSnipp

How To Create Custom Terms Admin Column In WordPress

Using the following snippet, you will be able to create custom terms admin column in WordPress.

Snippet Source/Credit: WP-Snipp

How To Create Page On Theme Activation In WordPress

Using the following snippet, you will be able to create page on theme activation in WordPress.

Snippet Source/Credit: WPCanyon.com

How To Automatically Link Twitter Usernames In WordPress Posts

Using the following snippet, you will be able to automatically link Twitter usernames in WordPress posts.

Snippet Source/Credit: Paulund.co.uk

How To Add A Logo To A Template

Using the following snippet, you will be able to add a logo to a template.

Snippet Source/Credit: WPSnipp

Best Of WordPress Snippets RoundUp – 3

Programming

How To Remove WordPress Version From Head And Feeds

Using the following snippet, you will be able to remove WordPress version from head and feeds.

Snippet Source/Credit: Snipplr

How To List All Available WordPress Roles

Using the following snippet, you will be able to list all available WordPress roles.

Snippet Source/Credit: WPSnipp

How To Have A Featured Image Before You Can Publish Post In WordPress

Using the following snippet, you will be able to have a featured image before you can publish post in WordPress.

Snippet Source/Credit: WPDevSnippets

How To Customize Comment Count Text In WordPress

Using the following snippet, you will be able to customize comment count text in WordPress.

Snippet Source/Credit: WPSnipp

How To Display Posts In Random Order In WordPress

Using the following snippet, you will be able to display posts in random order in WordPress.

Snippet Source/Credit: Snipplr

Best Of WordPress Snippets RoundUp – 2

Programming-2

How To Set Default Attachment Display Settings In WordPress

Using the following snippet, you will be able to set default attachment display settings, alignment, and link in WordPress.

Snippet Source/Credit: WordPress Codex

How To Show All Active Plugins In WordPress

Using the following snippet, you will be able to show all active plugins in WordPress.

Snippet Source/Credit: Snipplr

How To Rename WordPress Folder

Using the following snippet, you will be able to rename WordPress folder.

Snippet Source/Credit: Snipplr

How To Register Taxonomy For Your WordPress Pages

Using the following snippet, you will be able to register taxonomy for your WordPress pages.

Snippet Source/Credit: WordPress Codex

How To Remove Image Sizes From Media Upload Gallery In WordPress

Using the following snippet, you will be able to remove image sizes from media upload gallery in WordPress.

Snippet Source/Credit: WPSnipp

Page 2 of 6

Powered by WordPress & Theme by Anders Norén