Skip to content

Add option for "card" layout to specify the heading level or alternate element type for post titles #41

@cjg89

Description

@cjg89

Description

See title; currently, post titles are hard-coded to <h3> in this layout. Look into adding a shortcode parameter specifically for this layout that allows adjustment of this element to different heading levels or <strong>.

Why it's Important

It is currently impossible to create a page with an accurate heading order if a post list using this layout is used under any parent heading besides <h2>.

Alternatives

n/a

Possible Implementation

See above. Alternatively, just change <h3> to <strong>, if we're OK with dropping headings on these completely.

Additional context

n/a

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions