Title problems ( Bug! )

Viewing 6 posts - 1 through 6 (of 6 total)
  • #14208
    pdyw7sjy4xpy4eqz
    Participant

    I’m using a static front page on my site with the posts on another site. This results in heavy problems with the -element. On the front page, title is missing completely, ending up with the browser just showing the url. On the news page, page title is followed by site title without any whitespace, for when it should display only the site title when viewing the home page and just the page title when viewing the posts page.

    Fix please.

    #14211
    pdyw7sjy4xpy4eqz
    Participant

    I now solved this by replacing the esplanade_doc_title function with the following simple code:

    function esplanade_doc_title( $doc_title ) {
    global $page, $paged;
    $doc_title = str_replace( ' »', ':', $doc_title );
    $site_name = get_bloginfo( 'name' );
    $doc_title = $site_name . $doc_title;
    if ( $paged >= 2 || $page >= 2 )
    $doc_title .= ', ' . __( 'Page', 'esplanade' ) . ' ' . max( $paged, $page );
    return $doc_title;
    }
    endif;

    Should definitely be an option to configure.

    #15310
    pdyw7sjy4xpy4eqz
    Participant

    New version – Nothing fixed :[

    #15336
    Daniel Tara
    Keymaster

    Try using a plugin like WordPress SEO by Yoast to generate your titles.

    #16688
    pdyw7sjy4xpy4eqz
    Participant

    *unsubscribe*

    #17985
    potoco
    Participant

    [in spanish]
    Bachsau, muchas gracias por tu aportación, yo también tenía el mismo problema con ese bug y ahora puedo ver correctamente los títulos de mi sitio web.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.