• Resolved kamenskoe

    (@kamenskoe)


    Hi ! First of all – thank you very much for this theme !

    I have a big problem. I cant change title construction.
    Now we have:
    <title>name of post | name of blog<title>
    <title>name of page | name of blog<title>
    and so on !

    I need:
    <title>name of post<title>
    <title>name of page<title>

    I tried to solve this peoblem with the help of “All in one seo pack” plugin. But he doesnt help. Other plugins, that works with title editing – same results.
    I tried to edit header.php – no results.

    Please, help !!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kamenskoe

    (@kamenskoe)

    For all who have a such problem. I find a correct solution.
    Delete from functions.php this code:

    if ( ! function_exists( 'wp_castle_wp_render_title_tag' ) ) {
    	function wp_castle_render_title() {
    ?>
    <title><?php wp_title( '', true, 'right' ); ?></title>
    <?php
    	}
    	add_action( 'wp_head', 'wp_castle_render_title' );
    }

    Insert in header.php:
    <title></title>

    Thanks for support, guys ??

    Thread Starter kamenskoe

    (@kamenskoe)

    Its work only with All in one seo pack !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change title construction ?’ is closed to new replies.