Hi,
Open \wp-content\plugins\contus-video-gallery\hdflvvideoshare.php and find function video_recent_video_shortcode($attr=array())
. Inside the function you can find $contentvideoPlayer = $videoOBJ->video_more_pages($more);
Now replace with the following code.
if ($attr ['rows'] && $attr ['cols']) {
$contentvideoPlayer = $videoOBJ->video_more_pages ( $more, $attr );
} else {
$contentvideoPlayer = $videoOBJ->video_more_pages ( $more, $attr = array () );
}
Finally open \wp-content\plugins\contus-video-gallery\front\views\videomore.php and find function video_more_pages($type)
and replace with function video_more_pages($type, $arguments)
.
Now find case 'recent' :
. Inside the case you can find the following code
$rowF = $this->_settingsData->rowMore;
$where = '';
$colF = $this->_settingsData->colMore;
replace with
if ($arguments ['rows'] && $arguments ['cols']) {
$rowF = $arguments ['rows'];
$colF = $arguments ['cols'];
} else {
$rowF = $this->_settingsData->rowCat;
$colF = $this->_settingsData->colCat;
}
$where = '';
Now you need to use shortcode like the following one.
[recentvideo rows=”1″ cols=”3″]
If you have any other queries on this, feel free to contact the support team at [email protected]