Additional CSS class(es) missing from advanced settings – text-based links only
-
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.4Create 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.
You must be logged in to reply to this topic.