Since I am not so great programming in PHP I wanted to ask my question here, hopefully you guys can help me out.
I'm building a WordPress website, this website has a custom page template like custom-single.php
.
On that custom template I want to show posts filtered on a tag. And the tag is coming from a Angular value like so {{ctrl.name.tagname}}
and yes ofcourse I've made a tag as well in WordPress.
The code must show max 5 posts (fully with title and ofcourse the content), after the posts it must show max 5 items which are older then 5 posts before, but then only with title using a bullet-list.