In my first experiment executing
Post Formats on my blog, I tackled the format "aside" which is generally styled without a header. At first, I was confused how I could make the header disappear, but using Juggledad's comment as a clue and doing some reading in that WordPress Codex article I referred to above, I came up with the following code.
Code:
/* Added 16 April 2013 - Post Formats */
.format-aside .post-headline,
.format-aside .post-byline {
display: none;
}
.format-aside .post-kicker {
font-weight: bold;
}
The
display: none; CSS entry causes whatever items are styled with that entry to "disappear". I had to look into
functions.php to find the proper CSS classes to style, but upon making that discovery, it was easy to code.
One thing I would like to do in keeping with the styling of asides, as implemented by Mullenweg and Tadlock, was to place the Infinity symbol (∞) at the end of the aside with the permalink of the aside "embedded" in the symbol. However, if I'm correct, there's no way to do this without making changes to
index.php.
Two questions.
- Is that correct?
- Wouldn't this be a good use for a child theme?
Ciao for now!
Mike