• Hi,

    if anyone have a hint, please let me know.

    Settings for landing page meta title in SEO Framework will not take effect at all.

    Tested every Method (give the title direct, give the title as extension)

    There is just the “Page Name” | ( Separator) and “No Title” (Text)

    This problem occurs only at landing page, everywhere else ist works fine with “Page Name” | ( Separator) “Sub Page Title”

    When a new page is created and no title given in Gutenberg editor, it´s the same result.

    Idea there is no Page Titel for landing page and SEO Framework is not able to write one.

    Using a Theme Hunk Theme, so landing page settings are completely hidden for Gutenberg editor.

    Maybe it is accessible in .php?

    What´s the proper way?

    a) give a meta tag at the .php

    b) give it by css

    Do you also have a hint how to get the ID of the landing Page?

    THX M,

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

    (@cybr)

    Hi M!

    The landing page is likely outputted via a custom method by Theme Hunk that bypasses the WordPress APIs. Because it bypasses the APIs, TSF cannot be made aware of the page’s information and will resolve with an “Untitled” output.

    The proper way is for Theme Hunk to register the landing page as a regular WordPress page, perhaps even as a template for a page. https://developer.wordpress.org/themes/template-files-section/page-template-files/.

    However, because I don’t know where or how the landing page is created, I don’t know how to resolve this issue. It might be best to disable TSF altogether for the landing page. Boolean filter the_seo_framework_query_supports_seo can do that, and Theme Hunk’s support should be able to create that filter for you.

    Here’s the template for that filter, which Theme Hunk’s support can work from (in its current state, this filter doesn’t do anything):

    add_filter(
    	'the_seo_framework_query_supports_seo'
    	function ( $supported ) {
    
    		if ( false ) // set "false" to something that detects the landing page.
    			$supported = false;
    
    		return $supported;
    	},
    );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.