WordPress messing up shortcodes adding p tags: FIX

After great frustration with this I finally found an IMMENSELY simple answer. If you have custom shortcodes using HTML tags the WordPress ediotr may mess them up adding the normal “p” tags within it. Just add this code to your functions.php file and add the “raw” short code on either side… problem SOLVED.

Grab the Function code here

WP_query exclude custom category posts of a custom taxonomy

So let’s say you created categories of a custom post type and then use a template to display those posts using the WP_query() function. THEN you want to filter those results further by excluding a particular custom category or categories you created. Look no further…

Straight from the WordPress Comments section: Click Here for the code