WordPress.org

Ready to get started?Download WordPress

Forums

Gallery without the Fluff
Adding data-large="" and data-description="" ?? (3 posts)

  1. atotalpirate
    Member
    Posted 1 year ago #

    I was wondering if it is possible to add support for data-large="{thing}" and dara-description="{thing2}" to the admin mark up settings.

    When I try to set the output to

    <img src="{src-large}" data_large={src_large} alt="{alt_text}" data-description="{}" />

    It only outputs

    <img src="{}src-large" alt="{alt_text}" />

    Any ideas?

    http://wordpress.org/plugins/gallery-without-the-fluff/

  2. atotalpirate
    Member
    Posted 1 year ago #

    Didn't realize HTML5 data-types existed till I ran into this problem. I'm wondering if it's possible for me to just get into the functions.php or output-default.php and just add these two fields specifically so they aren't erased when I update my gallery's output since that's all I need to get my particular gallery working.

  3. atotalpirate
    Member
    Posted 1 year ago #

    Figured I'd probably not get a response anytime soon and began to look for a simpler gallery solution.

    http://codepen.io/Vampireos/pen/EKIpb

    Found this.

    Gallery without the fluff doesn't work when I add an <input> to the loop. I hate the internet.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic