Here is my problem... I am using WordPress, and I have a Theme called '42 Walls'. This theme allows me to change a bunch of stuff via a menu in the admin area.. one of these options is to add some adverts. I am to copy paste my ad code into a designated area, select yes and save.
However: I do this, check my website and nothing shows. At first I thought it just was not saving properly, but it is actually just adding some slashes in front of the quotes (eg. \" )
After some googling I figured out this was called Magic Quotes.
After some searching on the forums here I found out it seems impossible to turn off Magic Quotes.
I found one thing that may help...Does that stripslashes thing work? =/ Thing is I have no idea where to put it. I can edit the theme's code... so I am thinking I will try and put the stripslashes thingy there...
Though where I think it should go, all it talks about is arrays... which are just text, right? So I must not be looking in the right place.
I don't know what to do to get the Magic Quotes thing to stop! If you have any advice on what might be a good thing to look for to put the stripslashes in, or if there is another way of doing it... please help?
Thanks!
EDIT::
Actually, I think I found where it might work...
Still no idea where I would put it or if this is even the right place. >_<;
However: I do this, check my website and nothing shows. At first I thought it just was not saving properly, but it is actually just adding some slashes in front of the quotes (eg. \" )
After some googling I figured out this was called Magic Quotes.
After some searching on the forums here I found out it seems impossible to turn off Magic Quotes.
I found one thing that may help...Does that stripslashes thing work? =/ Thing is I have no idea where to put it. I can edit the theme's code... so I am thinking I will try and put the stripslashes thingy there...
Though where I think it should go, all it talks about is arrays... which are just text, right? So I must not be looking in the right place.
I don't know what to do to get the Magic Quotes thing to stop! If you have any advice on what might be a good thing to look for to put the stripslashes in, or if there is another way of doing it... please help?
Thanks!
EDIT::
Actually, I think I found where it might work...
case 'advert':
?>
<div style="width:704px; padding:0px 0px 10px; margin:0px 0px 10px;"><span style="font-family:Arial, sans-serif; font-size:16px;color:#444; display:block; padding:5px 0px;">
<?php echo $value['name']; ?></span>
<textarea name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" cols="80" rows="3"><?php if ( get_option( $value['id'] ) !== FALSE) { echo format_to_edit(get_option( $value['id'] )); } else { echo format_to_edit($value['std']); } ?></textarea>
<span style="font-family:Arial, sans-serif; font-size:12px; color:#444; display:block; padding:5px 0px;">
<?php echo $value['desc']; ?>
</span>
</div>
<?php
break;
Still no idea where I would put it or if this is even the right place. >_<;
Last edited: