Skip to content

Commit 2277e69

Browse files
Add description field #905
1 parent 53702dc commit 2277e69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

classes/Visualizer/Render/Sidebar.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@ protected function _renderChartTitleSettings() {
120120
isset( $this->titleTextStyle['color'] ) ? $this->titleTextStyle['color'] : null,
121121
'#000'
122122
);
123+
124+
self::_renderTextAreaItem(
125+
esc_html__( 'Chart Description', 'visualizer' ),
126+
'description',
127+
$this->description,
128+
sprintf( esc_html__( 'Description to display in the structured data schema as explained %1$shere%2$s', 'visualizer' ), '<a href="https://developers.google.com/search/docs/data-types/dataset#dataset" target="_blank">', '</a>' )
129+
);
123130
}
124131

125132
/**

0 commit comments

Comments
 (0)