You’re getting Array
because that’s exactly what wp_get_post_tags
returns; an array (and when you try and echo one in PHP it’ll simply output Array
).
As @Chip Bennet suggested, use the_tags()
instead, which outputs an HTML string.
You’re getting Array
because that’s exactly what wp_get_post_tags
returns; an array (and when you try and echo one in PHP it’ll simply output Array
).
As @Chip Bennet suggested, use the_tags()
instead, which outputs an HTML string.