emilee hudswell
asked 6 years ago

When I dragging “text” to DW Accordion. For some reason when I save it keep adding \ into my script. Please advise. Appreciate your help. This theme is brilliant! Screen Shot 2013-11-28 at 3.00.00 PM

5 Answers
DominicStaff
answered 6 years ago

Please tell me detail about this issue for further checking.

emilee hudswell
answered 6 years ago

Sorry for my bad english.

My original text script was
<a href=”http://www.missweirdo.me/flip_pong/vietnam/”><img alt=”” src=”http://www.missweirdo.me/wp-content/uploads/2013/05/V00.jpg&#8221; width=”100″ ></a><a href=”http://www.missweirdo.me/flip_pong/western-australia/”><img alt=”” src=”http://www.missweirdo.me/wp-content/uploads/2013/02/western00.jpg&#8221; width=”100″ ></a><a href=”http://www.missweirdo.me/flip_pong/uk/”><img alt=”” src=”http://www.missweirdo.me/wp-content/uploads/2013/03/UK00.jpg&#8221; width=”100″ ></a>
but once drag the text widget into DW: Accordion Widget and save it, it just auto adding \ into my script become.
Screen Shot 2013-11-28 at 3.00.00 PM

DominicStaff
answered 6 years ago

Hi Emilee, 
I have checked on our side, but did not meet the issue like you said.
Can you please send me a private question with your site URL and admin account for further checking?
Thanks

Wilfred
answered 6 years ago

Hi Emilee,
Though we do not meet the issue that you have, but you can try out this solution:
1. Open file widgets.php trong your site > wp-content > themes > your theme > inc > widgets.php hoạc Dashboard > Appearance > Editor > widgets.php
2. Add the following code:

$instance['text'] = stripslashes($instance['text']);

after this line code at line 54, 122, 142, 213

$instance = !empty($s['widget-'.$s['id_base']]) ? array_shift( $s['widget-'.$s['id_base']] ) : array();

Please try and let me know the result.
Thanks

emilee hudswell
answered 6 years ago

Hi, I tried. The script does not appear \ anymore but it still cannot work.
I have Private message you the login for my site (www.missweirdo.me) did you get it?
If this cannot be fix is never mind 🙂 still the best free wordpress theme though!

Wilfred
answered 6 years ago

Hi Emilee,
Please make sure you have added the code to ALL the line: 54, 122, 142, 213
Miss one line and the solution will not work.
 
Regards,

Powered by DW Question & Answer Pro