WordPress.org

Ready to get started?Download WordPress

Forums

Fruitful
[resolved] short code is messing up html (3 posts)

  1. udik
    Member
    Posted 7 months ago #

    this is the text I put in the editor :
    [description]Taking great care of your skin[/description]

    [info_box_area columns_count="2"]

    [info_box title="Simple design" type_column="alpha"]Content for first column[/info_box]
    [info_box title="Simple design" type_column="alpha"]Content for the second column[/info_box]
    [/info_box_area]

    this is the html that comes out in the text version :
    <span>[<span class="GINGER_SOFTWARE_mark" id="bd6adab9-5952-4bfd-9ce9-d02c89476283">description</span><span class="GINGER_SOFTWARE_mark" id="9dc2fe81-963f-4dba-9e10-a1c00eea423d">]</span><span class="GINGER_SOFTWARE_mark" id="a1aa559f-f678-430c-a023-521de959cd71"></span>Taking great care of your skin</span><span class="GINGER_SOFTWARE_mark" id="bc9ad942-f3bd-42fb-84c8-6115cf91db6d"><span class="GINGER_SOFTWARE_mark" id="0df2ebd5-e711-464f-b24c-80d7be4bc901"><span class="GINGER_SOFTWARE_mark" id="4c9a6845-5e0d-4a42-bdfa-19a905047f43">[</span>/description]</span></span>

    [info_box_area columns_count="2"]
    <div><span class="GINGER_SOFTWARE_mark" id="fa2ac19f-b4bc-4912-8ef2-dfc06c94f598"><span class="GINGER_SOFTWARE_mark" id="0ad6db1b-290a-49dc-ba9b-6400dba7a8c0">[info_box title="Simple design" type_column="alpha"<span class="GINGER_SOFTWARE_mark" id="623cbcef-757a-4d9d-86be-a014e57c5656"><span class="GINGER_SOFTWARE_mark" id="7d11f139-3cd4-4a90-991b-b62ec079abda">]</span></span></span></span>Content for first column<span class="GINGER_SOFTWARE_mark" id="28d6110e-708a-455c-9fbc-8b15ce5ed1eb"></span><span class="GINGER_SOFTWARE_mark" id="79a2ede4-e938-42de-ada3-40908230cfce"><span class="GINGER_SOFTWARE_mark" id="77591fab-02f0-4ddc-a5ef-d1eac62cf857"><span class="GINGER_SOFTWARE_mark" id="dcf4f751-6b18-4945-b0f2-b15e916c9edb">[</span></span>/info_box]</span></div>
    <div><span class="GINGER_SOFTWARE_mark" id="12cbdca8-8366-4ff8-a266-10aff714cabc"><span class="GINGER_SOFTWARE_mark" id="699051de-8aed-4585-aaa4-b337816041d8">[info_box title="Simple design" type_column="alpha"<span class="GINGER_SOFTWARE_mark" id="9e281fe7-9de7-4454-b166-7d97b2c96c6a">]</span></span></span>Content for the second column<span class="GINGER_SOFTWARE_mark" id="1992ce8e-77e9-4dcf-81c6-7a877d474508"></span><span class="GINGER_SOFTWARE_mark" id="9d36aae1-11e4-45aa-bdf7-1f145374fbf3"><span class="GINGER_SOFTWARE_mark" id="1495cd92-96d9-464a-bfbc-c13d9ccafa73">[</span>/info_box]</span></div>
    <div>[/info_box_area]</div>

    some of the span tags are rendered inside the short code brackets and the results is that on the web site it is rendered as text like : [description]Taking great care of your skin[/description].
    If i manualy move the span tags from within the brackets of the short code it works as expected but it is manual and not viable because every change I make I need to go back to text and look for the mistakes...
    Please advise.
    Thank you

    I did not include a link to my site because it is offline while the errors are not fixed...
    Thanks

  2. Fruitful Code
    Member
    Theme Author

    Posted 7 months ago #

    Can you try to insert shortcodes in text editor instead of visual?

  3. Fruitful Code
    Member
    Theme Author

    Posted 7 months ago #

    Closed

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.