dxw / iguana-extras
Installs: 49 371
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 0
Open Issues: 3
Requires
- php: ^7.4||^8.1
- dxw/iguana: ^1.0
Requires (Dev)
- 10up/wp_mock: ^0.1.1
- dxw/php-cs-fixer-config: ^2.1
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-11-05 01:27:31 UTC
README
Helpful gubbins for iguana-based themes.
\Dxw\Iguana\Extras\UseAtom
Set the default feed to Atom, remove the ability to view non-Atom feeds, add link[rel="alternate"]
to head
for the feed.
Installation
Add the following to app/di.php
:
$registrar->addInstance(\Dxw\Iguana\Extras\UseAtom::class, new \Dxw\Iguana\Extras\UseAtom());