Hi,
Is there a way to pass in a variable into the shortcode?
Thanks.
Skye
My host just upgraded to PHP 5.6 from 5.4 and it broke the site because of WP Custom Global Variable plugin! Couldn’t even go to admin area. Could this problem be fixed with PHP 5.6? With 5.4 everything was OK.
Following are errors while trying to get into admin:
]]>Warning: mysql_query(): Access denied for user ‘root’@’localhost’ (using password: NO) in /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php on line 92
Warning: mysql_query(): A link to the server could not be established in /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php on line 92
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php on line 93
Warning: Cannot modify header information – headers already sent by (output started at /home/MyDomain/wp-content/plugins/wp-global-variable/my-global-variable.php:92) in /home/MyDomain/wp-includes/pluggable.php on line 1207
Hi! I would like to create a list of variables for authors to look at. Eventually I want them to be able to create their own variables and see a list of them alongside the editor. I am using front end editor to allow the users to edit posts on the front main.
Does anyone know how to do this? (display a list of variables on the front page somehow? I don’t really care how – it could be a menu, a block, etc.
Thanks,
Jeff
]]>