How to Place the Currency Switcher at the Bottom of the Site
A footer currency switcher catches the visitor who scrolled the whole page and only then wondered what the price means in their own money.
- Using Smart Designer create currency switcher and remember its ID
- On the current WordPress theme file functions.php add next code:
add_action('wp_footer', function () { echo '<div class="woocs_bottom_switcher">' . do_shortcode("[woocs sd=14]") . '</div>'; ?> <style> .woocs_bottom_switcher{ position: fixed; right: 5px; bottom: 5px; rotate: 180deg; z-index: 99999; } .woocs_bottom_switcher .selectron23-container > div{ rotate: 180deg; backface-visibility: hidden; } .woocs_bottom_switcher .selectron23-container > span{ left: 10px; backface-visibility: hidden; } </style> <?php }); - Change 14 to to your shortcode ID
- Use :)