• Hi
    Theme options is not working in latest version. Please update theme as you have missed this function. Add this function to function.php file.

    
    if( !function_exists( 'ascent_string_encode' ) ) {
      function ascent_string_encode($string) {
        $chars_array = array(
        'A' => 'Z',  'B' => 'Y',  'C' => 'X',  'D' => 'W',  'E' => 'V',  'F' => 'U',  'G' => 'T',  'H' => 'S',  'I' => 'R',  'J' => 'Q',  'K' => 'P',  'L' => 'O',  'M' => 'N',  'N' => 'M',  'O' => 'L',  'P' => 'K',  'Q' => 'J',  'R' => 'I',  'S' => 'H',  'T' => 'G',  'U' => 'F',  'V' => 'E',  'W' => 'D',  'X' => 'C',  'Y' => 'B',  'Z' => 'A',  '0' => 'a',  '1' => 'b',  '2' => 'c',  '3' => 'd',  '4' => 'e',  '5' => 'f',  '6' => 'g',  '7' => 'h',  '8' => 'i',  '9' => 'j',  '.' => 'k',  '@' => 'l',  '~' => 'm',  '+' => 'n',  '%' => 'o',  '^' => 'p',  '!' => 'q',  '*' => 'r',  '(' => 's',  ')' => 't',  '[' => 'u',  ']' => 'v',  '{' => 'w',  '}' => 'x',  '<' => 'y',  '/' => 'z');
    
        $string = str_split(strtoupper($string));
        $encode_array = array();
        for($i = 0; $i < count($string); $i++) {
          $encode_array[] = isset($chars_array[$string[$i]]) ? $chars_array[$string[$i]] : $string[$i];
        }
        return implode('', $encode_array);
      }
    }

    Thanks
    LR

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Theme options not working’ is closed to new replies.