WPIntell

Source evidence

Support for mobile ?

Code Widget · support · 2020-07-26T06:49:00+00:00

mixedsentiment
highseverity
0.95relevance
6replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
ijichan resolved
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: 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.

Comments

6 shown
Hussain Alvi 2020-07-26T06:53:00+00:00

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/

ijichan 2020-07-28T01:47:00+00:00

Is this spam?

Sharaz Shahid 2020-08-22T03:48:00+00:00

Hi @ijichan Let me check why it behaving like that. Are you still facing the issue?

Sharaz Shahid 2020-08-22T03:49:00+00:00

Hi @ijichan Sorry for the late response. Let me check why it behaving like that. Are you still facing the issue?

jaysun_walter 2020-08-24T10:13:00+00:00

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.

ijichan 2020-08-24T23:07:00+00:00

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.