Get Page URI for QR Code PHP [closed]

you can use $_SERVER[‘REQUEST_URI’] and add you domain before it so: <img src=”https://wordpress.stackexchange.com/questions/18401/<?php global $qrcodetag; $Path=$_SERVER[“REQUEST_URI’]; $URI=’http://www.example.com’.$Path; echo $qrcodetag->getQrCodeUrl($URI,100,’UTF-8′,’L’,4,0); ?>”> and change http://www.example.com to your domain.

Error Using Audio plugin

Answered my own question. Kept here for others who may have in the same problem. Turns out, being locally hosted WAS relevant. the problem is line 192 in /wp-content/plugins/audio/js/audio.js swfPath: ‘http://’ + window.location.host + ‘/wp-content/plugins/audio/js/’, This expects the site to be based at the root /, as mine was in a folder I just changed … Read more

eaccelerator PHP error

Those messages have nothing to do with your plugins or WordPress. Those are from you PHP.ini file trying to load extensions that are either not there or in the wrong directory. Usually caused when you upgrade version of PHP and don’t change the extension directory. If you have shell access run $ php -V to … Read more

How to convert a plugin into a function

Plugins are just files with functions with special comments. You can take the complete code and copy it into your functions.php. But … don’t. Now you depend on the theme to get the plugin’s functionality. You cannot turn the plugin off separately. You have zero benefit, not even performance. Don’t look too long at the … Read more