Skip to content

Commit 4d5003c

Browse files
authored
Fix the snippet to move the steps to the top
1 parent 51b2f80 commit 4d5003c

File tree

2 files changed

+26
-21
lines changed

2 files changed

+26
-21
lines changed

Diff for: move-steps-to-top.php

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
/**
3+
* Move steps navigation to top of the page.
4+
*
5+
* INSTRUCTIONS:
6+
* This code will simply move the steps navigation bar from the bottom ot the page to the top.
7+
* Add this to your wp-content/mu-plugins folder. If that folder doesn't exist, you can simply create it.
8+
* You can use the code as is. No changes needed.
9+
*/
10+
11+
add_action('admin_print_footer_scripts', 'wu_steps_ultimo_top', 10);
12+
13+
function wu_steps_ultimo_top() { ?>
14+
15+
<script>
16+
(function($) {
17+
$(document).ready(function() {
18+
var steps = $(".wu-setup-steps");
19+
$(steps).insertAfter("#wu-setup-logo");
20+
});
21+
})(jQuery)
22+
</script>
23+
24+
<?php
25+
26+
} // end wu_steps_ultimo_top;

Diff for: stepsnavontop.php

-21
This file was deleted.

0 commit comments

Comments
 (0)