• I just tried to use shortcode with anchor, but :(( it’s appease impossible.

    I put on the page:

    
    [kaya_qrcode ecclevel="M" size="100" align="alignleft" url="https://www.yiargo.com/zin/#page1" new_window="1"]
    

    and

    
     [kaya_qrcode ecclevel="M" size="100" align="alignleft" url="https://www.yiargo.com/zin/#page2" new_window="1"]
    

    but QR was generated as for

    
     [kaya_qrcode ecclevel="M" size="100" align="alignleft" url="https://www.yiargo.com/zin/" new_window="1"]
    

    Can you improve this?

    Regards,
    Yiargo

    • This topic was modified 4 years, 5 months ago by Yui.
    • This topic was modified 4 years, 5 months ago by Yui. Reason: please use CODE button for code formatting

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Kaya Studio

    (@kayastudio)

    Hello,
    Thank you for your comment and for using ‘Kaya QR Code Generator’.

    I have run some tests with different anchors in content to encode and destination URL, and have no problem with it, the QR Code content is always the good one as the link.

    In your exemple [kaya_qrcode ecclevel="M" size="100" align="alignleft" url="https://www.yiargo.com/zin/#page1" new_window="1"] only the URL parameter is filled, not the content parameter, so the encoded QR Code automatically display the current page URL, wich seems to work normally on your page.

    If you want to encode the anchor URL, use this: [kaya_qrcode ecclevel="M" size="100" align="alignleft" content="https://www.yiargo.com/zin/#page1" url="https://www.yiargo.com/zin/#page1" new_window="1"]. Can you try this code (with content parameter) and tell me if it’s ok ?

    Thank you, best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Anchor’ is closed to new replies.