php - QR Code wordpress generate on page -
i'm trying add together qr each of sites code..
<img alt="qr code" src="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chld=l|4&chl=<?php the_permalink(); ?>" width="150" height="150" /> but when utilize qr read on code generate getting
<?php the_permalink(); ?> on screen
someone how can help ?
php can't process code since encoded.
try
<img alt="qr code" src="http://chart.apis.google.com/chart?cht=qr&chs=150x150&chld=l|4&chl=<?php echo urlencode(get_permalink()); ?>" width="150" height="150" /> php wordpress qr-code
No comments:
Post a Comment