WordPress.org

Support

Support » Plugins and Hacks » The plugin loads 2 elements instead of 1

The plugin loads 2 elements instead of 1

Viewing 2 replies - 1 through 2 (of 2 total)
  • natostanco
    Member

    @natostanco

    Actually it loads every element after and included the specified ID

    theme is atahualpa

    edit: found out, the problem is the .js file splits the content using divs, while the theme uses td, I’ll try to find a solution maybe with regex

    natostanco
    Member

    @natostanco

    I couldn’t find a way to solve the problem with regex, probably it was not possible, so I added an extra option to specify the tag of the element to be ajax loaded and it is working fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The plugin loads 2 elements instead of 1’ is closed to new replies.