Skip to content

Commit fa70684

Browse files
authored
Update Opengraph.php
1 parent 5a8f33d commit fa70684

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Block/Post/View/Opengraph.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ public function getImage()
7575
$image = $this->getPost()->getFeaturedImage();
7676
}
7777

78+
if (!$image) {
79+
$image = $this->getPost()->getFeaturedListImage();
80+
}
81+
7882
if (!$image) {
7983
$image = $this->getPost()->getFirstImage();
8084
}

0 commit comments

Comments
 (0)