Genesis Media Project
getting videos to show in loop/rss/recent psots (1 post)

  1. jsinfonico
    Posted 2 years ago #


    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?:

    		'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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Genesis Media Project
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic