- November 11, 2019 at 4:32 pm #250128
i wanted to filter posts in categories and on main page by tag (where available) but it returns blank content.
Any idea what might happend?
Where there are no posts with that tag it returns the default NOTHING FOUND It seems we can’t find what you’re looking for. Perhaps searching can help.
My page is idei.arhispec.ro and the aforementioned filter is on the menu on the homepage and categories. It ads the /tag/slug or ?tag=slug codes – on the “alege un domeniu” dropdown.
Does it have to do anything with the default display of posts?
Any help is well appreciated. Thank you!November 11, 2019 at 4:42 pm #250130
Hmm, i think i might got it .. in only two categories i have more than 2 posts … and it shows the 3rd on the category that has 3 posts and 5 posts on the category i have 7 posts. So the first two posts in the newspaper-x-archive-first-posts get the two spots even though they are not from those tags …November 11, 2019 at 4:50 pm #250132
So the problem is that
in the category pages
the two posts shown in newspaper-x-archive-first-posts don’t get filtered
neither by /tag/slug nor by /?tag=slug.
Any help in code for filtering those two? Or if it’s easier (though not as nice looking) .. hiding them on filtered tags and showing 3 normal posts in category style?November 12, 2019 at 10:22 am #250261NodaKeymasterNovember 12, 2019 at 12:02 pm #250267
On what email should i set it up?
Thank youNovember 12, 2019 at 1:18 pm #250271This reply has been marked as private.November 13, 2019 at 9:51 am #250404NodaKeymaster
Scythe, I can help you if some theme options or settings are not working but unfortunately is limited to provide any customization or function modification, sorry, I hope you understandNovember 13, 2019 at 12:25 pm #250425
Well, for me it seems that the newspaper-x theme query isn’t doing what it should eg. getting the query, a thing that should work out of the box / wordpress basic themes. It isn’t a customization. i just want to show on the default archive the posts with a certain tag .. and the first two posts filtered by the archive-first-posts function are not filtered by tags.
so when i navigate to /tag/example .. it show me the posts with the tag example .. which is not doing by default on the two first posts.
Correct me if i wrong since you are the expert and this is your theme.November 13, 2019 at 12:33 pm #250426
it should* show me but it doesn’t (forgot the should) …
so to further explain .. right now on the archive template (other than homepage) .. if i navigate to a tag page filtered taxonomy while having the default newspaper-x theme – 2 big posts / banner / the rest of smaller posts + sidebar .. it shows the first two posts which i have no idea how are queried and then it shows the normal “filtered tag” query – the first two posts. This doesn’t feel like it should happen …
that’s why i’m assuming this is a bug and not a customization … but like i said you are the expert much more than me :).
- This reply was modified 2 months, 1 week ago by scythe.
- You must be logged in to reply to this topic.