1) I’m trying to get my shortcode gallery to display numbers instead of thumbnails, and have that all integrated with a lightbox.
So basically, instead of [thumbnail 1 with link] [thumbnail 2 with link] etc., I would have 1 | 2 | 3 | 4 and each would pop up the lightbox for that particular attachment.
2) Also, I was testing
wp_get_attachment_url()by inserting it into single posts and single pages that have attachments as
<?php echo wp_get_attachment_url(); ?>, but it won’t display anything (even in the source code). Am I misunderstanding how to use this function?
- The topic ‘Enumerating shortcode gallery images’ is closed to new replies.