You can use get_permalink( $post_x )
to get the post‘s URL.
Documentation: https://developer.wordpress.org/reference/functions/get_permalink/
You can use get_permalink( $post_x )
to get the post‘s URL.
Documentation: https://developer.wordpress.org/reference/functions/get_permalink/