WordPress.org

Ready to get started?Download WordPress

Forums

Custom Sidebars
Strange bug ? (2 posts)

  1. nlexx
    Member
    Posted 1 year ago #

    After having created a new custom sidebar i then went to advance-edit it, i type my HTML and then when i check the code, it seems like there are slashes to the code i never type in the first place. In fact each time i save the code it adds new '/' so at the ned my code looks like :

    <h3 class = \\\\\"title\\\\\">

    … wich is weird !

    http://wordpress.org/extend/plugins/custom-sidebars/

  2. moyarich
    Member
    Posted 1 year ago #

    remove the quotes

    <h3 class=title>

    to add multiple classes use the html code &#32; to represent a SPACE

    <h3 class=title&#32;widgetTitle>
    after it is saved, if you click edit again you will see
    <h3 class=title widgetTitle>

    ---for before widget this is what i use to create a unique id, and a class name for the widget--------------

    <div id=%1$s class=widget&#32;%2$s>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.