July 20, 2023 at 6:54 pm #1413860
I’m working on a website with many categories in hierarchical order and many tags. In some cases I need to display posts with a special category in combination with special tags, eg.
posts with tags “History”,”Exhibition”, “Medals” ONLY in category “Magna Graecia”. On other pages I want to display post whith these tags but with another category (eg. “Italy”).
The Blog Post Element provides taxonomy sorting by category OR by post tag (and others) but not a combination of both. I don’t want to use the same terms as both a category and a tag. Is there a solution?
AnneJuly 27, 2023 at 9:56 am #1414633
Thank you for the inquiry.
You should be able to utilize the avia_blog_post_query filter to adjust the default query and make use of the tax_query parameters to create relational queries between tags and categories. Examples can be found in the following threads.
The following documentation should also help.
IsmaelJuly 31, 2023 at 11:43 am #1415020
thank you very much for the links. The topics do not really help me because I don’t need to exclude categories but I need to extend the options of the blog post element. To display my problem please see the PDF under the attached link.
AnneAugust 3, 2023 at 3:17 pm #1415343
Unfortunately, this is only possible with heavy customization which is out of the scope of our support.
If this is something you really need, please consider hiring a freelance developer for the task.
YigitAugust 3, 2023 at 3:21 pm #1415345
thank you very much for your reply. I’ll solve my issue by sorting blog posts only by tags. That works.
AnneAugust 3, 2023 at 3:25 pm #1415346
- You must be logged in to reply to this topic.