WordPress.org

Ready to get started?Download WordPress

Forums

Dynamically loading images into list through tags (1 post)

  1. MBPM
    Member
    Posted 2 years ago #

    Hi,

    I'm fairly new to WP and am designing a site which uses a great Javascript image slider gallery.

    I was wondering if there is anyway within WP to dynamically populate a list within a page depending on an images title or "tag"

    What I was thinking is producing an output something like this...

    <ul>
    <li><img src="image1-test-tag.jpg"/></li>
    <li><img src="image2-test-tag.jpg"/></li>
    <li><img src="image3-test-tag.jpg"/></li>
    <li><img src="image4-test-tag.jpg"/></li>
    </ul>

    Where 'test-tag' is the comment that filters which images are displayed on the page in that specific UL. I'm trying to make the backend of this site as user friendly as possible.

    Is there a tutorial out there which covers this?

    Cheers,

Topic Closed

This topic has been closed to new replies.

About this Topic