Quantcast
Channel: WordPress.org Forums » [Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Support
Viewing all articles
Browse latest Browse all 42467

telisronoy on "[Plugin: WordPress SEO by Yoast] Set Title in page generate by a plugin"

$
0
0

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 all articles
Browse latest Browse all 42467

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>