WordPress.org

Support

Support » Plugins and Hacks » Display single, most recent video from gallery on homepage?

Display single, most recent video from gallery on homepage?

  • kcorcoran
    Member

    @kcorcoran

    Checked out the documentation and I need to be able to display only the most recent video form my gallery on an area of my homepage.

    I see how you can directly embed a video with its youtube ID…

    [tubepress video=”J51kfduN5aA”]

    But how can I do the same to display the latest video in the feed?

    Since I am not using PRO I assume I will need to create a page which holds the appropriate shortcode and display the contents of that page in my homepage layout.

    Just need to know how to pull in that ‘most recent’ video id.

    Thanks.
    keith.

    http://wordpress.org/extend/plugins/tubepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eric
    Member

    @k2eric

    Hi Keith,

    The resultCountCap and orderBy options can get this done. Set the value for resultCountCap to “1” either from WP Admin > Settings > TubePress > Feed, or in your shortcode:

    [tubepress resultCountCap="1" orderBy="newest"]

    That will limit the results to just the single, latest video from any video feed. Make sense?

    kcorcoran
    Member

    @kcorcoran

    Absolutely makes sense.. thanks.

    kcorcoran
    Member

    @kcorcoran

    Ok so I undrestand that and vot it to work however I tried to create a page with a single video and display the contents of that page (the video) in a slider on my homepage but it isnt showing up.

    How would I display a single video as a slide on a slider or within a spot on my homepage by modifying my page’s template?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display single, most recent video from gallery on homepage?’ is closed to new replies.