zafariqbal
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
The Perfect Solution is This
Please Replace this code with your in the Header.php Title.Note Code has already <title> tags
you do not need to insert it in the <title></title> tagsCode Documentation.
if your yoast plugin is deactivate so it will comeback to your previous title settings(changes).You Just need to set %%title%% | %%sitename%% in the Yoast Seo Post/Pages Titles.
<?php /* * Print the <title> tag based on what is being viewed. */ global $page, $paged; // if Plugin Activate if ( ! function_exists('is_plugin_inactive')) { require_once( ABSPATH . '/wp-admin/includes/plugin.php' ); } if ( !is_plugin_inactive('wordpress-seo/wp-seo.php') ) { // if Force Rewrite is Active $options = get_wpseo_options(); if ( isset( $options['forcerewritetitle'] ) && $options['forcerewritetitle'] ) { }else{ ?> <title> <?php wp_title( '' ); // Add the blog name. //bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); ?> </title> <?php } }else{ ?> <title> <?php wp_title( '|', true, 'right' ); // Add the blog name. bloginfo( 'name' ); // Add the blog description for the home/front page. $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) echo " | $site_description"; // Add a page number if necessary: if ( $paged >= 2 || $page >= 2 ) echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) ); ?> </title> <?php } ?>
Forum: Themes and Templates
In reply to: Clean Style WordPress Theme – Still not assignedCan they provide estimate time to review / approve the theme.
Is there any trick to review soon the theme because some themes are soon reviewed vs my theme.
I am developing some new theme but WordPress take lot of time to approve.
I hope in future they have better plan to sort out this problem.
Thank You.
Viewing 2 replies - 1 through 2 (of 2 total)