Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #271028

    Thank you for version 2.8. May I remind you of topic https://kriesi.at/support/topic/double-title-tags/ ? This fix is still missing.

    #271202

    Hi Michael!

    Tbh I’m not sure if we want to add this to the core files. We’ll discuss this with Kriesi. I recommend to use a filter and your child theme functions.php to modify the output – then you don’t need to customize the header.php file. Use the filter like:

    
    add_filter('avf_title_tag', 'avia_change_title_tag', 10, 2);
    function avia_change_title_tag($title, $wptitle) {
    	$page = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : get_query_var( 'page' );
    	if(!empty($page) && $page > 1) $title .= ' - ' . $page;
            return $title;
    }
    

    Best regards,
    Peter

    #271240

    Well it is your decision. But your customer will be happy if this becomes a core feature or even an option they can modify from the settings page. If you neither change the core file nor add the filter by default every user of Enfold with paged blog pages will get “double tilte tags” errors displayed in Googles webmaster tools. Those users addicted to SEO won’t be very happy about it.

    #271377

    Hey!

    In fact the vast majority of Enfold users rely on Yoast SEO or another popular seo plugin which takes care of the page title and our theme complete leaves it up to the seo plugin to generate the page title. Enfold does not generate meta descriptions, meta keywords, og meta data,, etc. and if you want to enjoy seo you must install a dedicated seo plugin anyway. Enfold does not replace a seo plugin.

    I.e. Yoast supports the %%page%% shortcut to add the page number to the archive page title…

    Best regards,
    Peter

    #271417

    Well, then something is wrong in YOAST as I use it myself. The title (the one showing up on the browser tab) on paged blogs did not contain the page number until I changed the header.php. Anyway I have my solution. Keep on the good work.

    Cheers

    Michael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Version 2.8 missing fix’ is closed to new replies.