Home › Forums › Pro Support › archive question › Reply To: archive question
December 5, 2018 at 3:14 pm
#6794
Participant
Yes, I still need some help. Can we start with the tag archive?
I’m trying to use the same format as the category snippet but it doesn’t work.
Here’s what I have:
if ( is_single() ) {
$tag = get_queried_object();
$tag = $tags[0];
} else {
$tag = get_tag( get_query_var( 'tag' ) );
}
$tag_slug = $tag->slug;
wpsp_display( 13607, 'tax_term="' . $tag_slug . '"' );