Display single, most recent video from gallery on homepage? (4 posts)

  1. kcorcoran
    Posted 3 years ago #

    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.



  2. Eric
    Plugin Author

    Posted 3 years ago #

    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?

  3. kcorcoran
    Posted 3 years ago #

    Absolutely makes sense.. thanks.

  4. kcorcoran
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TubePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic