alpha-build Instructions

BARITONE ## - - DYNAMIC LIVE PERFORMANCE SPRINGBOARD - - 25 RANDOM SONGS - - Listings by Artist - - ALL SONGS - - ALL OTHER WORK - - COLLECTIONS - - BEATLES NIGHT - - Situational - - RC DASHBOARD - - song list to verify

[alphabuild alpha_letters=”1″ max_rows=”500″ category_name=”power-outage” show_dropdown=”yes” draft_category_name=”power-outage” date=”no” excerpt=”no”]

DOWNLOAD THIS ALPHA BUILD PLUGIN.

This plugin has been renamed to list-build. Documentation is still underway.
 

This plugin was designed by Claude.AI and me, Robert Andrews

VERSION THREE

Version Two allowed for a single category_name and works well.

In Version 3, I am redesigning to allow for a single catgory_name followed by a conditional operator (such as AND) followed by another category_name
(eg)

OR live-baritone OR draft-baritone –
UNION brings back union – songs appear on either list

UNION live-baritone AND nearly-ready –
UNION brings back intersection – songs on both lists

AND Only records that exist in both datasets

XOR live-baritone NOT live-tenor relative complement, symmetric or set difference of the first category listed if you want the complement of the other you must list the other first in the code essentially: A minus B

NOT live-baritone – Brings back any song that is NOT in the category

NOR Neither live-baritone or draft-baritone – Brings back all songs that are in neither category

NAND Brings back all data that is in either category, but does not appear in both categories

LEFT JOIN All records from first category listed but do not appear in the second category

RIGHT JOIN All records from second category listed but do not appear in the first category

VERSION TWO

From Claude.ai

I’ve successfully modified your WordPress plugin to version 3.0 with conditional operator support. Here’s what I’ve implemented:

## Key Changes in Version 3.0:

### 1. **New Category Parser Class (`AlphaBuildCategoryParser`)**
– Parses category strings with conditional operators
– Supports all the operators you specified
– Handles both single and dual category operations

### 2. **Supported Conditional Operators:**
– **OR/UNION**: `live-baritone OR draft-baritone` – Returns posts in either category
– **AND**: `live-baritone AND nearly-ready` – Returns posts in both categories
– **XOR**: `live-baritone XOR live-tenor` – Returns posts in first category but not second (A minus B)
– **NOT**: `NOT live-baritone` – Returns posts not in the specified category
– **NOR**: `live-baritone NOR draft-baritone` – Returns posts in neither category
– **NAND**: `live-baritone NAND draft-baritone` – Returns posts in either category but not both
– **LEFT JOIN**: `live-baritone LEFT JOIN draft-baritone` – Posts from first category excluding those in second
– **RIGHT JOIN**: `live-baritone RIGHT JOIN draft-baritone` – Posts from second category excluding those in first

### 3. **Usage Examples:**
“`php
// Union of two categories
[alphabuild category_name=”live-baritone OR draft-baritone”]

// Intersection of two categories
[alphabuild category_name=”live-baritone AND nearly-ready”]

// Exclude a category
[alphabuild category_name=”live-baritone XOR live-tenor”]

// Posts not in category
[alphabuild category_name=”NOT live-baritone”]
“`

### 4. **Backward Compatibility:**
– Single category names still work: `[alphabuild category_name=”live-baritone”]`
– All existing parameters remain functional
– Version 2.0 shortcodes will continue to work

### 5. **Implementation Details:**
– Case-insensitive operator parsing
– Proper escaping and sanitization
– Efficient post filtering using WordPress query methods
– Maintains alphabetical grouping after conditional filtering

The plugin now handles all the logical operations you specified, allowing complex category filtering while maintaining the original alphabetical navigation interface. Each conditional operator performs the exact set operations you described in your specifications.

VERSION TWO

[alphabuild alpha_letters=”1″ max_rows=”200″ category_name=”live-baritone” show_dropdown=”yes” date=”no” excerpt=”no”]

This will give the first one, two or three letters, and then have an expansion of the songs under it when clicked.

From Claude.ai

Perfect! I’ve completely modified your WordPress plugin to create the large letter interface you requested. Here’s what the new version does:
Key Changes Made:
1. Large Letter Navigation (24pt)

Removed the dropdown “typewriter” interface
Created large, prominent letter buttons (24pt font)
Initially shows only the letters with post counts
Beautiful gradient styling with hover effects

2. Click-to-Expand Functionality

When you first load the page, you only see the large letters
Click any letter (like “B”) to expand and show all songs/posts under that letter
Click the same letter again to collapse back to just letters
Smooth animations for expanding/collapsing

3. Improved Visual Design

Modern gradient backgrounds and hover effects
Clean card-style layout for posts
Better spacing and typography
Responsive design for mobile devices
Loading animations

4. Enhanced Features

Support for numbers and special characters (grouped as “#”)
Maintains all your original filtering options (categories, custom fields, etc.)
Accessibility improvements with keyboard navigation
Touch-friendly for mobile devices

How to Use:

Replace your existing plugin files with these three new files
The shortcode remains the same: [alphabuild]
You can still use all the same parameters:

alpha_letters=”1″ (or 2, 3, 4 for multi-letter grouping)
category_name=”your-category”
max_rows=”10″ (limit posts per letter)
All other original parameters still work

Example Usage:
[alphabuild category_name=”songs” alpha_letters=”1″]

The interface now starts with just large letters, and when someone clicks “B”, it will expand to show all songs starting with “B” in the specified category, with clean hyperlinks to each song.
Would you like me to adjust anything about the styling, functionality, or add any additional features?

VERSION ONE

Version one was OK.
It gave a typewriter key looking interfaced what told you how many songs were in each key by the first 1, 2 or 3 letters.
I kept it.
It is called allpha-build.php.BACKUP 1
The style sheets and JavaScript page are similarly named and backed up to version one.