• Hello,

    I have noticed the last few months that my site has a – before it when i see it pop up on google. I would love for that to be off.

    I have checked title area and it doesn’t have it. My yoast SEO wordpress plug in editor looks like that you HAVE to choose symbol for their settings to ‘break’ up posts. I still want to use yoast seo plug in… anyway around it?

    https://www.jessicaweinstockphotography.com

    here is my header if anyone needs it — thanks!!

    <!DOCTYPE html>
    <html <?php language_attributes() ?>><?php echo ppHtml::buildsComment(); ?>
    <head><?php

    $thisPage = ppQuery::instance();
    $article = $thisPage->isArticle() ? ppPost::fromGlobal() : null;
    $ppSEO = new ppSeo( $thisPage, $article );
    $staticFile = ppStaticFile::instance();

    /* title tag */
    echo $ppSEO->titleTag();

    /* meta tags */
    echo NrHtml::meta( ‘charset’, get_bloginfo( ‘charset’ ) );
    echo NrHtml::meta( ‘http-equiv’, ‘imagetoolbar’, ‘content’, ‘no’ );
    echo NrHtml::meta( ‘http-equiv’, ‘X-UA-Compatible’, ‘content’, ‘IE=edge’ );
    echo $ppSEO->metaDesc();
    echo $ppSEO->metaKeywords();
    echo $ppSEO->metaRobots();

    echo ppFacebook::meta( $thisPage, $article, $ppSEO->desc() );

    if ( ppOpt::test( ‘pinterest_prevent_pins’, ‘true’ ) ) {
    echo NrHtml::meta( ‘name’, ‘pinterest’, ‘content’, ‘nopin’ );
    } else if ( ppOpt::test( ‘image_pinning_onoff’, ‘on’ ) ) {
    // disable pinterest hover pins from browser extension
    echo NrHtml::meta( ‘name’, ‘pinterest’, ‘content’, ‘nohover’ );
    }

    if ( ppUtil::renderingMobileSite() ) {
    return require( TEMPLATEPATH . ‘/mobile-index.php’ );
    }
    echo ppHtml::ipadMeta();

    /* scripts */
    wp_enqueue_script( ‘jquery’ );
    ppHtml::enqueueInHead( ‘underscore’ );

    echo ppHtml::wpHead();
    echo NrHtml::lessThanIE( 9, NrHtml::scriptSrc( pp::site()->themeUrl . ‘/js/html5shiv.js?ver=’ . pp::site()->svn ) );
    echo $staticFile->html( ‘script.js’ );
    do_action( ‘post_pp_js’, $thisPage );

    /* css */
    echo $staticFile->html( ‘style.css’ );
    echo NrHtml::link( ‘stylesheet’, $staticFile->url( ‘retina.css’ ), array(
    ‘type’ => ‘text/css’,
    ‘media’ => ‘only screen and (-webkit-min-device-pixel-ratio: 1.5)’
    ) );
    if ( (bool) ppOpt::articleOptions() ) {
    echo $staticFile->html( ‘article.css’, ppStaticFile::RENDER_INLINE );
    }
    echo ppHtml::googleFontStylesheet();
    echo NrHtml::link( ‘stylesheet’, ‘//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css’, ‘id=fa-styles’ );

    /* links, misc */
    echo ppRss::link();
    echo NrHtml::link( ‘pingback’, get_bloginfo( ‘pingback_url’ ) );
    echo ppHtml::appleTouchIcon();
    echo ppHtml::favicon();
    echo ppHtml::insertIntoHead();

    ?>
    <script>(function() {
    var _fbq = window._fbq || (window._fbq = []);
    if (!_fbq.loaded) {
    var fbds = document.createElement(‘script’);
    fbds.async = true;
    fbds.src = ‘//connect.facebook.net/en_US/fbds.js’;
    var s = document.getElementsByTagName(‘script’)[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
    }
    _fbq.push([‘addPixelId’, ‘1447759775518029’]);
    })();
    window._fbq = window._fbq || [];
    window._fbq.push([‘track’, ‘PixelInitialized’, {}]);

    // ViewContent // report that a key page is viewed fbq(“reportViewContent”);
    </script>
    <noscript><img height=”1″ width=”1″ alt=”” style=”display:none” src=”https://www.facebook.com/tr?id=1447759775518029&ev=PixelInitialized&#8221; /></noscript>
    </head>
    <body id=”body” class=”<?php echo ppHtml::bodyClasses(); ?>”>
    <div id=”inner-body”>

    <?php do_action( ‘pp_begin_body’ ); ?>

    <div id=”outer-wrap-centered”>

    <div id=”middle-wrap”>

    <div id=”inner-wrap”>

    <?php

    /* main site header */
    echo ppBlogHeader::markup();

    /* optional header areas */
    ppContactForm::instance()->render();
    ppBio::render();

Viewing 1 replies (of 1 total)
  • In Yoast, go to the Titles and Meta section. What is listed for “home page” Then go to post types. What is listed for “pages”?

Viewing 1 replies (of 1 total)
  • The topic ‘getting rid of dash before site title?’ is closed to new replies.