• In a site with many lists i get a Duplicate ID lcp_instance_0 error when make a w3c validation.

    I dont know if this is wrong but clean all my duplicate errors of this type:

    Just erase this from catlistdsiplayer

    //Give id to wrapper tag
        if (isset($this->params['instance'])){
          $this->lcp_output .= ' id="lcp_instance_' . $this->params['instance'] . '"';
        }

    This will take out the ids from the list, so u dont have duplicates.

    I wonder if anyones knows if this is right. Great plugin

    https://wordpress.org/plugins/list-category-posts/

  • The topic ‘Tip to solve w3c validation with many lists’ is closed to new replies.