-
AuthorPosts
-
April 1, 2014 at 4:05 am #245836
On my site the breadcrumb is displaying every catagory that is associated with the portfolio post. Normally it thing it is supposed to be like this ( You are here:Home / the title of the portfolio post) , but a getting ( You are here:Home / a catagory example / a catagory example / a catagory example / the title of the portfolio post
)April 1, 2014 at 2:54 pm #246041Hi,
das kann ich bestätigen.
Gruß Lisa
April 1, 2014 at 4:59 pm #246143Hey!
Thank you for using the support forum!
The portfolio breadcrumb should not display the portfolio category but display the portfolio page instead. You can see an example if you visit http://kriesi.at/themes/enfold/portfolio/portfolio-3-column/, click on the first portfolio item, the breadcrumb shold look like You are here:Home / Portfolio / Portfolio 3 Column Ajax / Single Portfolio: 2/3 Slider. Did you add any modifications for the breadcrumb?
Regards,
IsmaelApril 1, 2014 at 5:08 pm #246149Just css to adjust its height and background-color. Went through the forum and noticed a few other users had the same issue. This only happens when a post or portfolio post is associated with a category. So for example normally a portfolio pages breadcrumb would display like so when view (You are here:Home / Portfolio / Portfolio 3 Column).
When you add a category to it it “cats” and “kittens” it will out put like this (You are here:Home /cats/ kittens/Portfolio / Portfolio 3 Column).April 2, 2014 at 4:53 pm #246606Ismael sorry about this, I looked at my functions.php file and I noticed that I had added this to it
————————–//
function avia_remove_portfolio_breadcrumb(){
remove_filter(‘avia_breadcrumbs_trail’,’avia_modify_breadcrumb’);
}
Will render all categories associated with a portfolio post in the breadcrumb trail (Not what I needed)
————————–//
Here is a better example of what I was trying to explain. Starting from page: http://kriesi.at/themes/enfold/portfolio/. Clicking on the first image link the (Iphone image), will lead to this page (http://kriesi.at/themes/enfold/portfolio-item/single-portfolio-23-slider-3/). Now look at the breadcrumb, it will read as (You are here:Home / Portfolio / Portfolio 3 Column Ajax / Single Portfolio: 2/3 Slider). Should it not read as (You are here:Home / Portfolio / Single Portfolio: 2/3 Slider)? The thing that was confusing me is why is “Portfolio 3 Column Ajax” being added to the breadcrumb trail in the above example. If this is how it is suppose to work, is there a way for me to render the bread crumb to just display (You are here:Home / previous page that a user arrived from / Current page that you are on)?- This reply was modified 10 years, 8 months ago by controlC.
April 3, 2014 at 6:43 am #246866Hi!
Thank you for explaining and figuring that there is a function that shows the category instead of portfolio page.
The “Portfolio 3 Column Ajax” is the actual page where the portfolio item is associated with and at the same time it is the child page of the “Portfolio” page. That is why it is included in the breadcrumbs. I hope that clear things up. Basically, if you don’t want the Portfolio 3 Column Ajax to show up, you need to place the portfolio items on the Portfolio page.
Regards,
IsmaelApril 3, 2014 at 7:51 am #246911Ismael how would I change the associated page? Example from “Portfolio 3 Column Ajax” to Another page? “Some Random page Name”
April 3, 2014 at 3:52 pm #247089Hi!
Did you import the dummy data? Do you have the page “Portfolio 3 Column Ajax”? Just edit that page then remove the “Portfolio” page as Parent page on Page Attributes metabox, change the title. If you want to start from scratch, please follow this steps. Make sure that you deleted the avia_remove_portfolio_breadcrumb function on functions.php.
1.) Create a page then name it Portfolio or anything you want to call it.
2.) Switch to Advance Layout Builder then insert the Portfolio Grid element. Add more contents if you want.
3.) Publish the page then test it.
Click on any portfolio item. The breadcrumb should look like this You are here: Home / Portfolio / Portfolio Item.
Regards,
IsmaelApril 3, 2014 at 3:53 pm #247090Thank You very much exactly what I needed!
-
AuthorPosts
- The topic ‘Breadcrumb displaying all categories associated with of a portfolio post’ is closed to new replies.