Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #925872

    hi there,
    i have 2 galleries (or portfolio grids) on one page, both are supposed to be displaying portfolio items from different categories, however despite there being items assigned to all categories, & specific categories being selected to be displayed in a grid (or gallery), they are missing from its breadcrumb trail or navigation.
    How to I sort this out? There’s nothing obvious missing in terms of setup.
    Theme & WP is up to date, I’m using your child theme.
    Thanks,
    Jason

    #926861

    I should add hosting is with SiteGround – but I don’t currently have their caching plugin enabled.
    DNS is with CloudFlare, maybe this is causing an issue with the JS on this page?

    #927054

    Hi,

    Thank you for using Enfold.

    That is the default portfolio breadcrumb. If you want to display the categories instead of the “portfolio page”. Add this filter in the functions.php file.

    add_action('after_setup_theme','avia_remove_blog_breadcrumb', 90);
    function avia_remove_blog_breadcrumb(){
    	remove_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb');
    }

    Best regards,
    Ismael

    #927062

    Hi Ismael,
    Sorry – I don’t understand, its whatever this functionality provides (see attached) – that breadcrumb navigation is not showing all categories from the first portfolio grid, & none whatsoever from the second – despite there being items in those categories, & sort-able being set to yes (see attached).
    That bit of code did nothing I’m afraid.
    Screenshot

    #927073

    Hi,

    I’m sorry but a bit confuse here. The sort button has nothing to do with the breadcrumb. How do you expect the breadcrumb to look like? The sort button is not displaying in the second portfolio grid because the items in the first page belong to a single category called “West Coast”. If you go to the second page, the sort button will display because items from another category or taxonomy are present.

    Best regards,
    Ismael

    #927083

    Hi Ismael,
    Ok, I am confused – but I think I’m getting there.
    So, essentially I really can’t have two separate portfolio grids on one page then?

    I understand what you are saying re the West Coast – that makes sense.
    So I see by playing with the pagination that if I click on page 2 of the bottom grid, that also displays page 2 of the top grid, so having 2 grids on one page doesn’t really work.

    So there’s no way to display all of the categories on page 1?
    It only displays categories of the photo’s present on page 1?
    Does that sound correct?

    Is there any way to retain the sort functionality of a grid, & display all categories on each page of the grid?
    I will put the grids on separate pages.

    Perhaps I would be better off using another element to display these photo’s?
    What I want to do is give visitors an image grid (say 3 rows of 4 columns) with pagination, with a way to display images only from a given category if they so desire.

    #927323

    Hi,

    So there’s no way to display all of the categories on page 1?
    It only displays categories of the photo’s present on page 1?

    This is possible but you have to set the “Order by” settings to “Random”. This will query the portfolio items randomly so there’s a great chance that a mix of items from different taxonomies or categories will be present on page 1.

    So I see by playing with the pagination that if I click on page 2 of the bottom grid, that also displays page 2 of the top grid, so having 2 grids on one page doesn’t really work.

    Yes, that’s correct. Unfortunately, this is how the WP pagination works. You can get around this limitation but you have to implement ajax.

    // https://wordpress.org/plugins/malinky-ajax-pagination/

    Best regards,
    Ismael

    #928790

    Thank you Ismael :)

    #928864

    Hi,

    You’re welcome. Please feel free to open a new thread if you encounter any issues. :)

    Best regards,
    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Portfolio grid categories missing despite items being assigned’ is closed to new replies.