[Plugin: Advanced Access Manager] Problem to exclude in gallery shortcode
-
I need to exclude the post thumbail in the gallery, it works with my coded, but when I activate the plugin, it doesn’t allow me to exclude the post thumbail
this is my code:<?php $id = get_post_thumbnail_id(get_the_ID()); // gets the post thumbnail ID ?> <?php echo do_shortcode('[gallery exclude='.$id.' link="file" itemtag="ul" icontag="li" columns="4" size="galeria"]'); ?>
size “galeria” is defined in the function.php like that:
add_image_size('galeria', 60, 60, true);
http://wordpress.org/extend/plugins/advanced-access-manager/
p.s. sorry my english it’s not good, greetings from Chile 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Advanced Access Manager] Problem to exclude in gallery shortcode’ is closed to new replies.