Skip to content

Incorrect Widget Count on footbar #124

@alektrefi

Description

@alektrefi

Responsive Version: 2x

Expected behavior:

that widget-count-# would match the number of widgets output.

Actual behavior:

widget-count-# includes widget that are not output.

Steps to reproduce:

  1. Add BU Text or BU Links widget to footbar and leave the widgets empty.
  2. Go to a page and look at inspector to see count showing more widgets than are output.

Screenshot (if this is a bug):

screen shot 2018-11-20 at 4 29 14 pm

Traced to:

<aside class="footbar <?php responsive_sidebar_classes( $footbar ); ?>" role="complementary">

function responsive_sidebar_classes( $sidebar_id ) {

See this PR that had similar issues ( individual count incorrect instead of total count ).
#96

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔥 Product bugA bug which is not directly related to a custom child theme.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions