I know there's already a related post on this, but I'm trying to get the video posts from gmp to show in the loop, and ultimately the rss feed and recent posts category (alongside the standard posts).
I've tried several codes, but am somewhat of a novice. This is my most recent code I posted into functions, can you tell me if something is off or if this is even the right route to be taking?:
add_filter('pre_get_posts', create_function('$query', 'if ($query->is_feed) $query->set("post_type",array("post", "video")); return $query;' ) );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]
Thanks for your time and plugin.