Hello,
I have several sites that use the same theme. I would like to be able to inject a different code according to the site. Is there a variable that returns the identifier of the site on which we are?
Thank you
Hello duboish,
The site identifier is often referenced as follows:
<?php $site->slug() ?>
You should probably start there.
I don’t know if it’s available in every template scope, though.
Have a nice day