Hi.
I have this in my functions.php:
add_shortcode('ataglance', 'ataglance_function');
function ataglance_function() {
?>
<table>
<!-- // generate table from xml file -->
</table>
<?php
}
And this in my page:
test copy
[ataglance]
However, the page output is
<table>...</table>
test copy
How can I make sure the code is executed in order?
Thanks in advance.
Jake
_______________________________________________
wp-hackers mailing list
wp-hackers@...
http://lists.automattic.com/mailman/listinfo/wp-hackers