Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chris

    (@zenation)

    Yes, you can add a “start” attribute to your shortode or enter a number in the “offset” field in the widget). I know the naming is a bit inconsistent..

    So [relatedYouTubeVideos relation=”postTitle” max=”1″ start=”2″] would give you a different video than [relatedYouTubeVideos relation=”postTitle” max=”1″] for example.

    offset/start=”0″ is the default and means that no video is being skipped

    offset/start=”1″ means that the first item that’s returned from YouTube is being skipped and the second is shown, etc.

    Plugin Author Chris

    (@zenation)

    Hi,
    there is also a new parameter, “random”, that allows you to display random videos from a cerain pool.

    [relatedYouTubeVideos relation="keywords" terms="fast cars" max="2" random="10"]

    would show 2 random videos out of the 10 best results coming from YouTube, etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show different results for 2 sites?’ is closed to new replies.