I am creating a blog page with a listing / landing page, a post page and a filter in a sidebar that will filter the blogs displayed on the listing page.
However, I don't know the proper way to set this up nor the syntax that is supposed to be used to filter. I have set up the filter to display the tags, but when i click on the tag, it changes the URL slug but nothing changes on the page. Here is my code.
The blog_recent_posts() function will always return the most recent posts for the entire blog so the tag/topic pages would not be able to filter it to show just one particular topic which is why it seems like nothing is changing on the page when you click to go to a topic link. What you want to use is the 'contents' variable.