Support » Plugin: The SEO Framework - Extension Manager » Title FIx does not show up among extensions. Is it there?

  • I’m trying to fix the <head><title> value set for archive pages. There’s nothing in SEO Framework to configure this.

    My theme (Phlox Pro) does have configuration for the portfolio archive title (which is what I’m trying to set), but that setting only affects what appears on the page, not in the chrome or <head><title> value.

    So I was hoping that Title Fix might fix this. It’s not at all clear from the description whether this even touches the <title> value, but I thought what the heck.

    Then I saw that it’s already included in the extension manager. The extensions page lists 8 regular and premium extensions with buttons to activate. Title Fix does not appear among them. I realize it runs silently, with no configurations. Still, I don’t know if it’s there or active. But I still have the wrong Archive title in head.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi there 🙂

    The SEO Framework overwrites all document/head-titles set, this is to make sure the inputted title is always as configured.

    This means that the SEO settings of your theme will not have any effect on these.

    Unfortunately, we still have to implement proper hierarchical archive SEO settings. I have to figure out how to detect the registration of these from the admin dashboard reliably.

    Now, to quickly resolve this, you could add a little snippet to your (child-)theme’s functions.php file. I think this will work as-is, where you’ll only need to alter the “My desired title” part:

    add_filter( 'the_seo_framework_the_archive_title', function( $title = '' ) {
    
    	if ( ! is_admin() && is_post_type_archive( 'portfolio' ) ) {
    		// Set post type archive title here. Don't add the blogname.
    		$title = "My desired title";
    	}
    
    	return $title;
    } );

    Regarding the Title Fix extension:
    The Title Fix extension should be included, you might have to scroll down a little to see it.

    However, it won’t have any effect, as it’ll only fix incorrect theme title implementations. The issue you’re facing isn’t because of this.

    I hope this all clears things up! Feel free to follow up if you have any more questions 🙂

    Thank you for the snippet! And for solving the mystery.

    FWIW, here’s my screen showing all the SEO Extensions, in case this helps.

    [broken link, sorry — reposting]

    https://cl.ly/221Z2s1P1c1s/screenshot.jpg

    • This reply was modified 1 year, 5 months ago by Laura Scott.
    Plugin Author Sybre Waaijer

    (@cybr)

    Hi llis,

    No problem 🙂

    If you look closely to the right of the extensions, you should see a scrollbar.
    You can scroll down in that pane, and you should see the Title Fix extension. 🙂

    I’m marking this topic as resolved. But, feel free to follow up here, if the snippet doesn’t work out for you.

    Ah, tricked by the window within the window. 😮

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Title FIx does not show up among extensions. Is it there?’ is closed to new replies.