WordPress.org

Ready to get started?Download WordPress

Forums

WORDPRESS VIDEO GALLERY
Video shortcode missing a tag (4 posts)

  1. John Peden
    Member
    Posted 6 months ago #

    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?

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

  2. karthikeyani
    Member
    Posted 6 months ago #

    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.

  3. John Peden
    Member
    Posted 6 months ago #

    Thanks for the help, I was hoping the plugin author could patch and update the plugin?

  4. karthikeyani
    Member
    Posted 6 months ago #

    Hi,

    Sure we will update this issue in package soon.

Reply

You must log in to post.

About this Plugin

About this Topic