Open Jimmi08 opened 1 month ago
How to use this in new theme:
replace core shortcode {NEWSRELATED: types=news&limit=3}
with {THEME_RELATED_NEWS: limit=3}
in news view template
change template for related news in news template - changed shortcode names and add your needed one
add new theme shortcode sc_theme_related_news()
Note: NEWSRELATED is already legacy, NEWS_RELATED should be used.
The result should look like this: (tested with latest git)
Excellent! Look through the whole thing, if you find a mistake, please correct it.
Solution for limited core related news