Opened 10 years ago
Closed 10 years ago
#38404 closed defect (bug) (fixed)
Twenty Seventeen: Hidden article tags on home page
| Reported by: | ElectricFeet | Owned by: | karmatosed |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.7 |
| Component: | Bundled Theme | Version: | |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | Focuses: |
Description (last modified by )
reat theme! Very impressed. Thanks
I'm playing around with it to see its potential and note that when a front-page panel is unused, the resulting html has (for example):
<article id="panel3" class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel3">
<span class="twentyseventeen-panel-title">Panel 3 Placeholder</span>
with
article.panel-placeholder {
display: none;
}
.twentyseventeen-front-page.twentyseventeen-customizer #primary article.panel-placeholder {
border: 0;
}
in the CSS.
Is this correct in terms of best practice? Could the php take care of not outputting this html rather than relying on CSS?
Attachments (3)
Change History (9)
#2
@
10 years ago
- Keywords has-patch added; needs-patch removed
- Resolution → invalid
- Status new → closed
#3
@
10 years ago
- Resolution invalid
- Status closed → reopened
Hi @iv.dimova, please do not close tickets until patches have been committed.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Ticket moved over from GitHub as part of merge. There is more context here: https://github.com/WordPress/twentyseventeen/issues/339