1) ? get_query_var('page') - 1 : 0; } public function nextPage() { return (get_query_var('page', 1) < FrontPage::totalPages()) ? get_query_var('page', 1) + 1 : 0; } public function latestBooksTitle() { $title = get_option('pb_front_page_catalog_title'); if ($title) { return $title; } return __('Our Latest Titles', 'aldine'); } }