WordPress.org

Forums

Youtube Channel Gallery
[resolved] Ordering Newest Videos on Playlists (7 posts)

  1. tdthekid
    Member
    Posted 2 years ago #

    After using the gallery to embed playlists on my site I noticed it wasn't ordered by newest video like I have it on the playlist.

    http://theinsanegamefreak.com/videos/main-channel-theinsanegamefreak/anime-reviews/

    I have the newest version of the plugin.

    [Youtube_Channel_Gallery feed="playlist" user="PL2B71AB602BB2086B" videowidth="920" ratio="16x9" theme="light" color="blue" autoplay="1" rel="1" showinfo="1" maxitems="12" thumbwidth="281" thumbratio="16x9" thumbcolumns="3" title="1" description="0" thumbnail_alignment="left" descriptionwordsnumber="0"]

    Am I missing some code?

    http://wordpress.org/extend/plugins/youtube-channel-gallery/

  2. PoseLab
    Member
    Plugin Author

    Posted 2 years ago #

    Hi tdthekid

    Update to the 1.7.5 version. Let me know if you have any problem

  3. tdthekid
    Member
    Posted 2 years ago #

    So I updated it and it kinda works. On some pages it works fine but on others i get the following error code:

    Fatal error: Call to undefined method WP_Error::enable_order_by_date() in /home/tdthekid/public_html/wp-content/plugins/youtube-channel-gallery/youtube-channel-gallery.php on line 620

  4. petro23
    Member
    Posted 2 years ago #

    After upgrading to 1.7.5 I have the same problem.
    Concretely, this code is not working
    [Youtube_Channel_Gallery feed="playlist" user="PL8F1A9C6916AFC872" videowidth="580" ratio="16x9" theme="light" color="white" autoplay="0" rel="0" showinfo="0" maxitems="16" thumbwidth="277" thumbratio="16x9" thumbcolumns="2" title="1" description="0" thumbnail_alignment="top" descriptionwordsnumber="6" link="1"]

  5. PoseLab
    Member
    Plugin Author

    Posted 2 years ago #

    Hi
    Update to the version 1.7.5.1. There is a new shortcode attribute, feedorder="asc" or feedorder="desc". Now, the order is by position, not by publish date because I would have to load all feeds from a playlist to sort by publish date. Let me know if you have any problem.

  6. tdthekid
    Member
    Posted 2 years ago #

    thanks it works

  7. petro23
    Member
    Posted 2 years ago #

    thanks is ok

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic