• https://stalbansparish.org/

    Up top, there is a line (|) before the title. It reads |St. Albans Parish-Hickory, NC. I know HTML and I can see it in the source code, but where the hell is that character? I went back to the settings page and cleared out the field for hidden characters. I even changed it to something else and it still adds that line before it. |

Viewing 2 replies - 1 through 2 (of 2 total)
  • check the settings of the seo plugin;

    and check if there is a hardcoded title tag in header.php which might conflict with the plugin; a line with:
    <title><?php ......?></title>

    Thread Starter benmackie

    (@benmackie)

    There is a tag in the header.php file. However, I do not know enough PHP to figure out what to fix.

    I definitely think it’s an issue with the SEO plugin, but I can’t figure out what.

    <title><?php if (is_home () ) { bloginfo(‘name’); } elseif ( is_category() ) { single_cat_title(); echo ‘ – ‘ ; bloginfo(‘name’); }
    elseif (is_single() ) { single_post_title(); }
    elseif (is_page() ) { bloginfo(‘name’); echo ‘: ‘; single_post_title(); }
    else { wp_title(”,true); } ?></title>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't remove a chararcter from my site(page) title’ is closed to new replies.