alieninternet / alieninternet/ais_feed

Add support for common presentational attributes on feed tag

Offen
#1 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @AshleyButcher Auf GitHub ansehen
enhancement good first issue
Vorherrschende Sprache
PHP
Sterne
3
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In order to save code and fit existing standard Textpattern tags, it would be useful to support at least the following attributes on the `feed` tag:
- `break` - HTML tag used in between items in the feed
- `wraptag` - HTML tag used to wrap the output of the block
- `class` - HTML class attribute to apply to `wraptag`
- `html_id` - HTML id attribute to apply to `wraptag`

It would also be useful to support the following:
- `breakby` - To group items
- `label` - Text to place before the output of the feed
- `labeltag` - HTML tag used to encapsulate the label text in `label`

The implementation should behave the same way as `` for example, with the exception that the defaults should be "unset" (for `breakby` this would mean a value of `1`).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.