[CWA-744] feat: Update promotions for Elementor One & add promotions to additional plugins#329
Merged
[CWA-744] feat: Update promotions for Elementor One & add promotions to additional plugins#329
Conversation
Collaborator
|
Amazing work @rami-elementor ! |
sheabunge
requested changes
Jan 20, 2026
src/php/promotions/elementor.php
Outdated
| <div class="notice notice-info is-dismissible code-snippets-promotion"> | ||
| <div class="code-snippets-promotion-icon"> | ||
| <img | ||
| src="<?php echo esc_url( plugins_url( 'assets/icon.svg', CODE_SNIPPETS_FILE ) ); ?>" |
Contributor
Author
There was a problem hiding this comment.
Changing to PLUGIN_FILE causes a critical error:
There has been a critical error on this website. Please check your site admin email inbox for instructions. If you continue to have problems, please try the [support forums](https://wordpress.org/support/forums/).
Contributor
Author
imantsk
requested changes
Jan 29, 2026
Member
imantsk
left a comment
There was a problem hiding this comment.
Overall very nice and scalable structure 👍
spotted a few improvement opportunities.
also if you have a chance please run phpcbf over the the files in this PR to consolidate all indentation and formatting
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.




Elementor released a new design in WordPress admin, with updated slugs. Promotions for CS should be displayed in the new Custom Code screens.
Promotion in empty archive:

Promotion in archive with custom code:

Promotion in new custom code:
