Exemplo n.º 1
0
 /**
  * Adding aditional meta for responsive design
  *
  * @since Snow 1.4
  */
 public function head_metas()
 {
     $this->output('<meta name="viewport" content="width=device-width, initial-scale=1"/>');
     parent::head_metas();
 }
Exemplo n.º 2
0
 function head_metas()
 {
     qa_html_theme_base::head_metas();
     if (qa_opt('useo_cat_canonical_enable')) {
         $cat_slugs = useo_get_current_category_slug();
         if ($cat_slugs) {
             // it's a category page
             $path = qa_path_absolute(implode('/', $cat_slugs));
             $this->output('<link rel="canonical" href="' . $path . '">');
         }
     }
 }
Exemplo n.º 3
0
 function head_metas()
 {
     qa_html_theme_base::head_metas();
     $this->output('<meta name="viewport" content="width=device-width, initial-scale=1.0">');
 }