Visual Subtitle
Somehow the subtitle went to web title (5 posts)

  1. tsany
    Posted 4 years ago #

    it's hard to really describe it in words..

    but here's the screenshot


    if u can see there, the subtitle went towards the site's title


  2. Gary Jones
    Plugin Author

    Posted 4 years ago #

    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.

  3. tsany
    Posted 4 years ago #

    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>


    $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.

  4. yallioliveira
    Posted 4 years ago #

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

  5. voltxion
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Visual Subtitle
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic