WordPress.org

Ready to get started?Download WordPress

Forums

Frontpage-Slideshow
Adding a Slide Count (3 posts)

  1. aaronkarp
    Member
    Posted 3 years ago #

    I have a feeling this is fairly easy and I could probably puzzle it out myself given some time, but hey, I'm lazy, and hopefully someone has already done it. I'm trying to build a template that will duplicate the slideshow seen at http://www.planyourmeetings.com/test/newsite/index.html. The overall layout is coming along nicely, but I'll need to create a counter that works with the Next and Previous links to keep track of which slide the user is one. Has anyone built something similar already? Any tips would be greatly appreciated.

  2. aaronkarp
    Member
    Posted 3 years ago #

    Never mind, I figured it out. If anyone else is wondering (probably not, as it's really really simple, in frontpageSlideshow_TPL(), you can get the current slide number with $id + 1 and the total number of slides with count($fsentries). Nice and easy.

  3. Bozz
    Member
    Posted 3 years ago #

    That's really helpful for what I was looking to do, thanks Aaron!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic