WordPress.org

Forums

WORDPRESS VIDEO GALLERY
[resolved] Video category pages defaulting to blog posts (7 posts)

  1. glosshog
    Member
    Posted 2 years ago #

    hi, I have a strange problem whenever i try to visit a video category i am redirected to my blog post category. link: http://www.unomin8.com/categoryvideos/neknominate/

    https://wordpress.org/plugins/contus-video-gallery/

  2. glosshog
    Member
    Posted 2 years ago #

    resolved: looked like i deleted the no title page with shortcode.
    fixed :)

  3. Chamralima
    Member
    Posted 2 years ago #

    I want to create a new page that load my custom categories,

    what shortcode should I use? [---]?

  4. karthikeyani
    Member
    Posted 2 years ago #

    Hi Chamralima,

    Please note that you can use [videomore] short code to display the overall categories with it's corresponding video thumb images. If you want to display the particular category videos in your page, then please follow the following link http://www.apptha.com/forum/viewtopic.php?f=27&t=1916#p5039 for your reference. Currently we don't have short code for this. We are working on this feature. So you can expect this feature in our next release (after version 2.6).

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

  5. karthikeyani
    Member
    Posted 2 years ago #

    Hi Chamralima,

    Here is the steps for shortcode to display particular category videos in your page.

    1) Please open \wp-content\plugins\contus-video-gallery\hdflvvideoshare.php and find function videogallery_pagereplace($pageContent) and add the below code before return $pageContent;.

    $pageContent = preg_replace_callback('/\[videosec ([^]]*)\o]/i', 'video_moreidreplace', $pageContent);

    2) Now add the following code after add_shortcode('hdvideo', 'video_shortcodeplace');

    function video_moreidreplace($arguments = array()) {
        global $frontControllerPath, $frontModelPath, $frontViewPath, $wp_query;
    
        $playid = $arguments['id'];
        $wp_query->query_vars["playid"] = $playid;
    
        include_once ($frontControllerPath . 'videomoreController.php');
        $videoOBJ = new ContusMoreView();
    
        if (!empty($playid)){
            $more = 'cat';
        }
        $contentvideoPlayer = $videoOBJ->video_more_pages($more);
        return $contentvideoPlayer;
    }
    add_shortcode('videosec', 'video_moreidreplace');

    3) Finally, insert the below mentioned shortcode to display the particular category videos in your page.

    [videosec type=category id=27]

    27 - is the Category ID.

  6. zain9815
    Member
    Posted 2 years ago #

    Hello!

    Kindly tell me how to adjust how many videos we can have in each row and the total videos to show. ???

    By default it shows only 4 video thunmbnails in each row..

    Kindly help

    Thanks in advance!

  7. karthikeyani
    Member
    Posted 2 years ago #

    Go to WP admin -> Video Gallery -> Settings -> Find videos page settings. Here you can adjust the rows and columns of the thumb images.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WORDPRESS VIDEO GALLERY
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.