Tagged: breadcrumb, Permalinks, Portfolio, url
-
AuthorPosts
-
January 24, 2014 at 9:41 am #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.January 24, 2014 at 10:29 am #214326It 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 11 years, 9 months ago by
Bogdan.
January 25, 2014 at 12:49 pm #214791Hi!
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!
PeterJanuary 26, 2014 at 5:12 pm #215030Thanks. 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 11 years, 9 months ago by
Bogdan.
January 27, 2014 at 7:14 am #215172Hi!
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,
IsmaelJanuary 31, 2014 at 1:23 am #217246Thank You very much! It works. Why this code is not included by default or it is specific bug?
-
This reply was modified 11 years, 9 months ago by
Bogdan.
-
This reply was modified 11 years, 9 months ago by
-
AuthorPosts
- The topic ‘Portfolio's premalink bug’ is closed to new replies.
