Adds get_next() get_prev() functions for single post navigation