WordPress Tips, Tricks & Tutorials

Through the years of working with WordPress I have learned a lot of tricks and in this section I will post various WordPress tutorials for helping you set up, customize or create WordPress themes.


Exclude Featured Image From WordPress Image Attachments Loop

Exclude Featured Image From WordPress Image Attachments Loop

A quick code snippet showing you how to easily exclude the featured image of a post from the get_posts image attachment loop by excluding the image ID from the loop.

Custom Background Not Working In WordPress 3.3

Custom Background Not Working In WordPress 3.3

A super quick fix if your custom background is no longer Working in WordPress 3.3 after upgrading.

Show WordPress Page Content & Title By ID With Get_Post

Show WordPress Page Content & Title By ID With Get_Post

A quick post showing you how you can query or get a specific page in Wordpress using the ID and the get_post function.

Exclude Taxonomy From WordPress Post Type

Exclude Taxonomy From WordPress Post Type

A quick sample of how to use the Wordpress tax_query to exclude custom taxonomies in a custom post type loop. Exclude one or multiple taxonomies via an array.

Exclude Post Formats From WordPress Custom Loop

Exclude Post Formats From WordPress Custom Loop

A quick tutorial showing you how to easily exclude post formats from your custom loops by using the tax_query parameter and the get_posts loop method.

Localize & Translate Your WordPress Themes

Localize & Translate Your WordPress Themes

A tutorial showing you how to localize your Wordpress theme, create .mo and .po files and how to use the files to translate the theme into your own language.

Changing Slider Dimensions In The Classy WordPress Theme

Changing Slider Dimensions In The Classy WordPress Theme

A quick tutorial showing you in 4 easy steps how to change the size of your image and content sliders in the premium Classy WordPress Theme by WPExplorer.

Adding Multiple Custom Excerpt Lengths In WordPress

Adding Multiple Custom Excerpt Lengths In WordPress

In this post you’ll find a great function for creating multiple custom excerpt length’s throughout your theme so you don’t have the same length for each section.

Creating A Toggle Shortcode For WordPress FAQ’s Page

Creating A Toggle Shortcode For WordPress FAQ’s Page

A tutorial showing you how to easily create a toggle shortcode for WordPress using javascript and CSS so you can set up a FAQ’s page on your site.

Clean Up WordPress Shortcode Formatting

Clean Up WordPress Shortcode Formatting

If you are having problems with WordPress adding extra empty paragraph (p) tags inside your shortcodes you can use this function to clean up the default formatting.

How To Load Scripts In WordPress Only If A Post Has A Shortcode

How To Load Scripts In WordPress Only If A Post Has A Shortcode

A nice function that tests if a post has a specific shortcode you define and if so it loads your scripts. Perfect for loading javascript only when needed.

Exclude A Category From Your WordPress Feed

Exclude A Category From Your WordPress Feed

A quick function that will allow you to easily exclude any category from your Wordpress feed via the Category ID. Simply copy and paste in your functions.php file and change the ID number.