diff --git a/view/frontend/templates/post/view.phtml b/view/frontend/templates/post/view.phtml index 0b1987d..4d19688 100644 --- a/view/frontend/templates/post/view.phtml +++ b/view/frontend/templates/post/view.phtml @@ -3,14 +3,12 @@
getPostDate() ?>
getImage()) { - /** - * 2020-03-25 - * 1) "Force blog images to have the same dimensions - * as it was before the 1.3.0.24 → 2.0.11.14 `FishPig_WordPress` module upgrade": - * https://github.com/tradefurniturecompany/core/issues/27 - * 2) I have ported the solution from 1.3.0.24: - * https://github.com/bentideswell/magento2-wordpress-integration/blob/1.3.0.24/view/frontend/templates/post/view.phtml#L14 - */ + # 2020-03-25 + # 1) "Force blog images to have the same dimensions + # as it was before the 1.3.0.24 → 2.0.11.14 `FishPig_WordPress` module upgrade": + # https://github.com/tradefurniturecompany/core/issues/27 + # 2) I have ported the solution from 1.3.0.24: + # https://github.com/bentideswell/magento2-wordpress-integration/blob/1.3.0.24/view/frontend/templates/post/view.phtml#L14 $imageUrl = $image->getAvailableImage(); ?>
<?= $this->escapeHtml($post->getPostTitle()) ?>