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

    I got bug with permalinks for Portfolio. Categories mixed in in the wrong order in the top breadcrumb.
    For exsample, I got something like this: Cats / Red Dogs / Big white cats insted
    Cats / Big cats / Big white cats. All portfolio items included in the desired categories,
    menu page order is also correct. It’s only bug with breadcrums.

    #214326

    It seems I fix this problem. I renamed portfolio’s permalinks in the settings menu — give them unique names. Also I update menu links.
    upd.. This bug appears time up to time. Very stange.
    P.S. I can’t add portfolio items into the menu. On the page /wp-admin/nav-menus.php is only avaible Pages, Links and Categories. So I used Links to add portfolio page into the menu.

    • This reply was modified 2 months, 4 weeks ago by  Bogdan.
    #214791

    Hi!

    WordPress supports a special option field for the portfolio items. Go to Appearance > Menus and click on the “Screen Options” tab in the right top corner. Then tick the checkbox next to “Portfolio Items” and WP will show a new option field for portfolio items.
    Cheers!
    Peter

    #215030

    Thanks. And whats about breadcrumb links?
    It’s snow like You are here: Home / Cars / Eat / Ferrari.
    As you see Eat is not belong to Cars category, but it’s appear.

    • This reply was modified 2 months, 3 weeks ago by  Bogdan.
    #215172

    Hi!

    Please add this on functions.php:

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

    Best regards,
    Ismael

    #217246

    Thank You very much! It works. Why this code is not included by default or it is specific bug?

    • This reply was modified 2 months, 3 weeks ago by  Bogdan.
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Portfolio's premalink bug’ is closed to new replies.