Support for mobile ?
-
Dear Mr Shahid,
Thank you for including this widget for www.ads-software.com.
My question is why does the code widget display as code instead of as per code widget for mobile? I have included the following code as a link (“Send Request”) to pass URL parameters to a URL running WP Forms, and it works beautifully on a web browser but not when viewed on mobile. Any help is very much appreciated.
URL: https://divineautomation.com.au/new/product/siemens-rack-pc/
Widget Type : php code
Code:
<?php
preg_match(“/<h1 ?.*>(.*)<\/h1>/”, file_get_contents(“https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”), $matches);
echo ‘<a href=”‘;
echo esc_url(
add_query_arg( array(
‘wpf3695_2’ => ‘Request for Quotation’,
‘wpf3695_4’ => ‘Please send the latest pricing for ‘.$matches[1],
), site_url( ‘/services/’ ) )
);echo ‘”> Send Request‘;
?>
The page I need help with: [log in to see the link]
- The topic ‘Support for mobile ?’ is closed to new replies.