This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: EggMUP: Suppress Site Status Tests | |
* Plugin URI: https://gist.github.com/ianpegg/cf7317ffbaf0714e1249d6f1deef97e5 | |
* Description: Some site status tests are useful, but some are not. | |
* Version: 1.0.1 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com | |
* Some site status report on matters that are not important, e.g. | |
* automatic updates being disabled when the site is under version control. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: EggMUP: Modify Built-in Data Types | |
* Plugin URI: https://gist.github.com/ianpegg/ | |
* Description: Functions that allow the modification of built-in data types. | |
* Version: 1.0.0 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com | |
* php version 7.4.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: EggMUP: Utilities | |
* Plugin URI: https://gist.github.com/ianpegg/b92324d6e1e1078bd47da0f27e300bf3 | |
* Description: Provides utilities for DEV and STAGING sites. | |
* Version: 1.0.0 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com | |
* Use this statement to include this library in other scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group"> | |
<label for="your-name" class="control-label required">Name</label> | |
[text* your-name autocomplete:name minlength:5 maxlength:70 id:your-name class:form-control] | |
</div> | |
<div class="form-group"> | |
<label for="your-email" class="control-label required">Email</label> | |
[email* your-email autocomplete:email minlength:6 maxlength:254 id:your-email class:form-control] | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: EggMUP: SEO Tools | |
* Plugin URI: https://gist.github.com/ianpegg/29d16c74fea470046c1dacb4f9dd3fb9 | |
* Description: Tools for SEO tweaks. | |
* Version: 1.0.0 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com | |
* php version 7.4.15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------- | |
# Rewrite all traffic to go via 'web' directory (Bedrock requirement) | |
# ---------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Adapted from: https://www.siteground.com/kb/how_to_change_my_document_root_folder_using_an_htaccess_file/ | |
RewriteCond %{HTTP_HOST} ^example.(org.uk|test)$ [NC,OR] | |
RewriteCond %{HTTP_HOST} ^(staging|www).example.(org.uk|test)$ | |
RewriteCond %{REQUEST_URI} !web/ | |
RewriteRule (.*) /web/$1 [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: EggMUP: Register Custom Data Types | |
* Plugin URI: https://gist.github.com/ianpegg/ | |
* Description: Defines and registers custom post types and custom taxonomies. | |
* Version: 1.0.0 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com | |
* php version 8.0.28 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "eggcup-web-design/wordpress-boilerplate", | |
"type": "project", | |
"license": "MIT", | |
"description": "Custom WordPress Composer configuration boilerplate.", | |
"homepage": "https://eggcupwebdesign.com", | |
"authors": [ | |
{ | |
"name": "Ian Pegg", | |
"homepage": "https://eggcupwebdesign.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: EggMUP: WP Admin Dashboard Setup | |
* Plugin URI: https://gist.github.com/ianpegg/0e3beb746757916d46f636f12b6d6a44 | |
* Description: Modify the WP dashboard - remove dashboard widgets | |
* and other furniture we don't need. | |
* Version: 1.1.0 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Empty Index File | |
* Plugin URI: https://gist.github.com/ianpegg/3a4ac333c3eeaed9309fa5dc6e9fa8c0 | |
* Description: Prevents directory listing on mis-configured servers. | |
* Version: 1.0.0 | |
* Author: Ian Pegg | |
* Author URI: https://eggcupwebdesign.com | |
* php version 7.4.15 |
NewerOlder