Conversation
supportDear Mr Shahid, Thank you for including this widget for WordPress.org. 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(“ http://$_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]
Dear Mr Shahid, Thank you for including this widget for WordPress.org. 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: http://hindirecipe.info/
Is this spam?
Hi @ijichan Let me check why it behaving like that. Are you still facing the issue?
Hi @ijichan Sorry for the late response. Let me check why it behaving like that. Are you still facing the issue?
Hi. I’m actually having this issue. The code is not working and instead being printed on the page on mobile. This doesn’t happen on the non-mobile version of my site.
Hi Mr Shahid, Yes, I believe the issue still persists for mobile version. I ended up using a plugin, since I did not get feedback from you earlier.
Dear Mr Shahid, Thank you for including this widget for WordPress.org. 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: http://hindirecipe.info/
Is this spam?
Hi @ijichan Let me check why it behaving like that. Are you still facing the issue?
Hi @ijichan Sorry for the late response. Let me check why it behaving like that. Are you still facing the issue?
Hi. I’m actually having this issue. The code is not working and instead being printed on the page on mobile. This doesn’t happen on the non-mobile version of my site.
Hi Mr Shahid, Yes, I believe the issue still persists for mobile version. I ended up using a plugin, since I did not get feedback from you earlier.