• Resolved ed4becky

    (@ed4becky)


    I have an odd situation. The following:
    https://jupiterthree.com/?page_id=1227&param=Secrets

    returns expected results if I am logged into the site, but if I am not, I get a sorry no posts match msg. Here is the page template I am using…


    $chapter = $_GET[‘param’];
    get_header();
    query_posts(‘meta_key=Chapter&meta_value=’ . $chapter . ‘&showposts=-1&orderby=date&order=ASC’);

    while (have_posts()) : the_post(); ?>

    Can anyone explain the behavior?

    Thanx
    Ed

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘LoggedIn LoggedOut query_posts()’ is closed to new replies.