Manual query get complex data

Marko Krstić
12 Sep 2020
$data = array(
    'post_type'              => array( 'post' ),
    'post__not_in'           => array(get_the_ID())
echo build_query( $data );

Paste this into code block to get that data. Paste that data into Query of Easy posts or Repeater. With this, you can put in query data from ACF Pro as well

Credits to:

Was this article helpful?



Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy