Default Front Page image
-
Hello ??
So I’m looking to add the following filter to add a default frontpage image:
add_filter('og_og_image_value', 'my_og_og_image_value'); function my_og_og_image_value($images) { if ( empty($images) ) { $images[] = 'https://wordpress/wp-content/uploads/2014/11/DSCN0570.jpg'; } return $images; }
However, I run a MultiSite install with several sites needing a different default image. Is it possible to pull insert additional PHP to pull their logo? Here is how the HEADER.PHP currently pulls the site logo:
<?php themename_logo(); ?>
Thanks for your help ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Default Front Page image’ is closed to new replies.