Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter downfast

    (@downfast)

    Actually even the container has a duplicated ID with #ajax-load-more

    How can we do so that each container and button (urgent in my case) has a unique identifier?

    p.s. obviously I can target the class and use $this but unique ids would be much better for all.

    Thanks

    Plugin Author Darren Cooney

    (@dcooney)

    The #ajax-load-more is a legacy issue. The multiple instances work just fine even though the ids are not unique. The plugin does not target these ids at all.

    Feel free to remove the ids via JS or hack the core if this is an urgent fix.

    Cheers,

    Thread Starter downfast

    (@downfast)

    That’s good to know but it is not just good for validating but I will have to use jQuery as if I hack the plugin, then each time you’ll make an update we will have to change it again. Thought might be a quick update you could do in the core.

    Ok anyway I will do it via my js.

    Thanks

    Plugin Author Darren Cooney

    (@dcooney)

    Ya it would be a quick fix I just have not removed it in case users were targeting that div id for styling.

    Cheers,

    Thread Starter downfast

    (@downfast)

    You should and could anyway, because you already gave us the opportunity to add our own classes to containers and buttons which is also great for multi instance and styling ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multiple instance duplicates button load more IDs?’ is closed to new replies.