Support » Plugin: Flexible Posts Widget » Stop duplicating IDs

  • (Searched the forum but didn’t find anything regarding this issue.)

    When you generate the list, you use the post-id as the id for the list item resulting in duplicate IDs on a page, which again can result in javascript errors.

    May I suggest that you append “fpw” to the list IDs ?

    Btw, I’m a huge fan of you plugin and use it on several sites.

Viewing 1 replies (of 1 total)
  • Thread Starter Per Søderlind

    (@pers)

    .. this is the line, in the template, causing the issue:

    <li id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

Viewing 1 replies (of 1 total)
  • The topic ‘Stop duplicating IDs’ is closed to new replies.