diff --git a/functions.php b/functions.php index df6e47f6..75ff4cf0 100755 --- a/functions.php +++ b/functions.php @@ -320,7 +320,7 @@ function get_post_images($_post = null) if ($matches && $matches[1]) { $res = $matches[1][0]; } else { - $res = get_stylesheet_directory_uri() . '/assets/img/random/' . mt_rand(1, 8) . '.jpg'; + $res = get_template_directory_uri() . '/assets/img/random/' . mt_rand(1, 8) . '.jpg'; } return $res; }