At Featured Section - Acme Themes
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #13294
    jun
    Participant

    I want to ask about “Description” of “At Featured Section”. Can I start a new line at this part? Since the line will end up being long, I would like to start a new line.

    #13308
    acmesupports
    Moderator

    Hello Jun,
    Thank you so much for using theme support forum for the query. In this case, you can use HTML tags to make the new line. We recommend you to use <br/> tag to make the new line. Please have a try and let us know the result.

    Regards

    #13336
    jun
    Participant

    I am grateful for your speedy handling! I tried to use <br/> tag at the part, but it didn’t work. Maybe at this part, I can’t use HTML tags, because it’s widget. So is there any good way to make a new line?

    #13342
    acmesupports
    Moderator

    Hello Jun,
    Due to the WordPress standards as well as data validation issues, widget short description doesn’t support HTML tags. So, if the widget doesn’t support html tags, you need to remove esc_html from the code.
    Please find the codes on acmethemes/sidebar-widget/acme-featured.php line 162. <p><?php echo esc_html( $sub_title ); ?></p> Remove exc_html from the code there and try once by adding the HTML tags.
    Hope this will solve your problem.

    Regards

    #13352
    jun
    Participant

    It’s greate! Thanks for the easy-to-understand explanation and quick response! I could solve the problem. Thank you so much.

    #13353
    acmesupports
    Moderator

    Nice to hear that you solved the problem. 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘At Featured Section’ is closed to new replies.