#!/bin/bash BATCH_SIZE=20 # Path to wp-cli WP="/usr/local/bin/wp" # <-- fix this if your `which wp` says something different # Cleanly get total posts and remove all junk TOTAL_POSTS=$($WP post list --post_type=post --post_status=publish --format=count 2>/dev/null | tr -dc '0-9') echo "🔢 TOTAL_POSTS = $TOTAL_POSTS" # Validate number if ! [[ "$TOTAL_POSTS" =~ ^[0-9]+$ ]]; then echo "❌ TOTAL_POSTS is not a valid number. Exiting." exit 1 fi # Calculate total batches TOTAL_BATCHES=$(( (TOTAL_POSTS + BATCH_SIZE - 1) / BATCH_SIZE )) echo "🔢 TOTAL_BATCHES = $TOTAL_BATCHES" for ((i=0; i 1
Friday, June 6, 2025

Error 404!

Something went wrong

It seems like we've stumbled upon uncharted territory. The path you followed may have led to a dead end, or the page you were seeking has ventured into the great unknown. But fear not, we're here to help you get back on track.

Latest Articles

Sam Cooke – The Soul Father Whose Voice Marched With Movements

Delve into the remarkable story of Sam Cooke, the pioneering soul artist whose timeless music and activism left an indelible mark.

Donny Hathaway – The Tortured Genius Whose Melodies Still Haunt The Air

Explore the captivating artistry of Donny Hathaway, a musical icon whose timeless melodies continue to inspire.

Stevie Wonder – The Divine Composer Who Built The Soundtrack Of Black Brilliance

Delve into the remarkable career of Stevie Wonder, the pioneering artist who revolutionized soul music and amplified Black voices.

Luther Vandross – The Velvet Hammer Of Love Ballads And Vocal Perfection

Discover the captivating vocals and romantic R&B stylings of Luther Vandross, the gold standard of soulful music.

That time Oprah hosted a Greenleaf screening with a room full of stars

In the world of entertainment, few events stand out quite like the time Oprah Winfrey hosted a Greenleaf screening with a room full of...

Curtis Mayfield – The Prophet Who Used Soul To Sharpen Protest

Delve into the remarkable life and career of Curtis Mayfield, the soul music legend who wielded his art as a tool for social justice.

Ray Charles – The Blind Visionary Who Saw Further Than Most Ever Will

Explore the life and legacy of musical icon Ray Charles, the architect of modern soul who defied every limit.

James Brown – The Godfather Who Gave Soul Its Teeth And Its Hustle

Delve into the captivating story of James Brown, the trailblazing musician who revolutionized soul music with his electrifying performances and unparalleled showmanship.