Problem with thumbnail – no thumbnail
-
Hi,
I am having trouble displaying a thumbnail in the list of popular posts.
Plug version – 5.5.0
I use shorcode [wpp] to display popular posts.I have defined the sizes of the photos
[wpp limit = “4” stats_views = “0” thumbnail_width = “150” thumbnail_height = “100”]In the WordPress dashboard, I have set Select image from: Featured image.
Unfortunately, only the “No thumbnail” photo is displayed.
I did a little investigation.
To display a photo in the “get ()” (“src / Widget / Image.php”) function, set $ build to “predefined” – line 169Unfortunately, in the “wpp_shortcode ()” (“/src/Front/Front.php”) function rendering Shortcode it is not possible to pass the setting [‘thumbnail’] [‘build’]
Please help where I can set [‘thumbnail’] [‘build’]
to “predefined” to avoid overwriting the plugin code.
- The topic ‘Problem with thumbnail – no thumbnail’ is closed to new replies.