How to display call-to-action based on URL parameter

The cp_pro_target_page_settings filter allows you to display call-to-action based on GET parameter in your URL. Following is the sample code which can be used to display call-to-action based on UTM parameter in URL. You can add this code to your theme’s functions.php. /** * Display call-to-action based on URL parameter */ function cpro_check_url_parameter( $display, $style_id ) { // […]

How to display call-to-action based on URL parameter Read More »