Skip to content

ibericode/ibericode-mods

Repository files navigation

ibericode mods

A collection of lightweight WordPress plugins that we commonly use on our sites.

  • Allow SVG uploads
  • Disable the /wp-json/wp/v2/users REST API endpoint.
  • Adds Robots: noindex HTTP header to all non-singular pages (except the front page).
  • Reject all WP Login attempts if submitted within 2.5 seconds of page load.
  • Purge Bunny CDN Cache on save_post
  • Set HTTP Cache-Control header on all safe requests for logged-out users.
  • Configure wp_mail() to use SMTP.
  • Automatically mark comments as spam through a collection of empirically discovered checks.

Some of these are simple no-ops if the relevant PHP constants are not set.

Install

Download the ZIP and drop it in wp-content/plugins.

Alternatively, install through Composer:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/ibericode/ibericode-mods"
        }
    ],
    "require": {
        "composer/installers": "^2.2",
        "ibericode/ibericode-mods": "*@dev",
    },
    "config": {
        "allow-plugins": {
            "composer/installers": true
        }
    },
    "extra": {
        "installer-paths": {
            "wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
        }
    }
}

License

GPL v2 or later

About

A collection of lightweight WordPress plugins that we commonly use on our sites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages