astamicu
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Show all posts on specific tag pageOk i managed to solve it with the help of a friend.
This is the code i used.<?php $tagname = get_query_var('tag'); query_posts( "tag=$tagname&posts_per_page=-1" ); ?>
Maybe someone will need it ??
Forum: Themes and Templates
In reply to: Show all posts on specific tag pageMaybe i wasn’t very clear.
The screenshot was just to show how i want the posts to appear.As i said for the category pages everything works perfect and it shows all posts from that category.
I should’ve mentioned that for the homepage i show only one post. I set that in “reading settings” -> Blog pages show at most 1.
So if i let the tag.php by default it only shows the last post.
I want the entire list of posts with that tag.From that link it only shows me how to list posts from a specific tag by setting it’s slug or id. But if i go to another tag i want to show that tag posts.
Ex: /tag/apple lists all posts with the tag apple
/tag/orange lists all posts with the tag orangeNow it shows only the last because of the reading setting. I need somehow to bypass that.
Hope I Was clear enough and thank you for taking your time and answering me ??
Forum: Themes and Templates
In reply to: Show all posts on specific tag pageYeah, but on the theme i use it doesn’t work quite like that.
And i don’t want the posts with meta and excerpt. Just a list with all of them from that category/tag
And it works for categories…Just wanted to know if the code above can be somehow used for tags or if there is other solution to just list all posts from a tag. When i go to /tag/emma the page should show a list with the posts tagged emma
Like in this “awesome” screenshot i made ?? https://prntscr.com/1nr908