Claude AI
- By Ann MorganPublished On: May 27, 2026Categories: PHP Plug-Ins0 Comments on How to Add an “Add Free Product” (or not free product!) Checkbox to a Specific WooCommerce Product VariationTags: Claude AI, PHP Tools, WooCommerce
An example WordPress plugin you can copy that adds an optional add-on product to a specific WooCommerce variation — not every variation. Includes the full PHP code and installation instructions.
- By Ann MorganPublished On: May 8, 2026Categories: PHP Fixes0 Comments on How to sync YouTube videos as WordPress posts (without breaking your news site)Tags: Claude AI, Newspack, PHP Tools, YouTube
Most WordPress plugins that pull YouTube content into a site create embeds, not posts...not right for a news site. This covers the pattern we use to sync YouTube channels as native WordPress posts — with per-channel category and tag mapping, duplicate prevention via video ID meta, and a post_thumbnail_html filter that drops the video into the featured image slot without touching a template file. Includes the Newspack migration context that prompted it.
- By Ann MorganPublished On: April 21, 2026Categories: PHP Fixes0 Comments on Example PHP Shortcode Stripper to use for WordPress Migration with WP Export / WP ImportTags: Claude AI, PHP Tools, WP All Export, WP All Import, WP Site Migration
A PHP function for WP All Import's Function Editor that strips legacy page builder shortcodes — Avada, Visual Composer, Elementor — during import. Prevents markup bleed into new themes. Copy-paste ready, no plugin required.
- By Ann MorganPublished On: April 15, 2026Categories: PHP Fixes0 Comments on How to Fix LearnDash and Vimeo Video Progression (Sample Code Included)Tags: Claude AI, LearnDash
LearnDash marks lessons complete when video finishes — but not when the video is Vimeo-hosted and Course Progression is enabled. This fix uses Vimeo's JS API to fire the completion event correctly. Free snippet included.
