Posts by kaaz

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

i58.tinypic.com/ephc46.jpg

Upload images for the current page/post but do not insert them into the post editor. Under media library tab “Uploaded to this page/post” images will be your grid gallery images

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

I’ve added two images in a post and used [clearing] shortcode. It outputs the images of current post as expected with grid without any error or notice(which you reported).

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

Could you please explain purpose of [clearing] shortcode and use cases, Using this shortcode in editor, echos whole post content again

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

Please paste full source code of that file(shortcode-clearing.php) here: http://pastebin.com/

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

you’re welcome :)

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

Use get_the_ID() instead of $post->ID in custom loops OR in this case $loop->post->ID

add_shortcode( 'chills_flexslider', 'chills_flexslider_shortcode' );

function chills_flexslider_shortcode( $atts, $content = null ) {

    extract(shortcode_atts(array(
        'exclude' => '',
        'include' => '',
    ), $atts));

    //comma separated user input IDs to array
    $post_include = isset($include) && $include != '' ? explode( ',', $include) : '' ;
    $post_exclude = isset($exclude) && $exclude != '' ? explode( ',', $exclude) : '' ;

    $loop = new WP_Query(array(
                'post_type' => 'slides',
                'post_status' => 'publish',
                'post__in' => $post_include, //array
                'post__not_in' => $post_exclude, //array
                'ignore_sticky_posts' => 1,
            ));

    $html = ''; 

    if( $loop->have_posts() ) :

        $html .= '<div class="flexslider"><ul class="slides">';

                        while ( $loop->have_posts() ) : $loop->the_post();

                            $the_featured_image = get_the_post_thumbnail( get_the_ID(), 'full' );
                            $the_caption = get_the_content();

                            $html .= '<li>'.$the_featured_image.'<p class="flex-caption">'.$the_caption.get_the_title().'</p></li>';

                        endwhile; //END while loop

            $html .= '</ul></div>';

    else:

        $html .= '<p>' . __( '[chills_flexslider] Error: No slides found', 'framework' ) . '</p>';

    endif;

    return $html;

}

Thanks

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says
this person helps this marketplaces running

Congrats…

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

Theme preview panel collapse (possibly a bug, please report it)

http://i62.tinypic.com/2yy5eeg.jpg
380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

Done.

Could you please post the survey results here after finished

Thanks

380 posts
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
+2 more
kaaz says

@ThemeChills you’re welcome :)

by
by
by
by
by
by