WordPress multisite condition for certain blog_id’s

I have a function in my network’s footer:

<?php
$blog_id = get_current_blog_id();
if ( 446 == $blog_id ) {
?>
—-my code—–
<?php } ?>

….How would this have to look if I want

1.) all blog IDs 446 and above to be included?

and

2.) only a certain part of the blog title to be included? (Let’s say I only want this code to appear when the blog title contains the word ‘test’)?

Is that even possible?

Thanks!!

Read more here:: WordPress multisite condition for certain blog_id’s

Leave a Reply

Your email address will not be published. Required fields are marked *