i am trying to get next and previus post id, based on a given id.
i have tried in many ways, but or site just breaks apart down belov or function just doesn't return nothing.
Every atempt with WP_Query just breaks the page, what should i try?
first i am calling -> require_once('../wp-load.php'); -> to load wordpress framework
Is there a simple solution, with ajax?