How to add Easy Locator to Wordpress:
------------------------------------------------------------------------------
Wordpress automatically strips out iframe tags when you save an article. There is a workaround, courtesy of Designzzz.
- Open your theme's functions.php (accessible from wp-admin > Appearance > Editor)
- Copy and paste the following function into the file at the very bottom (NOT inside an existing function)
function mytheme_tinymce_config( $init ) { $valid_iframe = 'iframe[id|class|title|style|align|frameborder|height|longdesc|marginheight|marginwidth|name|scrolling|src|width]'; if ( isset( $init['extended_valid_elements'] ) ) { $init['extended_valid_elements'] .= ',' . $valid_iframe; } else { $init['extended_valid_elements'] = $valid_iframe; } return $init; } add_filter('tiny_mce_before_init', 'mytheme_tinymce_config');
- Save the file
- Copy and paste your Easy Locator iframe code where you want it to appear in Wordpress.
Note: This won't work if your blog/site is hosted at wordpress.com as they don't allow the use of iframes.
If all that sounds a little too complicated then you can always add a standard link in a Wordpress post (see Option 1) as you would add a link to any other website. This will open your locator tool in its own window.