Move dashboard link to footer
This commit is contained in:
parent
707a4bd48b
commit
12eb7aa207
File diff suppressed because one or more lines are too long
|
@ -267,17 +267,11 @@ body {
|
|||
content: "\f126";
|
||||
}
|
||||
.sidekick a:before {
|
||||
content: "\f468";
|
||||
}
|
||||
.course a:before {
|
||||
content: "\f118";
|
||||
}
|
||||
.view-product a:before {
|
||||
content: "\f312";
|
||||
}
|
||||
.return-dashboard a:before {
|
||||
content: "\f226";
|
||||
}
|
||||
}
|
||||
}
|
||||
.woocommerce-tracker {
|
||||
|
@ -350,4 +344,11 @@ body {
|
|||
-webkit-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
|
||||
box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
|
||||
}
|
||||
}
|
||||
.wc-return-to-dashboard {
|
||||
font-size: 0.85em;
|
||||
color: #b5b5b5;
|
||||
margin: 1.18em 0;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
|
@ -160,6 +160,9 @@ class WC_Admin_Setup_Wizard {
|
|||
*/
|
||||
public function setup_wizard_footer() {
|
||||
?>
|
||||
<?php if ( 'next_steps' === $this->step ) : ?>
|
||||
<a class="wc-return-to-dashboard" href="<?php echo esc_url( admin_url() ); ?>"><?php _e( 'Return to the WordPress Dashboard', 'woocommerce' ); ?></a>
|
||||
<?php endif; ?>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
|
@ -752,7 +755,6 @@ class WC_Admin_Setup_Wizard {
|
|||
<ul>
|
||||
<li class="setup-product"><a class="button button-primary button-large" href="<?php echo esc_url( admin_url( 'post-new.php?post_type=product&tutorial=true' ) ); ?>"><?php _e( 'Create your first product', 'woocommerce' ); ?></a></li>
|
||||
<li class="view-product"><a href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc_view_test_product', true ), 'wc_view_test_product', 'wc_view_test_product_nonce' ) ); ?>"><?php _e( 'View a test product', 'woocommerce' ); ?></a></li>
|
||||
<li class="return-dashboard"><a href="<?php echo esc_url( admin_url() ); ?>"><?php _e( 'Return to the WordPress Dashboard', 'woocommerce' ); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="wc-setup-next-steps-last">
|
||||
|
@ -761,7 +763,6 @@ class WC_Admin_Setup_Wizard {
|
|||
<li class="learn-more"><a href="http://docs.woothemes.com/documentation/plugins/woocommerce/getting-started/"><?php _e( 'Read more about getting started', 'woocommerce' ); ?></a></li>
|
||||
<li class="video-walkthrough"><a href="#"><?php _e( 'Watch the WC 101 video walkthroughs', 'woocommerce' ); ?></a></li>
|
||||
<li class="sidekick"><a href="#"><?php _e( 'Follow Sidekick live walkthroughs', 'woocommerce' ); ?></a></li>
|
||||
<li class="course"><a href="#"><?php _e( 'Take a course about WooCommerce', 'woocommerce' ); ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue