Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #709900

    Hi guys,

    There have been more topics about this issue, but I’ve not yet found any solution to my specific question.

    I have two main portfolios (split up into two categories) and the 2nd one has many sub-categories:
    1) Category 1
    2) Category 2 has sub-categories A, B, C, D et cetera.

    The two main portfolios are show on different pages. I use the sub-categories for the 2nd portfolio to create filter options.

    When a visitor clicks a single portfolio of category 1 all goes well. He can navigate through that category as expected from item 1 to 2 to 3 et cetera.

    However, when a visitor clicks a single portfolio category 2, he can only navigate through the sub-categories of category 2. The sub-categories were used to create a filter option, but the navigation should be done through all items of category 2.

    How can this be achieved?

    Thanks & regards,
    Monique

    #710577

    Hey Monique!

    Thank you for using Enfold.

    I’m sorry but I’m not sure if I understand your inquiry clearly. Do you want the navigation to filter posts by category? The navigation will filter through every posts as long as they are part of the same category, regardless if it’s a main or sub category. The function is based on the following native functions.

    // https://codex.wordpress.org/Function_Reference/get_previous_post
    // https://codex.wordpress.org/Function_Reference/get_next_post

    Related thread:

    // https://kriesi.at/support/topic/arrow-navigation-with-full-slider/#post-664607

    Regards,
    Ismael

    #719224

    Hey Ismael,

    I hope I can explain a littlebit better what I want. That is for main category 2 (= templates) to get_previous_post and get_next_post for the main category items, not the sub category items. I am using the sub categories only to show the filter option on the overview page (see link).

    When you click the 1st item (see link) and you click the arrow for previous post, you will now get the previous post for sub category (= blog & magazine). I want visitors to go to the previous post for the main category (= templates).

    How can I achieve that?

    Don’t worry: you will see competitors themes on this site, but hey, I mostly buy and sell Enfold theme :-)

    Best regards,
    Monique

    #720819

    Hi,

    I hope I can explain a littlebit better what I want. That is for main category 2 (= templates) to get_previous_post and get_next_post for the main category items, not the sub category items. I am using the sub categories only to show the filter option on the overview page (see link).

    I’m sorry but the navigation will filter through every posts as long as they are on the same category, regardless of its hierarchy. You can add this in the Quick CSS field if you want to disable it.

    #top .avia-post-nav {
        display: none;
    }

    Best regards,
    Ismael

    #721418

    Hi Ismael,

    Your option to disable to navigation means that it will be disabled on all pages/portfolios… :-(

    In my post https://kriesi.at/support/topic/show-categories-and-tags-in-portfolio/ I asked for help to show subcategories or tags on a single portfolio (page templates). On the screenshots you can see that the filtering in the overview page corresponds with the part in the single portfolio page which is called “Geschikt voor websites voor o.a.” (Suitable for websites for ie.).

    Since the navigation cannot work the way I like, can we maybe get the filtering to work with tags in stead of (sub)categories? That would also solve the navigation issue since there will be tags in stead of subcategories.

    Hope you understand what I mean!

    Best regards,
    Monique

    #722550

    Hi,

    Unfortunately it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However if its really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Andy

    #723088

    Ok, I understand.

    Can you flag this topic as closed please?

    Thanks & have a nice day,
    Monique

    #723751

    sure! Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Portfolio categories & navigation arrows’ is closed to new replies.