function page_links_list($page_items) { if (!($this->template == 'qa' && qa_opt('it_infinite_scroll_home_enable') || $this->template == 'questions' && qa_opt('it_infinite_scroll_qa_enable'))) { qa_html_theme_base::page_links_list($page_items); } }