• Resolved fraughtithrouble

    (@fraughtithrouble)


    At least one of your theme header templates does not support Schema markup of the webpage head section — this is especially important for Google and Pinterest. The <head> HTML tag in your header templates should include a function, action, or filter for its attributes.

    WPSSO Core can update the header template(s) automatically and change the existing <head> HTML tag to:

    <head <?php do_action( ‘add_head_attributes’ ); ?>>

    However, the change does not work on www.remarpro.com sites, even the business plan, because they do not allow theme edits. A simple correction on the next update would help thousands of users who want to use WPSSO plug in with this theme.

Viewing 10 replies - 1 through 10 (of 10 total)
  • It would be awesome if plugin and theme authors had a hook into the <head> attributes like we do for <html>, but there does not seem to be a standard for that at the moment. An alternative to modifying your header template(s) would be to activate the WPSSO JSON extension (aka WPSSO Schema JSON-LD Markup). In that case, WPSSO Core would not need to add Schema meta tags to the <head> section (all Schema markup would be contained in the JSON-LD block instead), which also means that WPSSO Core does not need to define the Schema type in the <head> HTML tag attributes – so no modifications required. ??

    A hook for the <head> attributes would also allow plugin and theme authors to include Open Graph namespace attributes in a better location — all plugin and theme authors now use the ‘language_attributes’ hook, which places them in the <html> tag attributes, but that container applies to the whole HTML document, not just the <head> container, which is where Open Graph meta tags are located.

    js.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Huh?

    However, the change does not work on www.remarpro.com sites, even the business plan, because they do not allow theme edits.

    @fraughtithrouble, Where did you get that from?

    If you need support to edit the theme’s files we can help you, but I’m really confused now. It sounds like you’re mixing WordPress.com (a completely separate entity) in with www.remarpro.com (an open source project).

    Thread Starter fraughtithrouble

    (@fraughtithrouble)

    Wordpress.com I meant to say…typo….

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @jsmoriss, Do you know why the OP is experiencing a problem with your plugin’s feature to modify the <head> tag? This would seem your domain and not Twenty Seventeen.

    Edit: See below; that would explain it.

    • This reply was modified 6 years, 12 months ago by Andrew Nevins.
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @fraughtithrouble, As you have a WordPress.com issue please post on their forums: https://en.forums.wordpress.com/

    We cannot support WordPress.com issues here.

    Thread Starter fraughtithrouble

    (@fraughtithrouble)

    I understand that the issue about not being able to modify it is a wordpress.com issue, but my topic is about the theme lacking the SEO compliant header tag. And that is a www.remarpro.com forum topic for the theme.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I don’t know how I can help you if you’re using WordPress.com.

    Thread Starter fraughtithrouble

    (@fraughtithrouble)

    JS, I tried what you said, and the error message does not reoccur. So I presume it works. A BIG THANKS! Now if only the support at wordpress.com reads this thread!

    Witam. Nie potrafie zmieni? nag?ówka oraz t?a . Wersja 4.9.1

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘The does not support Schema markup’ is closed to new replies.