I'm trying to add a location tag to my wordpress posts that will appear under the title? Like the example below. Does anyone have any suggestions for how I could do this? I looked in the wordpress codex and there appears to be nothing. I read something about taxonomies, would that be my best solution? If so any insight for how I could achieve this. Thanks in advance.
<?php get_header(); the_post_thumbnail('banner-image'); if (have_posts()) : while (have_posts()) : the_post(); ?> <article class="post"> <?php wpb_set_post_views(get_the_ID()); ?> <div class="post-title"><?php the_title(); ?></div> <div class="post-content"><?php the_content(); ?></div> <?php comments_template(); ?> </article> <?php endwhile; else : echo '<p>No content found</p>'; endif; get_footer(); ?>