Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support archive question Reply To: archive question

#6794
Jason
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 . '"' );