Hi smekras,
You can display display rendered shortcodes by wrapping the additional content output with the do_shortcode
function
<?php $additional_content = get_additional_content();
for( $i = 0; $i < count($additional_content); $i++ ) {
echo do_shortcode( $additional_content[$i]['content'] );
}?>
Alternatively, a more thorough method would be to apply the_content
filters. The achieve this, firstly add this to your theme functions.php
add_filter( 'the_content', array( $blocky, 'blocky_content_filter' ), 1 );
(there will be an option on the settings page in v.1.3 to handle this as well).
Then you can run apply_filters
on your additional content.
<?php $additional_content = get_additional_content();
for( $i = 0; $i < count($additional_content); $i++ ) {
echo apply_filters( 'the_content', $additional_content[$i]['content'] );
}?>
Currently there is no way to reorder content blocks in the editor. It is on my radar, however in the meantime I’d recommend creating a bunch of extra blocks, copying your content into the new blocks in the correct order and then removing the empty blocks.
Thanks,
Cameron