[post-thumb] dimension
-
Hello,
in
includes/class/APLCore.php:2287if (current_theme_supports(‘post-thumbnails’))
{
$arr = wp_get_attachment_image_src(
get_post_thumbnail_id($page->ID), ‘single-post-thumbnail‘);
$str = str_replace(“[post_thumb]”,
$arr[0],
$str);
}Why “single-post-thumbnail” as second parameter of wp_get_attachment_image_src?
If your theme does not have that “single-post-thumbnail” size defined , all you get is a huge image ??
I would change it in “thumbnail” or even better add parameter support to define the size in [post-thumb] shortcode.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[post-thumb] dimension’ is closed to new replies.