It’s outputting the word Array
which is self explanatory. Instead of direct echoing it, you will need to turn the array into a string. Try implode
, something like:
Tags: <?php $my_theme = wp_get_theme(); echo implode(', ', $my_theme->get( 'Tags' ) ); ?>