Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

yoast-seo-breadcrumbs theme support doesn’t override admin setting

$
0
0

Replies: 0

WP 5.8.1
Yoast 17.4

1. Install a theme that does not declare yoast-seo-breadcrumbs support
2. In Search Appearance > Breadcrumbs, disable breadcrumbs
3. In Search Appearance > Content Types, see the breadcrumbs archive title field is not shown.
3. Activate a theme that declares yoast-seo-breadcrumbs support (or add to functions.php)
4. See in Search Appearance > Breadcrumbs, the breadcrumbs enable/disable toggle is gone.
5. In Search Appearance > Content Types, see the breadcrumbs archive title field is still not shown.

Seems like once theme support is declared, if the breadcrumbs-enable option has already been explicitly set to false and saved to the database, there’s no way to toggle breadcrumbs back on and access any settings hidden behind a WPSEO_Options::get( 'breadcrumbs-enable' ) check.

  • This topic was modified 27 minutes ago by eclev91.

Viewing all articles
Browse latest Browse all 59525

Trending Articles