diff --git a/template-parts/wpdtrt-anchorlinks/content-anchorlinks.php b/template-parts/wpdtrt-anchorlinks/content-anchorlinks.php index 1f5910c..f3938c5 100644 --- a/template-parts/wpdtrt-anchorlinks/content-anchorlinks.php +++ b/template-parts/wpdtrt-anchorlinks/content-anchorlinks.php @@ -34,6 +34,10 @@ // @link http://kb.network.dan/php/wordpress/extract/. extract( $options, EXTR_IF_EXISTS ); +if ( isset( $additional_from_sidebar_id_1 ) && ( '' === $additional_from_sidebar_id_1 ) ) { + $additional_from_sidebar_id_1 = null; +} + global $post; if ( isset( $post ) && is_object( $post ) ) {