• Hi Daniel,

    I’ve updated our site today and after upgrading from A-Z Listing 1.6.5 to 1.7.1, I now receive this message instead of a listing of pages:

    “There are no posts included in this index.”

    I was filtering the main query with the following code, but eve when its removed I continue to have the same issue. Rolling back to 1.6.5 resolved the problem.

    Here is the code I have written in functions.php, which I disabled to no effect.

    `// augment query for services page to include category “service” criteria
    function coh_services_pre_query( $query ) {
    if ( is_page( 14567 ) ) {
    // if we are on the services page at category term criteria for “service”
    if ( ! $q instanceof WP_Query ) {
    $q = wp_parse_args($q, array(
    ‘post_type’ => ‘page’,
    ‘numberposts’ => -1,
    ‘section’ => $section,
    ‘nopaging’ => true,
    ‘tax_query’ => array(
    array(
    ‘taxonomy’ => ‘category’,
    ‘field’ => ‘slug’,
    ‘terms’ => ‘service’,
    ),
    ),
    ) );
    $query = new WP_Query( $q );
    }
    }
    return $query;
    }
    //add_filter(‘a_z_listing_query’, ‘coh_services_pre_query’);

    • This topic was modified 7 years, 3 months ago by stevensjn.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    Oh dear, I broke the shortcode. A fix is incoming right now. I can only apologise and get the fix up asap :-/

Viewing 1 replies (of 1 total)
  • The topic ‘“There are no posts included in this index.” Since 1.7.1’ is closed to new replies.