-
AuthorPosts
-
September 15, 2017 at 10:41 pm #852702
Hi!
1. The posts archive breadcrumb is showing the wrong path.
It shows Accueil/Nouvelles / Équipe / 2017, Équipe being wrong…coming from nowhere!
Can’t find where to remove Équipe…2. I would like the blog layout to stay the same as the blog page when we sort through the archive or category widget, having only the 3 summary blogs showing and not the full 3 blogs showing one after the other…
Thank you!
September 19, 2017 at 8:07 pm #854015Hey melboy28,
Can you please show us the page that is happening?
Best regards,
BasilisSeptember 20, 2017 at 12:45 am #8540981. click on http://new.octanestrategies.com/nouvelles/
then on 2017 from the Archive widget…
you then get a breadcrumb : Accueil/Nouvelles / Équipe / 2017
Équipe is wrong…2.click on http://new.octanestrategies.com/nouvelles/
This the correct layout
then click on Archives 2017…
http://new.octanestrategies.com/2017/it should show the same layout…
but it shows full posts…
same should happen if we click on the category widget…
http://new.octanestrategies.com/category/relations-gouvernementales/
the page layout should stay as http://new.octanestrategies.com/nouvelles/Thank you
- This reply was modified 7 years, 2 months ago by melboy28.
September 22, 2017 at 6:11 am #855161Hi,
Thank you for the info.
1.) The breadcrumb looks correct.
Accueil/Nouvelles
2.) Please add this filter in the functions.php file.
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); function avia_change_category_blog_layout($layout, $context){ if($context == 'archive') $layout = 'single-small'; return $layout; }
Best regards,
IsmaelSeptember 22, 2017 at 8:31 am #855237Hi!
1. I still got the wrong breadcrumb. Please click on 2017 from archives…you will see Équipe in the breadcrumb…Equipe shouldn’t be there
2. getting better but the whole post is showing, need a summary with the “read more” hyperlink, please refer to http://new.octanestrategies.com/nouvelles/Thank you,
MelanieSeptember 22, 2017 at 7:41 pm #8555341. still not working, need help on this
2. I solved the problem by adding manually the read more link in all posts.
ThanksSeptember 23, 2017 at 3:09 am #855651Hi,
1.) This is what the breadcrumbs look like.
2.) Alright. Glad that you figured it out.
Best regards,
IsmaelSeptember 25, 2017 at 5:30 pm #856609Have you clicked on 2017 in the archives widget?
here’s what I have…
https://imgur.com/a/sWyzCand I have cleared my cache so many times…
and tried on different browser and computers…September 27, 2017 at 4:17 am #857238Hi,
I can see the issue now. I was looking at the wrong page all along. I’m not sure why it’s including a non-existing page in the breadcrumb. Is it working properly if you disable the Yoast plugin?
Best regards,
IsmaelSeptember 27, 2017 at 4:23 am #857241Hi,
nothing to do with Yoast, I still have the problem and Yoast has been deactivated.
ThanksSeptember 29, 2017 at 9:01 am #858352Hi,
Thank you for the update. Please try this filter in the functions.php file.
add_filter( 'avia_breadcrumbs_trail', 'remove_category_from_breadcrumb', 50, 2 ); function remove_category_from_breadcrumb( $trail, $args ) { if ( is_archive() ) { unset ($trail[1]); } return $trail; }
Best regards,
IsmaelSeptember 29, 2017 at 10:58 pm #858636Hi!
Can’t save this without getting a 403 forbidden page :(September 30, 2017 at 7:29 am #858679September 30, 2017 at 2:34 pm #858755Hi!
I could save it through FTP, but the breadcrumbs hasn’t change…Best regards,
MelanieOctober 2, 2017 at 6:41 am #859094Hi,
Thank you for the update. Please post the FTP details in the private field so that we can test the filter.
Best regards,
IsmaelOctober 2, 2017 at 6:19 pm #859313please see credentials in private content
October 3, 2017 at 10:11 am #859553Hi,
I can’t connect to the FTP server. Anyway, I checked the page again and the breadcrumb looks different because of the filter.
Home/ Équipe /2017
Since, we’re trying to remove the “Équipe” page, please edit the filter then replace it with the following code.
add_filter( 'avia_breadcrumbs_trail', 'remove_category_from_breadcrumb', 50, 2 ); function remove_category_from_breadcrumb( $trail, $args ) { if ( is_archive() ) { unset ($trail[2]); } return $trail; }
Best regards,
IsmaelOctober 3, 2017 at 2:51 pm #859648It works!!! Thank you…
October 4, 2017 at 8:29 am #859979 -
AuthorPosts
- The topic ‘Posts archive breadcrumb wrong path and blog layout problem’ is closed to new replies.