
Tagged: blog posts, Tags
-
AuthorPosts
-
September 2, 2015 at 3:31 pm #497184
Hi.
I know the Masonry element have filtering above, but I am looking for a little more advanced filtering possibilities, so I am wondering how I can achieve the following:
I have a page with a Blog Posts element. I want the list to be able to take input from selected tags. Like if I have a button (or something similar) above the blog posts element for showing only the posts with tag blabla, I want the list to show based on the category selection set up in the element, but in addition, only the posts that has the tag blabla.
I would like the same to be possible for tag clouds, so I can have a tag cloud above a blog list, and if the user click one of the tags, the blog list will show only the posts that has the clicked tag(s).
Thanks for the help!
September 2, 2015 at 3:46 pm #497205The closest thing I have been able to do so far, is to add manual link urls like /category/blabla or /category/blabla?tag=yeye
But then the link goes to a normal blog list page, and away from my custom page with the blog posts element. Is there any way to tell the blog posts element (by query parameters etc) to filter like described?
September 3, 2015 at 7:06 am #497500Hey!
Thank you for using Enfold.
I’m sorry but this kind of filtering will require custom work that is outside the scope of support. You can contact codeable: http://kriesi.at/contact/customization
Best regards,
IsmaelSeptember 3, 2015 at 7:17 am #497505I see.
Is it possible to apply suggestions for the development backlog of the Enfold theme (or the Avia layout builder)? I have two suggestions:
1. Add the possibility to combine tags and categories in the configuration of content to show in the Blog Posts content element. Today it is only possible to choose one or more categories, or one or more tags (when selecting “Display entries from a custom taxonomy). It would be great to have an additional choice where it is possible to choose both, and the posts to display must have all (or at least one?) the selected characters, and all (or at least one?) the selected tags.
2. A checkbox configuration on the Blog Posts content element, that when enabled, the content element select posts based on input query parameters the same way WordPress work in general, with ?category_name=something and/or ?tag=something. Possibly an additional choice in the dropdown “Display entries from” instead of a checkbox.
Theese two options would add a lot more flexibility when setting up pages a little more complex than simple blog lists.
Thank you.
September 4, 2015 at 9:37 am #498172Hi!
Thank you for the suggestions. You can post them here: https://kriesi.at/support/enfold-feature-requests/
There is actually an available filter function called “avia_blog_post_query” for blog posts element that you can use to alter the query parameters.
Example:
add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc'); function avia_modify_post_grid_query_desc( $query ) { $query['orderby'] = 'title'; $query['order'] = 'DESC'; return $query; }
Maybe, it will help.
Cheers!
IsmaelSeptember 4, 2015 at 10:26 am #498202I will try that. Thanks!
September 4, 2015 at 1:41 pm #498345Hey!
Please try and let us know so we can mark the thread as resolved or assist you further.
Regards,
YigitSeptember 4, 2015 at 1:44 pm #498353I have not had time to try out the manual fix, but I have submitted a feature request.
September 4, 2015 at 1:49 pm #498361September 9, 2015 at 2:42 pm #500454I won’t add any custom code at this time. I’ll use the current features for now, and look into extended complexity later.
Or in support language: You can resolve this ticket.
Thanks
-
AuthorPosts
- The topic ‘Tag filter input for Blog Posts element’ is closed to new replies.