Support » Plugin: YouTube Channel » Suggestion: show only the latest video, less one.

  • Resolved Alessandro

    (@pinoperino)


    Hi Aleksandar, I love your plugin and I have a suggestion for a feature.
    I’m using the code generated from your plugin with Ad Inserter, in this way I have my youtube feed in my post without adding them manually.

    What I would like to reach is this result.
    ————-
    Title of the post

    Paragraph
    [latest video]
    Paragraph
    [latest video-1]
    Paragraph
    [latest video-2]
    Paragraph
    [latest video-3]
    Paragraph
    ————-

    In this way I have all my four latest video without modifying everything manually.

    Right now I’ve set it to take the latest four videos and do the random thing and then I posted the same snippet four times with Ad Inserter. The problem is that sometime the same video is choosen by the random algorithm.

    What do you think, is it possible?

    Thank you in advance and have a good day!
    Alessandro

    • This topic was modified 2 weeks, 2 days ago by Alessandro.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aleksandar Urošević

    (@urkekg)

    Hello @pinoperino,

    Thank you for choosing YouTube Channel and proposing a very interesting feature! 🙂

    If you are OKay to test an initial version of this feature, please download the plugin from https://github.com/urosevic/youtube-channel/tree/skip-items

    Please note, this is an initial version which will work if you use skip values up to 10 and fetch over 20, while for larger numbers I have to slightly improve implementation before release.

    To use this feature, just add to your shortcodes skip=N parameter, eg:

    Title of the post

    Paragraph
    [youtube_channel]
    Paragraph
    [youtube_channel skip=1]
    Paragraph
    [youtube_channel skip=2]
    Paragraph
    [youtube_channel skip=3]
    Paragraph

    Let me know if that works for you?

    Kind regards,
    Aleksandar

    Alessandro

    (@pinoperino)

    Hello Aleksandar,
    Wow, you are super fast! I’ll try it and I’ll let you know.
    Thank you again.
    Alessandro

    Ps. My compliments to your parents for your beatiful name! 🙂

    I just tested the beta plugin and it works perfectly!

    Really, thank you a lot. Your plugin should really have way more downloads and reviews!

    Alessandro

    • This reply was modified 1 week, 5 days ago by Alessandro.
    Plugin Author Aleksandar Urošević

    (@urkekg)

    Good morning @pinoperino,

    Thank you for the name reference, congrats are mutual 🙂

    Once I release a new version of the plugin with this improvement, you’ll keep functionality as it is without further changing shortcodes.

    Cheers,
    Aleksandar

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.