Multisite Conditional (if blog_id?) in a page template?
I have a WordPress network with multiple sites using the same theme. Now I need to edit part of a certain PageTemplate.php to display different things based on the blog id. Example: If blog ID 1, run this: <a href=”https://wordpress.stackexchange.com/questions/124104/<?php if(get_post_meta($post->ID,”videoembed_videopopup’, true)): ?><?php echo get_post_meta($post->ID, ‘videoembed_videopopup’, true) ?> <?php else: ?> <?php if(get_post_meta($post->ID, ‘links_link_custom’, true)): … Read more