WP Snipp Ninja

WordPress Snippets

How to remove Genesis Framework post meta along with the Footer wrap on blog loop and single.php?

Hello, In this article, I will show you how to remove the footer wrap when removing the post meta in…

Create a query from a single category slug

The function below creates a WP_Query object and takes two variables. $cat – category slug and $per_page – how much…

Get current category (taxonomy) children and prepare them for options element

Today I will share something that I use often. Getting the children of the current queried category or taxonomy and…

How to add HTML elements to Contact Form 7 (Multi Select Checkbox)

You can place HTML form elements in Contact Form 7 plugin form editor. Yes, that is correct. The example shows…

Limited Number of Tags after Posts in your Custom WordPress Theme

Snippet: How to limit the number of displayed tags in your post template? If you want to limit the number…

How to get_the_content with proper formatting inside functions.php?

To get the post or page content inside WordPress functions.php with all the HTML tags you need to use the_content…

How to create jQuery driven “Read More” button for displaying large content blocks?

Hiding long content sections is something that sometimes is necessary to make a design look a bit better instead of…

How to disable WordPress Emoticones in your functions.php?

Emojis are little icons used to express ideas or emotions Don’t forget to back-up your functions.php before implementing these codes….

How to add Featured image support to WordPress theme?

Featured Images come after WordPress Version 3.0. Featured Image, is an image that is chosen as the representative image for…