0 ? 1 : 0; $pt["prev_url"] = add_url_arg(get_my_url(), "start", $start - $per_page); $pt["show_next"] = $start + $per_page < $pt["count"] ? 1 :0; $pt["next_url"] = add_url_arg(get_my_url(), "start", $start + $per_page); $fname = "archive-" . string_to_url_component($pt["post_type"]) . ".phtml"; if (file_exists("templates/$fname")) display_template($fname, $pt); else display_template("archive.phtml", $pt); ?>