Support » Plugin: Visual Subtitle » [Plugin: Visual Subtitle] Somehow the subtitle went to web title

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gary Jones

    (@garyj)

    Feel free to adjust the plugin as you need – I only tested it with the theme framework that I use – other frameworks may provide the site title and post / page in a different order.

    Is that your home page? If so, then I suspect it has no title, and it’s perhaps picking up the last subtitle on the page. Difficult to tell from a screenshot.

    tsany

    (@tsany)

    i think it’s the <meta name="title" /> tag

    at first it’s

    <meta name="title" content="Championship Manager on Facebook<span class=">Apakah Dapat Mengulangi Virus 'Satu Match Lagi' ?</span>"/>

    this is why on the page suddenly appears

    Apakah Dapat Mengulangi Virus 'Satu Match Lagi' ?/>`

    then i removed the
    <span class="subtitle"> and </span>

    from

    $title = $title . '<span class="subtitle">' . $subtitle . '</span>';

    and it became

    <meta name="title" content="Championship Manager on FacebookApakah Dapat Mengulangi Virus 'Satu Match Lagi' ?"/>

    but then the subtitle class is gone lol.

    Just replace the title in your header.php file for <?php bloginfo(‘name’); ?> | <?php is_home() ? bloginfo(‘description’) : wp_title(”); ?>

    the way I fixed this was pretty simple.
    inside visual-subtitle.php line 301 :
    change this :
    $title = $title . '<span class="subtitle">' . $subtitle . '</span>';
    to this :
    $title = $title . ' <span class="subtitle">' . $subtitle . '</span>';

    the only difference is the space before the <span class=’subtitle’> tag.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Visual Subtitle] Somehow the subtitle went to web title’ is closed to new replies.