HI, I tried to install your DW Jason theme and demo data.
It seems perfect, but when I try to change Welcome Headline from theme customization tab,
html tags such as , were encorded and broke top page display.
How can I set html tag into Welcome Headline?
To resolve this issue you can open the customizer.php file then find around line 103 remove the following code:
'sanitize_callback' => 'esc_html',
Hope this helps!
I can’t find the code snippet you mentioned. (It should be in the “Welcome” section of customizer.php, right?) I’m using DW Jason Version: 1.0.4 and I just want to place a text link in the Welcome Message. (Font color in the Welcome Headline works fine.)
To resolve this issue, you can open the template-tags.php file in the inc folder then find the line 38.
Replace it with the following code:
echo '<div class="page-description">' . wp_kses_post( dw_jason_get_theme_option( 'welcome_message' ) ) . '</div>';
Please login or Register to submit your answer