I searched everywhere on the web and I didn't find something that could really help me. Here is my problem;
I use a plugin that provides shortcodes to show a file in a page or a post. For each file I need to write 2-3 shortcodes to change the 'url' part of that shortcode, and depends on the subdomain I am, I want to hide the shortcodes that aren't concerned. I tried some solutions;
First, put each shortcode into a div with a specific class then hide it. Failed
Second, try to add directly a class in the shortcode, try to find it and replace it by an empty string. Failed
Third, try to find the shortcode by the name and modify its url (so an unique shortcode per file). Failed
I don't know which code could work, I took it from some websites (this one and this one for example) and tried to 'mix' them, but it hasn't worked like I would..
Does someone have a solution ?