Repository navigation
1.19.4 (1/5): Refresh CPT UI Pro promotion - #1053
Open
williamsba wants to merge 1 commit into
Open
williamsba wants to merge 1 commit into
williamsba wants to merge 1 commit into
Conversation
Show what Pro does at the moment it matters, instead of generic banners. - Feature tour dialog with real screenshots and a column builder video. - "Get Pro" menu item and comparison page, plus a Plugins screen link. - Sidebar card matched to the site (multisite, ACF, busy post types) with the other Pro features as icon rows. It replaces the static Pro hero ad, and the other WebDevStudios products move to the About page. - Next-step notice after adding a post type or taxonomy. - Quiet "Columns & filters" button on CPT UI list screens instead of a banner. - "Display on your site" link on the Registered types screen. - Notices snooze for 90 days per user instead of resetting on every update. - Everything is hidden when CPT UI Pro or CPTUI Extended is active, and cptui_show_pro_promos turns it all off. - All Pro links go through cptui_pro_url() for consistent UTM tracking. - Asset URLs include the build file's modification time so browsers pick up rebuilt scripts and styles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First of five stacked PRs for 1.19.4. Merge in order: this one → newsletter → About page → Help page → release.
What changes
Pro promotion shows what Pro does at the moment it's relevant, instead of generic banners. Nothing in the free plugin is locked or disabled.
data-cptui-pro-tourelement opens it.admin.php?page=cptui_upgrade), plus a "Get Pro" link on the Plugins screen.cptui_listings_post_type_row_actionshook).cptui_pro_promo_snoozed_untiluser meta) instead of a global option reset on every update. The old options are cleaned up.cptui_show_pro_promosturns it all off.cptui_pro_url(), with consistent UTMs (utm_source= placement,utm_medium=plugin,utm_campaign=cptui).cptui_asset_version()), so browsers fetch rebuilt files.All promo code lives in the new
inc/pro.php. Functions that shipped in 1.19.1 keep their names, soremove_action()calls in Pro still work, including Pro's unhook ofcptui_products_sidebar. Bundled media is 264 KB inimages/pro/.Testing
npm run build.🤖 Generated with Claude Code