Skip to content

Instantly share code, notes, and snippets.

View arenagroove's full-sized avatar

Luis Alberto Martinez arenagroove

  • Less Rain GmbH
  • Vilanova i la Geltrú, Catalonia, Spain
  • 01:56 (UTC +01:00)
  • LinkedIn in/luis-martinez-lr
View GitHub Profile
@arenagroove
arenagroove / lr-admin-slug-column.php
Last active March 10, 2026 14:18
MU plugin that adds a sortable, clickable URL Path column to all WordPress admin post list screens (posts, pages, CPTs). Draft-aware via get_sample_permalink().
<?php
/**
* Plugin Name: LR Admin Slug Column
* Description: Adds the post URL path to admin list columns for all post types, including custom post types.
* Version: 1.2.3
* Author: Luis Martinez
* Author URI: https://www.lessrain.com
* Requires at least: 5.6
* Tested up to: 6.5
* Requires PHP: 7.4
@arenagroove
arenagroove / lr-llms-generator.php
Last active March 9, 2026 10:00
WordPress MU plugin — unified llms.txt + per-page .md endpoint for LLM content serving. Lazy-generated Markdown with HTML→MD converter, shared exclusions, YAML frontmatter, Polylang support, rate limiting, and a single settings page. Built for Classic Editor + ACF sites using the Less Rain framework.
<?php
/**
* Plugin Name: LR LLMs Generator
* Description: Generates a multilingual llms.txt for LLM indexing and serves clean .md endpoints for every public post/page. Unified settings under Tools.
* Version: 3.4.2
* Author: Luis Martinez
* Author URI: https://www.lessrain.com
* Requires at least: 5.6
* Tested up to: 6.5
* Requires PHP: 7.4
@arenagroove
arenagroove / lr-modified-date.php
Last active March 10, 2026 14:17
WordPress MU plugin: Adds a sortable "Modified" column (date, time, last editor) to all admin list tables - posts, pages, media, and CPTs. Resolves the last editor reliably via _edit_last, revision history, and post_author fallback.
<?php
/**
* Plugin Name: LR Modified Date Column
* Description: Adds a sortable "Modified" column to posts, pages, and media
* admin lists, showing the last-modified date/time and the user
* responsible. Resolves the author reliably via _edit_last meta,
* revision history, and post_author fallback.
* Version: 1.4
* Author: Luis Martinez
* Author URI: https://www.lessrain.com
@arenagroove
arenagroove / lr-db-search-replace.php
Created March 4, 2026 05:57
WordPress MU plugin for DB search and replace. Preview first, select rows, then apply. Hard-locked by default: attachments, core options, media paths, GUIDs.
<?php
/**
* Plugin Name: LR DB Search & Replace (MU)
* Description: Safe serialization-aware DB search & replace. Protected by
* default — attachments, core options, media paths, GUIDs are
* always locked unless you explicitly unlock them.
* Author: Luis Martinez / Less Rain
* Version: 4.0.0
*/
@arenagroove
arenagroove / lr-resource-hints-manager.php
Created February 22, 2026 06:17
WP mu-plugins: Centralized preload / prefetch / preconnect manager for critical assets (hero videos, images, fonts).
<?php
/**
* Plugin Name: LR Resource Hints Manager
* Description: Centralized preload / prefetch / preconnect manager for critical assets (hero videos, images, fonts).
* Supports responsive image preloading via the `media` attribute — define separate hints for
* desktop and mobile breakpoints on the same page slot.
* Page-specific and infrastructure-safe. Designed for performance tuning.
*
* Admin:
* Tools → LR Resource Hints
@arenagroove
arenagroove / Quickstart.md
Created December 18, 2025 06:18
A lightweight, secure WordPress plugin that displays a customizable Coming Soon page to non-logged-in users while maintaining proper HTTP status codes and SEO protection.

Quick Start Guide

Installation (2 minutes)

Option A: Must-Use Plugin (Recommended)

# Upload to your WordPress installation
wp-content/mu-plugins/lr-coming-soon-page.php
@arenagroove
arenagroove / markdown-stress-test.md
Last active December 4, 2025 15:11
CodePen Home ChatGPT → Markdown
@arenagroove
arenagroove / lr-classic-editor-compatibility.php
Last active December 3, 2025 06:00
Fix WordPress 6.9+ CSS Loading Issue (Classic Editor + ACF + WPForms)
/**
* Plugin Name: LR Classic Editor Compatibility
* Plugin URI: https://www.lessrain.com
* Description: Ensures proper CSS loading for Classic Editor, ACF, and shortcode-based content in WordPress 6.9+.
* Author: Luis Martinez
* Author URI: https://www.lessrain.com
* Version: 1.0.0
*/
// Prevent direct access
@arenagroove
arenagroove / 00-README-personality-workflow.md
Last active November 20, 2025 09:48
This system turns ChatGPT personalities into adjustable reasoning states. You switch between Efficient, Candid, Nerdy, Cynic, and Friendly the same way you switch tools. Each personality becomes a working mode for clarity, critique, depth, or exploration.

Personality Workflow System – README

Metadata

  • Title: Personality Workflow System
  • Version: 2.2
  • Last Updated: 20-11-2025
  • Author: Luis Alberto Martinez Riancho (@arenagroove)
  • Affiliation: Independent R&D, Assistant Prompt Design, Less Rain GmbH
  • Tags: chatgpt, personas, workflow, reasoning-modes, creativity, meta-audit, micro-tags, drift-control