Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added func to functions.php to output fall back image for messed up p…
…ost thumbnail entries Fixes #35 // ------------------------------------------------------------------------ ---------------------------- // Album Review titles -- append "Album Review:" to titles - Andre // ------------------------------------------------------------------------ ---------------------------- function fallback_thumbnail_image( $tag_or_src ) { $thumbnail_fallback_tag = '<img src="http://images.earmilk.com/delivery.png" alt="Really hot thumbnail for this article post!" />'; $thumbnail_fallback_src = 'http://images.earmilk.com/delivery.png'; $response = ''; if ( $tag_or_src == 'src' ) { $response = $thumbnail_fallback_src; } elseif ( $tag_or_src == 'tag' ) { $response = $thumbnail_fallback_tag; } else { $response = $thumbnail_fallback_tag; } return $response; }
- Loading branch information