Insert tag P and span

themeforest

#1

Hello sir, how can i insert tag p and span cus in theme Yoona i can’t insert it.
Please help to reply


#2

Hi and welcome to Envato Forums,

Can you give us a code example? Are you trying to insert html code into widgets?

Btw, you can also get in touch with the author of the Yoona theme (as you know, when you purchase a theme, it comes with 6 months support included)

Best regards


#4

Yes i have buy this theme: Yoona Theme. but when i insert p and span in html code it’s can’t work:


After save it’s like this


#5

My solution for this problem is the plugin “TinyMCE Advanced”. It comes with an advanced function named: Keep paragraph tags.

Please let me know if everything is fine now :slight_smile:


#6

it’s work for tag P but Tag Span not work


#7

Seems that you are right, the spans are still removed after saving.

There is also a fix for this problem, by override the mce options. Take a look at this stackoverflow post. All you need to do is to copy this code into your functions.php file, inside your theme.

function override_mce_options($initArray) {
    $opts = '*[*]';
    $initArray['valid_elements'] = $opts;
    $initArray['extended_valid_elements'] = $opts;
    return $initArray;
} add_filter('tiny_mce_before_init', 'override_mce_options');

Have a great day!


#8

OK. Thanks


#9

Hello sir,

How about Button Book Now on home page i want to change link. how can i
change it.

Thanks


#10

What is the “Book Button”? You didn’t provided any url


#11

Hello,

Button: Book Now on home page i want to use this link:
https://www.thebookingbutton.com.au/properties/whimanhtldirect?check_in_date=18-02-2017&check_out_date=19-02-2017&number_adults=2

Thanks


#12

HI.

For Room each room (http://wmh.camit-group.com/rooms-and-suites/) when they click for detail i want show like this: http://preview.themeforest.net/item/yoona-hotel-resort-wordpress-template/full_screen_preview/11010445
How can i do?

Thanks


#13

As I see you are using the “Yoona - Hotel & Resort WordPress Template”, In this case you should check the documentation of the theme or contact the author and ask how to do this.

Basically you need to check if there any options in Theme Options Panel or edit some templates, but to be sure my suggestion is to reach the author of the theme.