Opened 7 years ago
Last modified 4 years ago
#36673 new defect (bug)
Post Formats transferring from old theme to theme without post format support
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Post Formats | Keywords: | close |
Focuses: | Cc: |
Description
Blask does not support post formats, but when the theme is changed to Blask from Twenty Ten, the post format of the posts remains and there is no way to remove it.
With posts that are still set as "Asides", the title will not display.
I duplicated this issue by creating posts and setting them as asides on Twenty Ten. I then changed to the Blask theme. The posts were still functioning as asides, but there was no way to remove the post format.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Actually, the Blask theme does appear to support post formats, indirectly. It may not enable the ability to choose a post format, but it does honor some things in the templates and css. In the case of Asides, you'll find that the stylesheet includes this rule (starting around line 1543), which hides the title for Asides:
Posts get the
.format-aside
class from the usualpost_class()
call in the templates.Also, you can override the display for any given format by creating a file in the
template-parts
directory namedcontent-[FORMAT].php
(e.g.,template-parts/content-aside.php
)