Have this shortcode as php in my header file as such:
<?php echo do_shortcode(‘[logout-to-current]’); ?>
shows up fine in chrome, but is blank for IE and Firefox. I am running the latest versions of these browsers. Help?
]]>Hi, thanks for the simple plugin.
It works great, apart from one problem: your functions echo instead of return.
https://codex.www.ads-software.com/Function_Reference/add_shortcode#Notes
Note that the function called by the shortcode should never produce output of any kind. Shortcode functions should return the text that is to be used to replace the shortcode.
Could this please be fixed?
Thank you.
]]>Upon installation the following error message is received:-
‘The package could not be installed. No valid plugins were found.’
]]>