• Resolved antforshaw

    (@antforshaw)


    Hi,
    ASL has been in use on our site for a few weeks now, and it isn’t showing results from PAGES, only posts and other CPTs. It is configured to scan pages,posts, teams, vacancies and cases CPTs, but nothing is showing for anything other then normal posts (i.e. news).

    Any ideas?

    Many thanks in advance,

    Anthony

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter antforshaw

    (@antforshaw)

    Quick update – I spotted the issue, it was on my side, in the results display. The query args were only picking up posts so I edited them:

    $args = array(
    ‘post_type’ => array(‘post’, ‘page’, ‘case’),
    ‘paged’ => $paged,
    );

    Now it’s working fine!

    This one can be closed. Hopefully this will help someone else.

Viewing 1 replies (of 1 total)
  • The topic ‘ASL isn’t searching PAGE, only POSTS’ is closed to new replies.