Thanks for the reply!
It's definitely php that I need to put in the block. What I'm trying to do is put a block on my shop that pulls in the titles/links to my latest wordpress blog entries.
The description of how to do it is at
http://www.corvidworks.com/articles/wordpress-content-on-other-pages
So I added the code to the top of my page as required, then I enabled php in custom blocks, then I copied the php code to the block but Viart stripped out the php from the custom block instead of allowing it to work as needed.