Skip to content

Instantly share code, notes, and snippets.

View dominicvogl's full-sized avatar
🏠
Working from home

Dominic Vogl dominicvogl

🏠
Working from home
View GitHub Profile
@seoagentur-hamburg
seoagentur-hamburg / .htaccess
Last active January 4, 2026 20:26
UPDATE 2024/03: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
<?php
/*
Plugin Name: Custom Remove Admin Menus - Extras
Plugin URI: http://aristeides.com
Description: Remove admin menus & secure some areas of the dashboard - Upload and Activate.
Author: Aristeides Stathopoulos
Version: 1.0
Author URI: http://aristeides.com
*/
@luetkemj
luetkemj / wp-query-ref.php
Last active December 12, 2025 17:31
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/