Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?

You can use something like this: Embed this script: http://jquery.lukelutman.com/plugins/flash/jquery.flash.js Then in your functions.js (function($) { $(document).ready(function (){ $(“.flash”).click(function(e) { $(this).parent().empty().flash({ src: $(this).attr(‘href’) }); e.preventDefault(); }); }); })(jQuery); Your markup would be something like: <div class=”flash-container”> <a href=”https://wordpress.stackexchange.com/questions/40287/flash.swf”><img src=”placeholder.jpg”></a> </div> For more info check http://jquery.lukelutman.com/plugins/flash/ i hope this makes some sense 🙂 Btw: this isn’t … Read more

qTranslate 2.5.28 and WordPress 3.3.1 issues [closed]

In /wp-content/plugins/qtranslate/qtranslate_wphacks.php, line 89, change this: // do some crazy js to alter the admin view $content .=”<script type=\”text/javascript\”>\n// <![CDATA[\n”; $content .=”function qtrans_editorInit1() {\n”; // include needed js functions $content .= $q_config[‘js’][‘qtrans_is_array’]; $content .= $q_config[‘js’][‘qtrans_xsplit’]; $content .= $q_config[‘js’][‘qtrans_split’]; $content .= $q_config[‘js’][‘qtrans_integrate’]; $content .= $q_config[‘js’][‘qtrans_use’]; $content .= $q_config[‘js’][‘qtrans_switch’]; $content .= $q_config[‘js’][‘qtrans_assign’]; $content .= $q_config[‘js’][‘qtrans_save’]; $content .= … Read more

Filtered content appears in the excerpt

If there are no manual excerpts added to the Post, WordPress picks the content itself as excerpt for that Post. You may either put the excerpts for Posts manually or apply_filter(‘the_excerpt’, ‘modify_excerpt’) and remove the unwanted text from the excerpt. The function code-structure will remain almost the same, with the exception that now you will … Read more

highlight specific text in the content box

The only way I can think of doing this is with JavaScript to regex your parameter and apply a css style to them on the fly. Check out these jquery plugin for ideas: https://github.com/jbr/jQuery.highlightRegex http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html

Sorting dynamic table content with jQuery

You might try calling the table by ID instead of the generic ‘table’. Also, wrap your JS in a noconflict wrapper like this: (function($) { $js162(function(){ $js162(“#actArchive”).tablesorter({ headers: { 0: { sorter: “text” }, 1: { sorter: “digit” }, 2: { sorter: false }, 3: { sorter: false } } }); }); })(jQuery);