Skip to content

Commit 8b86490

Browse files
Upgrade to pro button added and Admin menu label updated
1 parent 148465a commit 8b86490

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

admin/class-bulk-featured-image-admin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function register_admin_menu() {
6767

6868
add_menu_page(
6969
__( 'Bulk Featured Image', 'bulk-featured-image' ),
70-
__( 'BFIE','bulk-featured-image' ),
70+
__( 'BFI','bulk-featured-image' ),
7171
'manage_options',
7272
$this->menu_slug,
7373
array($this,'process_admin_menu'),
@@ -161,6 +161,7 @@ public function menu() {
161161
<a href="<?php echo $menu_link; ?>" class="nav-tab <?php echo $active; ?>"><?php echo $menu; ?></a>
162162
<?php
163163
} ?>
164+
<a href="https://store.creedally.com/product/bulk-featured-image-pro/" target="_blank" rel="nofollow" class="wpar-nav-button product-url"><img src="<?php echo BFIE_PLUGIN_URL . '/assets/images/icon-upgrade-pro.svg'; ?>"><p><?php _e( 'Upgrade to Pro', 'product-auto-release-lite' ); ?></p></a>
164165
</nav>
165166
<?php
166167

assets/css/bulk-featured-image-admin.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@
3333
.post-bfi .bfi-remove-image {text-align: left;padding:0;}
3434
.loader {border: 3px solid #2271b1;border-radius: 100%;border-top: 3px solid #1d2327;width: 20px;height: 20px;-webkit-animation: spin 2s linear infinite;animation: spin 2s linear infinite;position: relative;display: inline-block;vertical-align: middle;left: 5px;}
3535
@-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } }
36-
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
36+
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
37+
.product-url{display:inline-flex;background:#dee3ff;border:1px solid #c6d3f8;box-sizing:border-box;border-radius:0.25rem;padding:5px 10px;margin-left:10px;text-decoration:none;text-transform:uppercase;color:#425fdd;font-weight:600}
38+
.product-url p{margin:0;padding-left:5px}

assets/images/icon-upgrade-pro.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)