Hi,
Please edit News/gavern/widgets.nsp.php file and change this fragment:
- Code: Select all
if($this->wdgt_config['article_image_pos'] == 'left' && $this->wdgt_config['article_image_order'] == 1) {
return apply_filters('gk_nsp_art_image', '<div class="gk-nsp-image-wrap"><a href="'.$art_url.'" class="gk-image-link"><img src="'.$new_path.'" alt="" class="gk-nsp-image" '.$style.' height="'.$this->wdgt_config['article_image_h'].'" width="'.$this->wdgt_config['article_image_w'].'" /></a></div>');
} else {
return apply_filters('gk_nsp_art_image', '<a href="'.$art_url.'" class="gk-responsive gk-image-link" '.$style.'><img src="'.$new_path.'" alt="" class="gk-nsp-image gk-responsive" height="'.$this->wdgt_config['article_image_h'].'" width="'.$this->wdgt_config['article_image_w'].'" /></a>');
}
into:
- Code: Select all
if($this->wdgt_config['article_image_pos'] == 'left' && $this->wdgt_config['article_image_order'] == 1) {
return apply_filters('gk_nsp_art_image', '<div class="gk-nsp-image-wrap"><a href="'.$art_url.'" class="gk-image-link"><img src="'.$new_path.'" alt="'. $this->wdgt_results[$i]->post_title .'" class="gk-nsp-image" '.$style.' height="'.$this->wdgt_config['article_image_h'].'" width="'.$this->wdgt_config['article_image_w'].'" /></a></div>');
} else {
return apply_filters('gk_nsp_art_image', '<a href="'.$art_url.'" class="gk-responsive gk-image-link" '.$style.'><img src="'.$new_path.'" alt="'. $this->wdgt_results[$i]->post_title .'" class="gk-nsp-image gk-responsive" height="'.$this->wdgt_config['article_image_h'].'" width="'.$this->wdgt_config['article_image_w'].'" /></a>');
}
around line 981. I've also add this modification into the next theme update.
Regarding the text to code ratio - it will be difficullt, because frontpage of this theme is based on widgets (mostly NSP), which generates a lot of code, you can try to add more texts i.e. in text widgets.