HTML in Text widget

  • Author
    Posts
  • #14566
    Rosemary

    How do I put HTML in the text widget, it is treating it as regular text and escaping the special characters?

    #14581
    Jim

    Hi Rosemary

    I don’t know if this helps, but I tend to create my text using the visual editor in a draft WP page, get it how I want it to look and then click the text tab and cut and paste the code into the text widget. Seems to work.

    I hope this helps

    Jim…

    #14593
    RosemaryF

    Yes, thanks. It is working now. May have been an error in my HTML.

    #14740
    Zed
    Cryout Creations mastermind

    Wordpress’ text widget supports HTML and it does not do sanitization.
    If your HTML is valid, it will be displayed correctly, otherwise it will break the layout of the site (more or less).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘HTML in Text widget’ is closed to new replies.