"More Videos" link (4 posts)

  1. jockoe
    Posted 2 years ago #

    My category setting are set for 5 rows, 4 videos per row. I have 10 videos in my first listed category. After the 10th video is a link for "More Videos". I cannot find a setting that would make this link appear, and it leads to a '404 Page Not Found' when I click it. Where is this link coming from? Am I limited to 10 videos with the free player?



  2. karthikeyani
    Posted 2 years ago #


    Please go to WP admin -> Video Gallery -> Categories. Here edit your all categories and save it. Now go to WP admin -> Settings -> Permalinks and set the permalink type to "Default" and save. Now check the home page. If it is working fine, now you can change the permalink type to your old one. If you are still facing the same issue, feel free to post here.

  3. jockoe
    Posted 2 years ago #

    I re-saved/updated all categories. I changed my permalink structure to "Default". Now when I click it I am taken to a page with all of the videos for that particular category, which is the same 10 videos. My questions are...

    Why is that link even there if there aren't "More Videos" to show? (It's the same 10)

    My settings are for 5 rows, 4 videos per row. (20 videos) Why is that link showing after only 10 videos?

  4. karthikeyani
    Posted 2 years ago #


    Please open

    and find
    function categorylist
    . Inside the function you can find the below code.

    ## Fetch videos for every category

    Now place the following code after the above mentioned comment line.

    $sql = 'SELECT s.guid FROM ' . $wpdb->prefix . 'hdflvvideoshare as w
    					INNER JOIN ' . $wpdb->prefix . 'hdflvvideoshare_med2play as m ON m.media_id = w.vid
    					INNER JOIN ' . $wpdb->prefix . 'hdflvvideoshare_playlist as p on m.playlist_id = p.pid
    					INNER JOIN ' . $this->_wpdb->prefix . 'posts s ON s.ID=w.slug
    					WHERE w.publish=1 and p.is_publish=1 and m.playlist_id=' . intval( $catList->pid ) . ' GROUP BY w.vid';
    				$totalvideos     = $wpdb->get_results( $sql );

    Finally find

    if ( ( $playlistCount > 8 ) )

    and replace with

    if ( ( count($totalvideos) > $dataLimit ) )

    If you have any other queries feel free to contact us.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.