WordPress.org

Forums

Slingpic
[resolved] Class Name? (4 posts)

  1. bobbyau
    Member
    Posted 2 years ago #

    Hi There,

    There is the following in settings and am wondering what class name refers to? I couldnt find any further info on this.

    Choose which images show Slingpic based on a class name.

    Cheers.

    http://wordpress.org/extend/plugins/slingpic/

  2. benjackson84
    Member
    Plugin Author

    Posted 2 years ago #

    Hi

    The Class name refers to the the class="" attribute of the <img /> tag. For example, if you would like Slingpic to only appear on particular images then add the Class name "show-slingpic" to these images like this:

    <img src="my-image.jpg" class="show-slingpic" />

    You can find more information here: http://www.w3schools.com/tags/att_global_class.asp

  3. bobbyau
    Member
    Posted 2 years ago #

    Ok then cheers for that.

  4. benjackson84
    Member
    Plugin Author

    Posted 2 years ago #

    No worries, happy to help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags