Thanks I enable mod_rewrite. solve 🙂
wamp 2.2
Apache Version : 2.2.22
PHP Version : 5.3.13
by clicking wamp icon on bottom right of desktop
Apache -> Apache Modules -> rewrite_module
I tryed using
<?php
$gallery_shortcode = ‘[gallery id="' . intval( $post->post_parent ) . '"]‘;
print apply_filters( ‘the_content’, $gallery_shortcode );
?>
but all the images those are even big and small both are displaying .. how to resolve it. 🙁
I created a page
http://bptpthedeck.in/?page_id=101
and i copy the short code
<?php echo do_shortcode(‘[gallery option1="value1"]‘); ?>
in my wordpress theme (index.php)
still doesn’t work.
🙁