WordPress Multisite on multiple sub-domains

I don’t think you have the right approach for this problem. Here, you’re talking about 4 domains, not subdomains. Subdomains are what usually replace the www in an url. And, if you create a multisite network, then you won’t need to have a multilingual plugin since you plan on having only one language per website. … Read more

query multisite blog for post by tag

get_the_tags() returns an array of WP_Term objects. Even if there’s only one tag, it returns an array with one item. You can use wp_list_pluck() to check the WP_Term objects in the array, though, and so your code can be re-written: function web_alert($content) { global $wpdb; // A side note: this doesn’t seem to be necessary. … Read more