Support » Plugin: WORDPRESS VIDEO GALLERY » If video name has – ‘ it’s displayed as – \’

  • If the video name for uploaded videos is anything with an apostrophe, like — You shouldn’t go, it displays as — You should\’nt go. Is there some php code I can edit to fix this?

Viewing 1 replies (of 1 total)
  • priyadarshinimuthuraman

    (@priyadarshinimuthuraman)

    To replace the ‘-‘ in the video title; the file to be edited depends on the theme used, for example, if you are using “twentysixteen” theme in the WordPress, then go to the below file path wp-content/themes/twentysixteen/template-parts/content-single.php and search for the below line

    <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
    replce it as below,
    <?php echo str_replace('-', ' ', the_title('<h1 class="entry-title">', '</h1>', false)); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘If video name has – ‘ it’s displayed as – \’’ is closed to new replies.