• I’ve created a custom page template that will display posts for based on tags that is typed in the custom field.

    Currently, if the word tag is single word, it will display, but if used something like: tag1+tag 2, it won’t work.

    Here’s my code:

    `$what_tag = get_post_meta($post->ID, ‘what_tag’, $single);
    $lastposts = query_posts(‘category_name=MainCats&gdsr_sort=thumbs&tag=’.$what_tag);`

    What do I need to do so I could use multiple word tags?

    gdsr_sort is from GDStar Rating.
    Thanks

  • The topic ‘query_string multiple word tag not showing up.’ is closed to new replies.