Skip to content

Instantly share code, notes, and snippets.

View obviousdisaster's full-sized avatar

Mark Hall obviousdisaster

View GitHub Profile
@ApoGouv
ApoGouv / 00_wp-optimizations-security-n-cleanup.md
Last active September 7, 2024 11:35
WP - Optimizations, Security hardening and Cleanup.

** WP - Optimizations, Security hardening and Cleanup **

Here you can find a a list of WP optimization and cleanup functions and methodology.

1.  .htaccess
  ** Security **
- Disable the server signature
- Disable directory browsing
- Force https to your site.
@sjozsef
sjozsef / Pure Bootstrap Contact Form 7 template
Last active January 28, 2025 15:50
bootstrap-contact-form-7.html
<hr />
<div class="row">
<div class="col-md-4">
[text* your-name class:form-control placeholder "Name (required)"]
</div>
<div class="col-md-4">
[email* your-email class:form-control placeholder "Email (required)"]
@pixeline
pixeline / .gitignore
Last active February 8, 2025 23:26 — forked from redoPop/.gitignore
Default Wordpress .gitignore file
# This is a template .gitignore file for git-managed WordPress projects.
#
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
#
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
#
# See the comments below for more info on how to add exceptions for your