File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1093,6 +1093,10 @@ public function renderLibraryPage() {
10931093
10941094 $ this ->load_survey ();
10951095
1096+ if ( ! apply_filters ( 'visualizer_is_business ' , false ) ) {
1097+ do_action ( 'themeisle_sdk_load_banner ' , 'visualizer ' );
1098+ }
1099+
10961100 $ render ->render ();
10971101 }
10981102
Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ private function _renderLibrary() {
266266
267267 // Added by Ash/Upwork
268268 $ filterBy = ! empty ( $ _GET ['s ' ] ) ? sanitize_text_field ( wp_unslash ( $ _GET ['s ' ] ) ) : null ; // phpcs:ignore WordPress.Security.NonceVerification.Recommended
269+
269270 // Added by Ash/Upwork
270271 echo $ this ->custom_css ;
271272
@@ -276,6 +277,7 @@ private function _renderLibrary() {
276277 $ this ->getDisplayForm ();
277278 echo '</div> ' ;
278279 echo '<div id="visualizer-content-wrapper"> ' ;
280+ echo '<div id="tsdk_banner" class="visualizer-banner"></div> ' ;
279281 if ( ! empty ( $ this ->charts ) ) {
280282 echo '<div id="visualizer-library" class="visualizer-clearfix"> ' ;
281283 $ count = 0 ;
Original file line number Diff line number Diff line change 3434# visualizer-content-wrapper {
3535 padding : 0 ;
3636}
37+
38+ .visualizer-banner {
39+ margin : 40px 0 ;
40+ }
41+
3742# visualizer-library {
3843 width : auto;
3944 margin : 20px -10px ;
You can’t perform that action at this time.
0 commit comments