WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. tsany
    Member
    Posted 3 years ago #

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

    but here's the screenshot

    http://imageshack.us/photo/my-images/231/unledud.png/

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

    http://wordpress.org/extend/plugins/visual-subtitle/

  2. Gary Jones
    Member
    Plugin Author

    Posted 3 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
    Member
    Posted 3 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>

    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.

  4. yallioliveira
    Member
    Posted 2 years ago #

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

  5. voltxion
    Member
    Posted 2 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

About this Topic