WordPress.org

Ready to get started?Download WordPress

Forums

get post next ID but outside of wordpress (2 posts)

  1. wiwilala
    Member
    Posted 1 year ago #

    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?

  2. wiwilala
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic