Support » Plugins » Enumerating shortcode gallery images

  • Resolved mohawktopus



    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?

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 2. You should use template tags in the template files, never in the content of a post or Page.

    I meant that I edited the template pages of Single Post and Single page. (By going to the Design > Theme Editor dealio.)



    I figured it out finally, but it was a while back now, and I don’t remember how…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Enumerating shortcode gallery images’ is closed to new replies.