• Resolved somecodeiwrote

    (@somecodeiwrote)


    Hello – I noticed that Yoast seems to disable the “Additional CSS class(es)” from advanced settings – of text-based links only.

    Here is a screenshot of the advanced link options without Yoast

    Here is a screenshot of the advanced link options with Yoast enabled

    I believe WordPress added the “Additional CSS class(es)” to advanced settings when they released 6.9. Please see https://github.com/WordPress/gutenberg/issues/13368 for additional details

    I searched for a way to resolve this issue and the closest thing I found was a request for the ability to disable Yoast’s overrides, here: https://github.com/Yoast/wordpress-seo/issues/16262

    I am happy with just about any solution that brings back the “Additional CSS class(es)” in the advanced settings, with Yoast enabled. That could be disabling Yoast’s link attributes, or more ideally, simply including the new “Additional CSS class(es)” attribute alongside Yoast’s attributes.

    A code snippet in the functions file would be fine. A setting or patch in the plugin would be ideal. I am open to any suggestions.

    Recreate the issue:

    Fresh Install of WordPress 6.9.1
    Yoast SEO 27.0
    No other plugins
    WordPress base theme: Twenty Twenty-Five Version: 1.4

    Create a text-based link, click “advanced options” and “Additional CSS class(es)” is not available with Yoast enabled. Disable Yoast and the feature returns.

    Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hi @somecodeiwrote,

    Thanks for reporting the bug on GitHub. A fix for the issue you experienced will be included in an upcoming release. Plugin updates are released every few weeks on average, so it shouldn’t be too long.

    Thread Starter somecodeiwrote

    (@somecodeiwrote)

    I updated to Yoast SEO 27.2 and can confirm the issue is fixed in version 27.2.

    Thanks a ton y’all, for fixing this. This will make my life tremendously easier.

    High five!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.