Support » Plugin: WORDPRESS VIDEO GALLERY » Video shortcode missing a tag
Video shortcode missing a tag
-
Hi,
When I insert videos into a page using the shortcode, my sidebar appears within my content element. When I remove all video shortcodes, the problem is fixed. Is it possible that the shortcode is missing a </div> tag?
-
Hi,
To resolve the issue, please follow the below steps.
\wp-content\plugins\contus-video-gallery\front\views\videoshortcode.php
1) Find class=”video-page-views” around line no 400 and find the code
$output .= '<div class="video-page-views"><strong>' . __("Views", "video_gallery") . ' </strong>: ' . $hitcount . '</div></div>';
and remove the last </div> tag like the below one.
$output .= '<div class="video-page-views"><strong>' . __("Views", "video_gallery") . ' </strong>: ' . $hitcount . '</div>';
Now find the following code at line no 413
$output .=$playlistname . '</div>';
and replace with the below code.
$output .=$playlistname . '</div></div>';
2) Go to line no 728 and find the below code.
$output .= '</ul></div>'; } else { $output .= '</div>'; }
and replace with following code.
$output .= '</ul>'; } $output .= '</div>';
3) find “## Display Related videos starts here” before the line you can find
$output .='</div>';
around line no 647. Now replace with$output .='</div></div>';
If you are still facing the same issue feel free to contact us.
Thanks for the help, I was hoping the plugin author could patch and update the plugin?
Hi,
Sure we will update this issue in package soon.
- The topic ‘Video shortcode missing a tag’ is closed to new replies.