WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Media Project
Video posts in the loop (4 posts)

  1. miri
    Member
    Posted 2 years ago #

    I just installed this and am wondering: what do I need to do to get videos to show up in the standard loop? I'd like to have them mixed in with normal posts.

    Thank you!

    http://wordpress.org/extend/plugins/genesis-media-project/

  2. Nick the Geek
    Member
    Plugin Author

    Posted 1 year ago #

    Where do you want them "mixed in?" Do you have a default list of latest posts on the front page or are you using the Blog page template or something else?

  3. miri
    Member
    Posted 1 year ago #

    Right now, when I use the standard loop, only blog posts get shown. Can this loop also include posts of the video type? I'd like this on the home page and archive pages.

  4. Nick the Geek
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, the loop can show the video posts. You need to change the post_type value you array( 'post', 'video' ). The best way to do that is with the pre_get_posts action.
    http://billerickson.net/customize-the-wordpress-query/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.