Search results for: ' . $_GET['query'] . '
'; } // Create function to allow a client to get 20 posts per page function get_tagged_posts($client, $before_date, $limit) { $tag = $_GET['query']; $tagged_posts = $client->getTaggedPosts($tag, $options=null); $card_columns = '' . $post->caption . '
'; } } if ($post->type == 'text') { if (not_blank($post->title)) { $card_columns .= '' . $post->title . '
'; } if (not_blank($post->body)) { $card_columns .= '' . $post->body . '
'; } } if ($post->type == 'answer') { $card_columns .= '' . $post->asking_name . ': ' . $post->question . '
'; $card_columns .= ''; $card_columns .= $post->answer; } if ($post->type == 'quote') { $card_columns .= '
' . $post->summary; $card_columns .= ''; } if ($post->type == 'chat') { for ($i = 0; $i <= count($post->dialogue); $i++) { $card_columns .= '
' . $post->reblog->comment . '
' . (not_blank($post->dialogue[$i]->name) ? ('' . $post->dialogue[$i]->name . ': ') : "") . $post->dialogue[$i]->phrase . ''; } } /* This seems to just post a duplicate of a QA answer if (isset($post->reblog->comment) && $post->reblog->comment !== '') { $card_columns .= '
' . $post->reblog->comment . '
'; } */ // $card_columns .= 'Visit Post →'; $card_columns .= ' '; $card_columns .= '