if ($inner == 1 || $inner % 3 == 1) {
     $output .= '<div class="row">';
 }
 $output .= '<div class="col-sm-4">';
 $output .= '<div class="ideas-item">';
 $output .= '<div class="image">';
 $output .= '<div class="fund-progress"><div class="bar" style="width:' . themeum_get_project_info(get_the_ID(), 'percent') . '%"></div></div>';
 $output .= '<a href="' . get_the_permalink() . '">';
 $output .= '<figure>';
 if (has_post_thumbnail() && !post_password_required()) {
     $output .= get_the_post_thumbnail(get_the_ID(), 'project-thumb', array('class' => 'img-responsive'));
 } else {
     $output .= '<div class="no-image"></div>';
 }
 $output .= '<figcaption>';
 $output .= '<p>' . themeum_get_project_info(get_the_ID(), 'percent') . '%</p>';
 $output .= '<p class="pull-left">' . __("Rise Funded", "themeum-startup-idea") . '</p>';
 $output .= themeum_get_ratting_data(get_the_ID());
 $output .= '</figcaption>';
 $output .= '</figure>';
 $output .= '</a>';
 $output .= '</div>';
 $output .= '<div class="clearfix"></div>';
 $output .= '<div class="details">';
 $output .= '<div class="country-name">' . esc_attr($location) . '</div>';
 $output .= '<h4><a href="' . get_the_permalink() . '">' . get_the_title() . '</a></h4>';
 $output .= '<div class="entry-meta">';
 $output .= '<span class="entry-food">' . get_the_term_list(get_the_ID(), 'project_tag', '<i class="fa fa-tags"></i> ', ', ') . '</span>';
 $output .= '<span class="entry-money"><i class="fa fa-money"></i> ' . __('investment:', 'themeum-startup-idea') . ' <strong>' . themeum_get_currency_symbol() . esc_attr($funding_goal) . '</strong></span>';
 $output .= '</div>';
 $output .= '</div> ';
<?php

add_shortcode('themeum_handpick_project', function ($atts, $content = null) {
    extract(shortcode_atts(array('number_of_project' => '', 'class' => ''), $atts));
    $output = '';
    query_posts(array('p' => esc_attr($number_of_project), 'post_type' => 'project'));
    $output .= '<div id="handpick-project">';
    while (have_posts()) {
        the_post();
        $location = rwmb_meta("thm_location");
        $funding_goal = rwmb_meta("thm_funding_goal");
        $output .= '<div class="handpick ' . esc_attr($class) . '">';
        $output .= '<p class="rise-pund">' . __("Fund Raised", "themeum-startup-idea") . '</p>';
        $wave = 140 / 100 * themeum_get_project_info(get_the_ID(), 'percent');
        $output .= '<div class="loading wave" style="background-size: 75px ' . $wave . 'px;">';
        $output .= '<h2>' . themeum_get_project_info(get_the_ID(), 'percent') . '<span>%</span></h2>';
        $output .= '</div>';
        $output .= '<p class="location">' . esc_attr($location) . '</p>';
        $output .= '<h3>' . get_the_title() . '</h3>';
        $output .= '<div class="info">';
        $output .= '<div class="hp-project-meta">';
        $output .= '<span class="entry-money"><i class="fa fa-money"></i> ' . __('Total Investment:', 'themeum-startup-idea') . ' <strong>' . themeum_get_currency_symbol() . esc_attr($funding_goal) . '</strong></span>';
        $output .= '<span class="entry-rate">' . themeum_get_ratting_data(get_the_ID()) . '</span>';
        $output .= '</div>';
        $output .= '<p class="intotext">' . themeum_the_excerpt_max_charlength(110) . '</p>';
        $output .= '<a class="btn btn-default" href="' . get_the_permalink() . '">' . __('See Idea', 'themeum-startup-idea') . '</a>';
        $output .= '</div>';
        $output .= '</div>';
        //ideas item
    }
    // Reset Query