Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter glosshog

    (@glosshog)

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

    Chamralima

    (@chamralima)

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

    what shortcode should I use? [—]?

    karthikeyani

    (@karthikeyani)

    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 https://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.

    karthikeyani

    (@karthikeyani)

    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.

    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!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Video category pages defaulting to blog posts’ is closed to new replies.