Re: MathML and BBpress working together
Thanks!
You can include ASCIIMathML.js in the header via plugin by this sort of code:
`function incMathJs() {
$url = bb_path_to_url( dirname(__FILE__) . ‘/ASCIIMathML.js’)
echo ‘<script type=”text/javascript” src=”‘ . $url . ‘”>’;
}
add_action( ‘bb_head’, ‘incMathJs’ );
Not sure when or how the JS kicks in, but perhaps that’s not necessary? Anyway, you could head over to trac and request that code_trick be made pluggable (so a plugin could overwrite it).