Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Yes, did you check out the shortcode builder?

    [ajax_load_more search=”term” tag=”design”]

    Thread Starter nght

    (@nght)

    Hi cooney, thanks for the anwser.

    Yes, I did. Im trying to display results for both tag slug and term.

    $term = get_search_query();

    [ajax_load_more button_label="+ posts" search="'. $term .'" tag="'.$term.'" post_type="post" posts_per_page="10" scroll="false" transition="fade" seo="true"]

    This shortcode returns no results. When i try with only tag or only search, it works.

    Plugin Author Darren Cooney

    (@dcooney)

    Maybe it’s NOT possible to use wp_query by tag and search – i’m not 100% sure.

    Are you sure any posts should be returned? Seems strange to search and return posts by tag with the same $term.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Arguments?’ is closed to new replies.