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.
Related Posts:
- post__in – Placing content from a foreach loop inside of an array
- Problem with displaying HTML content after in_array [closed]
- Array ids post to function have_post
- Can’t access PHP array inside script localization from javascript
- Output meta into arrays
- Trying to get property of non-object in shortocde
- How can I access specific posts brought back by query_posts?
- How to create a multidimensional array with multiple loops
- How to get user ID’s from multiple usernames?
- Loop through an array inside a class using foreach [closed]
- CPT while loop not working
- Exclude posts based on an array
- Add 2 values to post__not_in
- Query posts and display all dates in repeater field in chronological order
- Can’t print out returned value
- WordPress loop: Display if posts exist
- How can I access ‘key’ and ‘value’ from an array in a for loop?
- How to get files from loop for zip
- How to fix pagination for custom loops?
- Why should I put if(have_posts()), is while(have_posts()) not enough?
- AJAX with loop filtering categories
- Remove the Homepage Query
- A search for ‘0’ returns results
- Custom Loop and Infinite Scroll
- Loop that displays PARENT PAGE & CHILD PAGE & outputs GRANDCHILD PAGE title and content
- wp-admin redirecting to https, denying login
- wordpress loop for specific category
- Multiple posts with one loop iteration
- Query date in wordpress loop
- Transient not working for custom loops
- Display page of custom posts?
- Get link of inserted media file of post within loop
- Output shows a page instead of a list of blog postings
- How to add “time” data this?
- multiple loops with pagination on the same page
- Multiple loops on the same page removing post tags
- Pages inside a page (with thumbnails)
- How to make post content from each post display within the same div
- Displaying the last page of posts
- How to order posts by meta_value created inside loop?
- How to get_posts where ‘menu_order’ is more than 0/zero?
- WordPress Redirects on Install
- How to load all pages into one page with their templates
- Problems with loop
- Repeating Loop on my Posts Page
- Shortcode with a foreach and arguments
- Detect if current page is front page within custom query
- Display Authors in a grid loop
- Infinite Scroll and DFP
- Blog’s post count cause irratic behavior
- Basic multiple loops only displaying first loop
- Display post list with different styles
- Loop for sticky posts
- Get author_id in wordpress
- Single.php different behaviour from admin to non-admin
- Is it possible to reverse the order of a list of posts pulled from a loop?
- Give each posts in a loop a number in sequence
- Create Array from custom post type to display a slider
- Contact information footer
- custom post on homepage
- Multisite foreach loop returning only one result
- get_comments with post_status ‘public’ retrieves NULL result
- Loop is crazy – one row displays wrong count of posts [closed]
- I have broke my pagination, same posts on all pages (index.php)
- Filter existing hook using parameter and foreach loop
- Run “the loop” in a random order
- current-user_can not working in loop
- Show terms in archive page
- For Each +1 WordPress Loop
- Multiple loops for plugin
- Loops for cat links not looping for wordpress site
- Skip 5 latest post while paging?
- WordPress: query pages except remove one page
- get_post_meta printing empty fields, but it shouldn’t be
- Sort posts according to a numeric value entered with ACF
- wp_get_attachment_url not fetching URL?
- get the value for ALT is we check to see if an actual ALT value is set, if not we use the caption and if no caption is set we use the title
- how to add 4 post in one carousel slide
- How to get all multi-select user meta values and add them to an array?
- How to resolve a reload loop issue in the frontend when logged in to WordPress multi-site backend admin area
- Exclude Posts Using Meta Query and User Meta
- Is “the loop” a template tag?
- Excerpt isn’t working or am I missing something?
- Can I temporarily disable global $post?
- Shortcode for pulling specific Post Title outside loop when ID is passed in
- Show a list of user posts in the user admin page
- Infinite Loop after Genesis Theme Upgrade
- Page gets displayed in post field
- Active class for my flexslider in WordPress
- WordPress loop only displays 5 articles max?
- get_template_part() to render single page Theme
- Can’t see custom field after the Loop [closed]
- Showing related posts (custom post type) outside of the loop
- Same Loop on Multiple Pages
- Paged homepage – requirements?
- Least Number of Loops to Create Custom Homepage?
- The Loop for my theme with static front page is not working
- Showing ads after posts in home page
- Prevent duplicating specific column from database table
- Hide old posts each year