Content of the page

woocs_drop_down_view

Content of the article

This hook created for manipulations with the currency switcher drop-down skins when its necessary, with any logic conditions, for example set usual drop-down skin in for mobile site view:

Its possible to use next values: no, ddslick, chosen, chosen_dark, wselect, flags

Disable switcher drop-down skin in the AJAX mode of your site:

https://codex.wordpress.org/Function_Reference/wp_is_mobile

Set any another skin for the currency switcher drop-down on the pages of your site dependently of its page:


There is possible to manipulate with view of switcher using your own conditions. For example we want to use in the shop sidebar 'ddslick' view but in top of the site you want to use flags. You can do it in the next way:

  • open header.php file of the current wp theme and in the place you want too see currency switcher drop next code:
  • open functions.php file of the current wp theme, and on the same bottom of the file drop next code: