Brightcove and Youtube embed code in Wordpress MU

August 25th, 2008 Mark

By default Wordpress MU does not allow embed code even when using the HTML post feature. This is different from singe Wordpress instances that do allow embedding.

The fix: Edit wp-include/kses.php. In that file search for “Post filtering” and then comment out the following lines:

// Post filtering
//add_filter(’content_save_pre’, ‘wp_filter_post_kses’);

Please note this will affect all blog instances within the Wordpress MU installation.

This fix came from Simply-Basic.com

Wordpress paging problem in custom category templates

August 22nd, 2008 Mark

So there’s a bug in the wordpress query_posts() function with Pagination when you’re building a custom template and you want to view posts by category and have it limit a page to a certain numbers of posts. Most of the solutions in the WP forums are bogus. You get the page links but the pages are the same posts. As i suspected you gotta tweak the query and this guy has the perfect solution here.

Issues with Podtrac and Podpress in Wordpress

August 7th, 2008 Mark

Saw a lot of possible fixes for this issue. The problem is in the General Settings of Podpress, when enabling Podtrac statistics nothing changes with the MP3 urls in the feed. All you have to do is format your uploads folder field named “URI of media files directory” like this:

http://www.podtrac.com/pts/redirect.mp3/www.YOURDOMAINNAME.com/wp-content/uploads

This is assuming you already have an account set up wih Podtrac.