Support

Account

Home Forums ACF PRO Long loading time

Solved

Long loading time

  • Hi,
    i use ACF in combination with breakdance and the breakdance post loop builder.

    I want to query the players of a team by their position. Goalkeepers, Defenders, …
    For the players and the teams i use a Bidirectional relationship.

    It takes about 10 seconds to load the page.
    Has someone an idea why it takes so long?


    return
    array(
    'post_type' => 'spieler',
    'meta_query' => array(
    'relation' => 'AND',
    array(
    'key' => 'sp_position',
    'value' => 'Tor',
    'compare' => '='
    ),
    array(
    'key' => 'team_spieler',
    'value' => '"' . get_the_ID() . '"',
    'compare' => 'LIKE',
    ),
    ),
    'orderby'=>'meta_value',
    'meta_key' => 'sp_nachname',
    'order'=>'ASC',
    );

    Screenshot Loop:
    Screenshot Loop

    Screenshot ACF Player:
    Screenshot Loop

  • This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.