• Resolved ijichan

    (@ijichan)


    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]&#8221;), $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]

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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://hindirecipe.info/

    Thread Starter ijichan

    (@ijichan)

    Is this spam?

    Plugin Author Sharaz Shahid

    (@sharaz)

    Hi @ijichan

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

    Plugin Author Sharaz Shahid

    (@sharaz)

    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.

    Thread Starter ijichan

    (@ijichan)

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Support for mobile ?’ is closed to new replies.