Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. category filter logic

category filter logic

Scheduled Pinned Locked Moved General Discussion
25 Posts 3 Posters 237 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sebaster
    wrote last edited by Sebaster
    #1

    Hi Armin,
    can the category filter logic (for the project thumbnail grid) be changed to an OR logic, similar to the tag filter? The goal is to filter projects that belong to two different categories, for example.
    The background to this is your suggestion to use the category filter instead of the tag filter in order to navigate only between projects that belong to the same category in the project navigation...

    Thanks in advance!

    Sebastian

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote last edited by
      #2

      are you presuming that with this feature,
      we can choose 2 different categories in the thumbnailgrid

      then we see all project thumbnails of these 2 different categories

      then i click on one to open it

      and then you presume using the previous / next navigation between the projects will go through all the projects that are part of these 2 categories?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sebaster
        wrote last edited by
        #3

        That would also be okay, but it would be better if the project "knew" which category it belonged to independently of the previous filtering and if the prev/next buttons only led to the prev/next member of the category accordingly.

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote last edited by
          #4

          mh but a project can have multiple categories.

          how should it know, especially when you would be able to click on 2 categories in the filter?

          1 Reply Last reply
          0
          • arminunruhA Offline
            arminunruhA Offline
            arminunruh
            Global Moderator
            wrote last edited by
            #5

            ah you mean if the project had only one category?

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote last edited by
              #6

              but you do know when u have this setting enabled

              image.png

              that prev and next will go through the projects of the category that the project has right

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sebaster
                wrote last edited by
                #7

                Hey Armin,
                sorry, I think I posted my question a little too hastily. After a long break, I had been tinkering with our website, and I remembered that jumping between projects in the same category only works if you access the project via a grid page that has been filtered by that category beforehand. But that's obviously nonsense, and I'm testing it again now.

                Regarding the category filter: it would be nice to have an option similar to the tag filter that allows projects from multiple categories to be displayed (e.g., projects from the “Lectures” category and from the “Publications” category).

                Thanks again!

                1 Reply Last reply
                0
                • arminunruhA Offline
                  arminunruhA Offline
                  arminunruh
                  Global Moderator
                  wrote last edited by
                  #8

                  and I remembered that jumping between projects in the same category only works if you access the project via a grid page that has been filtered by that category beforehand. But that's obviously nonsense, and I'm testing it again now.

                  that is true though too!

                  Regarding the category filter: it would be nice to have an option similar to the tag filter that allows projects from multiple categories to be displayed (e.g., projects from the “Lectures” category and from the “Publications” category).

                  ok!!

                  <3

                  1 Reply Last reply
                  0
                  • arminunruhA Offline
                    arminunruhA Offline
                    arminunruh
                    Global Moderator
                    wrote last edited by
                    #9

                    ok so i was just starting to work on this but then i wondered, why do you need this functionality? could you not just use tags?

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Sebaster
                      wrote last edited by
                      #10

                      Hi Armin,
                      I'm coming back to this topic: Yes, I'm now simply using the tag filter.
                      But my actual problem is a different one: I would like to have next/prev buttons under the projects that lead to the next project in the same category. Unfortunately, this is not currently working, even though I have activated "Projects of same category" in the Lay options. As I understand it, this should mean: projects that belong to the same category (e.g., all projects that belong to both the "All" category and the "News" category).
                      The topic of the category filter only came up because I mistakenly thought that filtering the thumbnail grid by category would have an influence on the next/prev buttons.
                      The current test version of the site can be found here: http://rimu.richtermusikowski.com

                      1 Reply Last reply
                      0
                      • arminunruhA Offline
                        arminunruhA Offline
                        arminunruh
                        Global Moderator
                        wrote last edited by
                        #11

                        Can you please send:

                        • a link to this forum topic
                        • your website address
                        • /wp-admin/ username and password
                          to: info@laytheme.com
                        1 Reply Last reply
                        0
                        • arminunruhA Offline
                          arminunruhA Offline
                          arminunruh
                          Global Moderator
                          wrote last edited by
                          #12

                          hey sebaster so as i can see your projects have multiple categories:

                          they always have ALL, and news, or all and projects:
                          or alle and news
                          or all and projects

                          image.png

                          when you use the setting "go through projects of same category"
                          if your projects have multiple categories, of course lay theme doesnt know which category to pick, so it just picks the first one, which is probably "Alle" or "All" and goes through projects of that category.

                          however, if you use a project thumbnail grid
                          and you use the category filter, then it will use the category that was filtered.
                          it will then prev/next through projects of the same category based on that filter

                          It would work the way you set it up if you would only have 1 category per project.
                          So i would suggest you rename your categories "Alle" and "All" to for example "News" and "News"
                          then remove the current News categories.
                          Because you cant simply remove the "Alle" and "All" categories, cause those are the standard, undeletable
                          Then make sure the projects have the correct categories applied.

                          But then the next issue is, for the project thumbnail grid element,
                          we can only choose one category to show the project thumbnails of.
                          Im working on a setting so you'll be able to just show all projects in a thumbnailgrid instead of having to choose category now

                          1 Reply Last reply
                          0
                          • arminunruhA Offline
                            arminunruhA Offline
                            arminunruh
                            Global Moderator
                            wrote last edited by
                            #13

                            ok so the next update will include this setting:

                            image.png

                            still need to test it more though

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Sebaster
                              wrote last edited by
                              #14

                              Hi Armin,
                              yes this sounds good! An option to show projects of all categories in Thumbnailgrid settings would solve my problem. Thank you again for your great work and ongoing support!

                              1 Reply Last reply
                              0
                              • arminunruhA Offline
                                arminunruhA Offline
                                arminunruh
                                Global Moderator
                                wrote last edited by
                                #15

                                of course! i will keep working on it today and when i release the update i let u know

                                1 Reply Last reply
                                0
                                • arminunruhA Offline
                                  arminunruhA Offline
                                  arminunruh
                                  Global Moderator
                                  wrote last edited by arminunruh
                                  #16

                                  could you please try this version of lay theme?

                                  https://www.dropbox.com/scl/fi/0aa178g63ekg7znq2ymro/lay.zip?rlkey=t69udtzwq48hsx427leuccr9k&st=22mleml2&dl=0

                                  its the new version that contains that new setting. but i havent released it yet.

                                  i tested it a lot but i want to test it more.
                                  cause i had to change quite a lot about the thumbnailgrid to make this work, and its a really important part of lay theme

                                  would be cool if you could test it out and let me know if everything still works correctly

                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    Sebaster
                                    wrote last edited by
                                    #17

                                    Hi Armin,

                                    everything looks fine from my perspective. I adjusted the category assignment so that all projects now have only one category and are no longer part of the ALL/ALLE categories, and then changed the default setting to ‘Show all projects’. Now all projects are shown in the thumbnail grid as expected and the Next/Prev navigation within the project categories works perfectly.
                                    I created a new project in the News category in German and English, and it appears directly in the thumbnail grid. The only sorting option now is ‘Order in Project Overview’, but this also works well; the order adjusted in the Project Overview is transferred 1:1 to the thumbnail grid.
                                    You are welcome to use the access data sent by email and test it yourself if you like. We will not be active there again until Monday evening.

                                    Sebastian

                                    1 Reply Last reply
                                    0
                                    • arminunruhA Offline
                                      arminunruhA Offline
                                      arminunruh
                                      Global Moderator
                                      wrote last edited by
                                      #18

                                      amazing! yes when i look at it on your site, it works fine now with the new change

                                      would you like a functionality also where its possible to only choose one tag at a time?

                                      image.png

                                      cause im not sure if it makes sense for your use case to be able to choose multiple tags

                                      why dont u just use the category filter instead of the tag filter?

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        Sebaster
                                        wrote last edited by
                                        #19

                                        Hi Armin,
                                        right now we prefer to use the tag filter: it offers more options than the category filter. We like the fact that several tags can be selected at the same time, e.g. if you want to get an overview of lectures/exhibitions/publications (=public relations, some of these tags are currently still missing). I tried to explain that here already: http://laythemeforum.com:4567/post/44358...
                                        Sebastian

                                        1 Reply Last reply
                                        1
                                        • arminunruhA Offline
                                          arminunruhA Offline
                                          arminunruh
                                          Global Moderator
                                          wrote last edited by
                                          #20

                                          ah ok i understand!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          I also code custom websites or custom Lay features.
                                          💿 Email me here: 💿
                                          info@laytheme.com

                                          Before you post:
                                          1. When using a WordPress Cache plugin, disable it or clear your cache.
                                          2. Update Lay Theme and all Lay Theme Addons
                                          3. Disable all Plugins
                                          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                                          This often solves issues you might run into

                                          When you post:
                                          1. Post a link to where the problem is
                                          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                                          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                                          Online Users
                                          O
                                          oli
                                          P
                                          piranha
                                          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                                          laytheme.com
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Search