Okay
  Print

Display Google Ads on Leaderboard Banner Management System

When you place a Google Ads code into a banner text field, if you see only a line of code instead of the Ad itself, follow these steps:

1) Open functions.php file.

2) Search for the line below:

stripslashes( wp_filter_post_kses( addslashes( get_theme_mod( 'brnhmbx_text_Banner_1', '' ) ) ) )

3) Replace it with the line below:

get_theme_mod( 'brnhmbx_text_Banner_1', '' )

4) Search for the line below:

stripslashes( wp_filter_post_kses( addslashes( get_theme_mod( 'brnhmbx_text_Banner_2', '' ) ) ) )

5) Replace it with the line below:

get_theme_mod( 'brnhmbx_text_Banner_2', '' )

6) Search for the line below:

stripslashes( wp_filter_post_kses( addslashes( get_theme_mod( 'brnhmbx_text_Banner_3', '' ) ) ) )

7) Replace it with the line below:

get_theme_mod( 'brnhmbx_text_Banner_3', '' )

8) Save it and you're done.