artemsemkin

Untitled

Oct 6th, 2020
682
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. // find this line
  4. $arts_header_has_lang_switcher = is_active_sidebar( 'lang-switcher-sidebar' ) && ( class_exists( 'SitePress' ) || class_exists( 'Polylang' ) );
  5.  
  6. // replace it to this one
  7. $arts_header_has_lang_switcher = true;
RAW Paste Data