• Including a textarea in the shortcode, or breaks on save.

    return '<textarea rows="4"><p><a href="http://dev.safesmartliving.com/appliance-repair-costs/"><img src="http://dev.safesmartliving.com/wp-content/uploads/average-appliance-cost-infographic-png.png" alt="Average Appliance Repair Costs" width="560" /></a><br/>Source: <a href="http://dev.safesmartliving.com/appliance-repair-costs/">SafeSmartLiving.com</a></p></textarea>';

    Becomes

    return '<textarea rows="4"><p><a href="http://dev.safesmartliving.com/appliance-repair-costs/"><img src="http://dev.safesmartliving.com/wp-content/uploads/average-appliance-cost-infographic-png.png" alt="Average Appliance Repair Costs" width="560" /></a><br/>Source: <a href="http://dev.safesmartliving.com/appliance-repair-costs/">SafeSmartLiving.com</a></p>

    and the final ‘; is printed on the form below the shortcode entry textarea box.

    https://ww.wp.xz.cn/plugins/add-actions-and-filters/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘elements in code break saves’ is closed to new replies.