Support » Fixing WordPress » get post next ID but outside of wordpress

  • Hi,
    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
    and require_once(‘../wp-includes/template-loader.php’);

    Is there a simple solution, with ajax?

Viewing 1 replies (of 1 total)
  • i have read my post, and it seems like i am confused and have no idea, but that is just the reality… i have try so many thing and nothing worked. I would be thankfull for any given direction, ehat is the right path??? thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘get post next ID but outside of wordpress’ is closed to new replies.