Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to make a change on the core eshop plugins, since on their forum they don't support core changes I'm posting my question in here.

Maybe is kind of simple however I cannot find the solution, basically I need the product description support html characters. Right now looks like this:

 <label for="eshop_product_description"><?php _e('Product Description (For Checkout)','eshop'); ?></label>
 <input id="eshop_product_description" name="eshop_product_description" value="<?php if (isset($eshop_product['description'])) echo $eshop_product['description']; ?>" type="text" size="30"/>

Any chances to allow this change on this line w/o touching any other information?

Thanks in advanced.

UPDATE


Reading a little... (cause that is the problem, we don't read) I found the solution for my problem, "htmlspecialchars_decode" function would do the trick, now I wonder how to close or erase a post in here ^^.

 <?php if (isset($eshop_product['details'])) echo htmlspecialchars_decode($eshop_product['details']); ?>

Regards

share|improve this question
    
Please add your solution as an answer so your question doesn't haunt site as unanswered. –  Rarst Jan 23 '12 at 18:30
    
if you read it more carefully you will notice i did it =) –  andresmijares25 Jan 23 '12 at 22:49
1  
Not edit it into question, but create new answer and put it there. That way it can be marked accepted. Otherwise this would forever be question that doesn't have any answer. –  Rarst Jan 24 '12 at 8:21

1 Answer 1

up vote 0 down vote accepted

Reading a little... (cause that is the problem, we don't read) I found the solution for my problem, "htmlspecialchars_decode" function would do the trick, now I wonder how to close or erase a post in here ^^.

 <?php if (isset($eshop_product['details'])) echo htmlspecialchars_decode($eshop_product['details']); ?>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.