Running different blocks based on the query string

Shortcode: aw2_if_part

Pass the parameter part in the query string like http://localhost/apr/check-block?part=a
Based on the value the block will run. Default block will run if no part comes in