I use this code to create a simple gallery on the page:
<?php echo do_shortcode('[gallery itemtag="ul" icontag="li" size="full" columns="0" link="file" ]'); ?>
The problem now is that the end user must upload the image through the Media page before selecting this image as a recognized image.
I know that this can be solved by adding an image identifier to the shortcode exception list, but how to get this identifier automatically?
wordpress wordpress-theming
Ewald
source share