Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!

    #497205

    The 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?

    #497500

    Hey!

    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,
    Ismael

    #497505

    I 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.

    #498172

    Hi!

    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!
    Ismael

    #498202

    I will try that. Thanks!

    #498345

    Hey!

    Please try and let us know so we can mark the thread as resolved or assist you further.

    Regards,
    Yigit

    #498353

    I have not had time to try out the manual fix, but I have submitted a feature request.

    #498361

    Hey!

    Great!
    Let us know if you have any other questions or issues!

    Cheers!
    Yigit

    #500454

    I 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Tag filter input for Blog Posts element’ is closed to new replies.