Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Telisronoy

    (@telisronoy)

    I identify on “class-frontend.php”, that WP SEO interprate my auto-generate page by the plugin like a pge without metas, so it takje information from option, like write on line 183 :

    function get_title_from_options( $index, $var_source = array() ) {
    		$options = get_wpseo_options();
    
    		if ( !isset( $options[$index] ) || empty( $options[$index] ) ) {
    			if ( is_singular() )
    				return wpseo_replace_vars( '%%title%% %%sep%% %%sitename%%', (array) $var_source );
    			else
    				return '';
    		}
    
    		return wpseo_replace_vars( $options[$index], (array) $var_source );
    	}

    So I want to fix it, to force WP SEO to take the “title”, like on post or page;

    What’s the problem ?

    Thanks

Viewing 1 replies (of 1 total)