Forum
Displaying Posts by Tag in Blog App
I'm trying to create an argument that would allow blog posts to be displayed by tag using the post_in_list.html template. I understand the perch_get function, but I'm trying to display specific tags on one stream, but grouped together by that tag. Being somewhat of a newb at writing php arguments, I can't seem to get there. Any help you could provide would be great.
Hope that makes sense.
Can you show us your code so far?
I solved it. I just needed to pass the a custom variable through.
If I wanted to text against multiple tags to create an output, how would I do this? I can only seem to test against one or the other, but not both as true.
I feel like I'm close. Do I need to pass an array to exclude any posts the specific tags I don't want to show up?
I don't understand what you mean. Particularly "exclude any posts the specific tags".