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.
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.
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.
A super quick fix if your custom background is no longer Working in WordPress 3.3 after upgrading.
A quick post showing you how you can query or get a specific page in Wordpress using the ID and the get_post function.
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.
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.
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.
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.
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.
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.
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.
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.
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.
© Copyright Premium WordPress Themes // Site Privacy & Terms // WPExplorer.com runs on (but is not affiliated with) WordPress ~ so should you!