Advertisements

My Favorites

TRUE, 'class' => TRUE, 'title' => TRUE, 'style' => TRUE, 'align' => TRUE, 'frameborder' => TRUE, 'height' => TRUE, 'longdesc' => TRUE, 'marginheight' => TRUE, 'marginwidth' => TRUE, 'name' => TRUE, 'scrolling' => TRUE, 'src' => TRUE, 'width' => TRUE ); $GLOBALS['allowedposttags']['script'] = array( 'id' => TRUE, 'class' => TRUE, 'src' => TRUE, 'type' => TRUE, 'name' => TRUE ); /** * Add these to the Tiny MCE whitelist of acceptable Tags. * This keeps the values available when loading the page, * and when switching from Visual/Text Tabs */ function unfilter_iframe($initArray) { if (isset($initArray['extended_valid_elements'])) { $initArray['extended_valid_elements'] .= ",+iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]"; } else { $initArray['extended_valid_elements'] = "+iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]"; } return $initArray; } function unfilter_script($initArray) { if (isset($initArray['extended_valid_elements'])) { $initArray['extended_valid_elements'] .= ",+script[id|class|src|type|name]"; } else { $initArray['extended_valid_elements'] = "+script[id|class|src|type|name]"; } return $initArray; } add_filter('tiny_mce_before_init', 'unfilter_iframe'); add_filter('tiny_mce_before_init', 'unfilter_script'); // Add shortcode support to completely bypass the iframe filter add_shortcode( 'show_rs_widget', 'rs_show_widget'); function rs_show_widget($atts, $content = null) { extract(shortcode_atts(array( 'wid' => '', 'blog' => '', 'product_ids' => '', 'rows' => '', 'cols' => '', 'brand' => '', 'price' => '', 'hover' => '' ), $atts)); $h = $rows * 120; $w = ($cols * 110) + 50; $magic_num = 0; $how_tall = '120'; $prod_box = 'show'; if ($brand == 1) { $magic_num++; } if ($price == 1) { $magic_num++; } if ($hover == 1) { $magic_num = 0; $prod_box = 'hover-info'; } if ($magic_num == 1) { $how_tall = '162'; } else if ($magic_num == 2) { $how_tall = '195'; } $out = "
"; return $out; } function ms_show_widget($atts) { extract(shortcode_atts(array( 'id' => '0', 'image_id' => '0', 'width' => '0', 'height' => '0', 'adblock' => 'Disable your ad blocking software to view this content.', 'enableJs' => 'JavaScript is currently disabled in this browser. Reactivate it to view this content.' ), $atts)); $out = '
'; return $out; } add_shortcode('show_ms_widget', 'ms_show_widget'); function ltk_show_widget($atts) { extract(shortcode_atts(array( 'user_id' => '0', 'rows' => '1', 'cols' => '6', 'show_frame' => 'true', 'padding' => '0' ), $atts)); $out = '
'; return $out; } add_shortcode('show_ltk_widget', 'ltk_show_widget'); function ltk_widget_version_two($atts) { extract(shortcode_atts(array( 'app_id' => '0', 'user_id' => '0', 'rows' => '1', 'cols' => '6', 'show_frame' => 'true', 'padding' => '0', 'display_name' => '', 'profileid' => '' ), $atts)); $out = '
'; return $out; } add_shortcode('show_ltk_widget_version_two', 'ltk_widget_version_two'); function lookbook_show_widget($atts) { extract(shortcode_atts(array( 'id' => '0', 'adblock' => 'Turn off your ad blocker to view content', 'enableJs' => 'Turn on your JavaScript to view content' ), $atts)); $out = '
'; return $out; } add_shortcode('show_lookbook_widget', 'lookbook_show_widget'); function shopthepost_show_widget($atts) { extract(shortcode_atts(array( 'id' => '0', 'adblock' => 'Turn off your ad blocker to view content', 'enableJs' => 'Turn on your JavaScript to view content' ), $atts)); $out = '
'; return $out; } add_shortcode('show_shopthepost_widget', 'shopthepost_show_widget'); function boutique_show_widget($atts) { extract(shortcode_atts(array( 'id' => '0', 'adblock' => 'Turn off your ad blocker to view content', 'enableJs' => 'Turn on your JavaScript to view content' ), $atts)); $out = '
'; return $out; } add_shortcode('show_boutique_widget', 'boutique_show_widget'); add_filter('widget_text', 'do_shortcode'); add_filter('the_excerpt', 'do_shortcode'); ?>

TAKE A JOURNEY WITH ME

Fashion

Think Pieces

Travel

Lifestyle

A Love Note to Myself

A little late post for Valentines Day but it’s never too late to write a little love note to yourself. I don’t like the idea of Valentines Day too much…

full story
Share:

LATEST VLOGS