Snippets Collection 5


How To Set A Maximum Word Count On Post Titles

Adding the following snippet to your theme’s functions.php file, you will be able to set a maximum word count on post titles.

Snippet Source/Credit: Pippin

Displaying WordPress Excerpt Dynamic Length

The following snippet display the WordPress excerpt dynamic length.

Snippet Source/Credit: Snipplr

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 Set Basic Tag Cloud In WordPress

The following line of code will let you set basic tag cloud in WordPress.

How To Know That Which Theme You Are Using

Adding the following lines of code will let you know that which theme you are using.

Snippet Source/Credit: Snipplr

How To Change Editor Font In WordPress

The following snippet will let you change editor font in WordPress.

Snippet Source/Credit: DevPress

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