I wonder how to hide shortcode in wordpress when javascript is disabled. The shortcode appear like strings so is ti a way to hide them with some codes?
here an exemple in php when i call a shordtcode:
<?php echo do_shortcode('[SHORTCODE HERE]'); ?>
Regards,
for this issue you can use <noscript>
tag. So f.e:
<noscript>
<p>JS is switched off in a browser</p>
</noscript>
<script type="text/javascript">
...put here js code, which will be executed if js will be enabled...
</script>