wpsmith / genesis-sandbox-featured-content-widget

Genesis Sandbox Featured Content Widget. Based on Nick Croft's Genesis Featured Widget Amplified for additional functionality which allows support for custom post types, taxonomies, and extends the flexibility of the widget via action hooks to allow the elements to be re-positioned or other elements to be added.
39 stars 21 forks source link

Classes added outside of widget scope #1

Closed jalberts closed 10 years ago

jalberts commented 10 years ago

The additional $classes[] are being inserted throughout the site, not just within the featured content widget.

Example output from the beginning of a standard page:

<main class="content" role="main" itemprop="mainContentOfPage">
    <div class="breadcrumb">You are here: <a href="http://sitename.com/" title="View Home">Home</a> / <a href="http://sitename.com/example-page/" title="View Page">Example Page</a> / Child Page Name</div>
    <article class="post-159 page type-page status-publish entry gs-1 gs-odd gs-featured-content-entry" itemscope="itemscope" itemtype="http://schema.org/CreativeWork">
    <header class="entry-header">
        <h1 class="entry-title" itemprop="headline">Child Page Name</h1>
    </header>