Skip to content

Commit 38d5620

Browse files
committed
Fix issue with featured widget template in v2.10.x
1 parent 8644604 commit 38d5620

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Block/Widget/Featured.php

+11
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,15 @@ public function getShorContent($post)
5858
{
5959
return $post->getShortFilteredContent();
6060
}
61+
62+
/**
63+
* Get relevant path to template
64+
* Skip parent one as it use template for sidebar block
65+
*
66+
* @return string
67+
*/
68+
public function getTemplate()
69+
{
70+
return \Magefan\Blog\Block\Post\PostList\AbstractList::getTemplate();
71+
}
6172
}

0 commit comments

Comments
 (0)