Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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!

    #854015

    Hey melboy28,

    Can you please show us the page that is happening?

    Best regards,
    Basilis

    #854098

    1. 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.
    #855161

    Hi,

    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,
    Ismael

    #855237

    Hi!
    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,
    Melanie

    #855534

    1. still not working, need help on this
    2. I solved the problem by adding manually the read more link in all posts.
    Thanks

    #855651

    Hi,

    1.) This is what the breadcrumbs look like.

    // https://imgur.com/a/a3ZWh

    2.) Alright. Glad that you figured it out.

    Best regards,
    Ismael

    #856609

    Have you clicked on 2017 in the archives widget?
    here’s what I have…
    https://imgur.com/a/sWyzC

    and I have cleared my cache so many times…
    and tried on different browser and computers…

    #857238

    Hi,

    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,
    Ismael

    #857241

    Hi,
    nothing to do with Yoast, I still have the problem and Yoast has been deactivated.
    Thanks

    #858352

    Hi,

    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,
    Ismael

    #858636

    Hi!
    Can’t save this without getting a 403 forbidden page :(

    #858679

    Hi,

    Did you try to add it via FTP?

    Best regards,
    Ismael

    #858755

    Hi!
    I could save it through FTP, but the breadcrumbs hasn’t change…

    Best regards,
    Melanie

    #859094

    Hi,

    Thank you for the update. Please post the FTP details in the private field so that we can test the filter.

    Best regards,
    Ismael

    #859313

    please see credentials in private content

    #859553

    Hi,

    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,
    Ismael

    #859648

    It works!!! Thank you…

    #859979

    Hi,

    Glad it worked. Let us know if you need anything else. :)

    Best regards,
    Ismael

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Posts archive breadcrumb wrong path and blog layout problem’ is closed to new replies.