Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1187824

    Hi Team,

    is it possible that the masonry items count (when filter is active) count not only the items of the actually page?
    I need the counting for all items of an portfolio caterory in av-helper-masonry.php line 239 and 264.
    Hope you can help me?!

    Thank you and best regards
    Mike

    #1189371

    Hey Mike61,

    Thank you for the inquiry.

    On a quick search, we found the following thread that explains how to get the number of posts inside a specific taxonomy term.

    // https://wordpress.stackexchange.com/questions/147718/display-the-number-of-published-posts-for-each-custom-taxonomy-term

    Once you get the terms inside a specific taxonomy, iterate over them, then get the posts count. In the av-helper-masonry.php, you will have to add it inside the sort_buttons function or method of the avia_masonry class.

    Best regards,
    Ismael

    #1189379

    Hi Ismael,
    thank you for your note!
    Best regards
    Mike

    #1189575

    Hi Mike,

    Thanks for the update, please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1189829

    Hi Ismael,
    thank you, you can close this ticket.
    Best Regards
    Mike

    #1189947

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Masonry Category Items Count’ is closed to new replies.