snippets

Add Text Shadow Using CSS

Add Text Shadow Using CSS

The text shadow CSS property adds shadows to text. It accepts a comma separated list of shadows to be applied to the text and text-decorations of the element. Each shadow is specified as an offset from the text, along with optional color and blur radius values. Multiple shadows a

Read More
Add Custom Colors in Editor's Color Picker

Add Custom Colors in Editor's Color Picker

How to add custom colors in editor’s color picker? Is it possible to add more colors in WordPress editor color picker? Yes as a WordPress developer it is possible to add more and more color in WordPress editor color picker. This short snippet will add three colors (#15

Read More
Display Performance Statistics Of WordPress

Display Performance Statistics Of WordPress

I know Everyone is familiar with the following information. It is Performance Statistics of WordPress Pages <!-- 57 queries in 0.533 seconds --> These statistics are usually seen in the footer area of individual pages and serve as a general indicator of performance. The &ld

Read More
Easy Way To Create WordPress Theme Options Page

Easy Way To Create WordPress Theme Options Page

WordPress is a powerful and extremely popular CMS around the world. The platform is lauded for its vast collection of fantastic themes, which not only revamp your website appearance, but also make it truly functional. While playing around themes in WordPress, you must have encoun

Read More
Display Random Posts with Thumbnails in WordPress

Display Random Posts with Thumbnails in WordPress

In this tutorial I will explain how to display random post with thumbnails in WordPress sidebar, footer or other place. Especially where you want. This tutorial will help you avoiding plugins to display random posts with thumbnails. After complete the below steps your random

Read More
Login with Username or Email Address to WordPress

Login with Username or Email Address to WordPress

Simply add this WordPress snippet to the functions.php of your WordPress theme. This code will let users login using an email address or a username. The second snippet will change the text on the login page from “username” to “username / email” but feel fr

Read More
Disable HTML in WordPress Comments

Disable HTML in WordPress Comments

WordPress allows some HTML tags like <a>, <em>, <strong> within comment text. But if you would like to disable this feature on your blog to prevent users from adding any HTML content within comment text, add this function to your theme’s functions.php file

Read More
Get Category Name by Category ID in WordPress

Get Category Name by Category ID in WordPress

If you want to create a newspaper site or blog site like newspaper you need to display post base on category. Here I have added a WordPress Snippets which will display category name by Category ID. <?php echo get_cat_name(4);?> Here get_cat_name(4) is my Selected Ca

Read More

1   2   3   4   5       Next



Newsletter Subscription

Enter your email address:

Delivered by FeedBurner