Support » Plugin: Grid/List View for WooCommerce » is not an allowed child of

  • You cannot create div elements with class="berocket_lgv_additional_data" as siblings of the li elements. This is not valid HTML. These elements must be descendents of the lis, perhaps as last-child.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Oh great, so wordpress.org suffers all WordPress’s forever broken handling of HTML tags within text. The title should be “<div> is not an allowed child of “< ul>”.

    • This reply was modified 9 months, 1 week ago by jqz.
    • This reply was modified 9 months, 1 week ago by jqz.
    • This reply was modified 9 months, 1 week ago by jqz.
    • This reply was modified 9 months, 1 week ago by jqz.
    • This reply was modified 9 months, 1 week ago by jqz.
    • This reply was modified 9 months, 1 week ago by jqz.
    • This reply was modified 9 months, 1 week ago by jqz.
    Plugin Author Dima Holovnia

    (@dholovnia)

    Hi,

    I know that. We will check if this could be changed.
    But as for now it will be as is. There is nothing else we can use in the ul instead of the li. And we cannot use div in the li because this way we will need to change the li element to get needed height and width and this could lead to broken layout.

    So current way is the best from what we have.

    If valid HTML is the most important for you I don’t have other propositions except to try another plugin.

    Regards,
    Dima

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘is not an allowed child of’ is closed to new replies.