Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • in reply to: I cannot able to login into back end #66556
     ImG
    Participant

    My php5.ini file was changed yesterday with additional lines

    COPY CODE
    cgi.fix_pathinfo=1
    date.timezone=America/Phoenix

    Any problem with these lines?

    in reply to: Browser title and SEO title problem with root profile url #46358
     ImG
    Participant

    Hi, i have place this code in functions.php copied form here

    COPY CODE
    add_action( 'template_redirect', 'bpdev_wpseo_title_fix_for_bp' );
    /**
     * Remove WP Seo plugin hooks that changes titles
     * @global type $wpseo_front
     * @return type
     */
    function bpdev_wpseo_title_fix_for_bp(){
     
     if( ! function_exists( 'initialize_wpseo_front' ) )
     return;
     
     if( bp_is_blog_page() )
     return;
     
     //we will remove the title generation by wp seao and the title generated by BuddyPress will be used automatically
     
     global $wpseo_front;
     
     //remove the title generator
     remove_filter('wp_title', array($wpseo_front,'title'),15, 3 );
     
     if( has_action( 'wp_footer', array( $wpseo_front, 'flush_cache' ) ) )
     remove_action( 'wp_footer', array( $wpseo_front, 'flush_cache' ) );
     
    }

    It looks like the problem i have mentioned above is solved, but placing this code in functions.php will make any incompatibility with your theme? please test it and give me the assurance.

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

Log in with your credentials

Forgot your details?