Title: [post-thumb] dimension
Last modified: August 20, 2016

---

# [post-thumb] dimension

 *  Resolved [Once I Was A Developer](https://wordpress.org/support/users/i-was-a-developer/)
 * (@i-was-a-developer)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/post-thumb-dimension/)
 * Hello,
 * in
    includes/class/APLCore.php:2287
 * >  if (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.
 * [http://wordpress.org/extend/plugins/advanced-post-list/](http://wordpress.org/extend/plugins/advanced-post-list/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [butcher-pl](https://wordpress.org/support/users/butcher-pl/)
 * (@butcher-pl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/post-thumb-dimension/#post-3421920)
 * I already tried to get dev EkoJr to fix it but he skipped this one and closed
   my topic :/ Its really a shame…its a key feature.
 * [http://wordpress.org/support/topic/plugin-advanced-post-list-list-doesnt-grab-thumnail-in-311-grabs-medium-i-think?replies=15](http://wordpress.org/support/topic/plugin-advanced-post-list-list-doesnt-grab-thumnail-in-311-grabs-medium-i-think?replies=15)
 *  [butcher-pl](https://wordpress.org/support/users/butcher-pl/)
 * (@butcher-pl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/post-thumb-dimension/#post-3421921)
 * Great solution! it actually works 😀
 *  [thirdpotato](https://wordpress.org/support/users/thirdpotato/)
 * (@thirdpotato)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/post-thumb-dimension/#post-3421923)
 * I’d like to change the thumbnail size too, but I’m not exactly sure how one would
   add parameter support; or what to change in “thumbnail” or where?
 *  [butcher-pl](https://wordpress.org/support/users/butcher-pl/)
 * (@butcher-pl)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/post-thumb-dimension/#post-3421924)
 * as Once-I-Was-A-Developer said. Just change in includes/class/APLCore.php:2287
 *     ```
       if (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);
       }
       ```
   
 * ‘**single-post-thumbnail**‘ to ‘**thumbnail**‘

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[post-thumb] dimension’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-post-list.svg)
 * [Advanced Post List](https://wordpress.org/plugins/advanced-post-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-post-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-post-list/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-post-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-post-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-post-list/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [butcher-pl](https://wordpress.org/support/users/butcher-pl/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/post-thumb-dimension/#post-3421924)
 * Status: resolved