Site logo

[Support request] Archive page not responsive

Home Forums Support [Support request] Archive page not responsive

Home Forums Support Archive page not responsive

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #1160145
    Leo
    Staff
    Customer Support

    No problem!

    Sorry we couldn’t be more helpful.

    Let me know if you end up finding the cause/solution 🙂

    #1161008
    Gian

    Hi Leo, I’m trying to find the issue related to the responsive page and found that I have a snippet in the code snippet plugin which is probably causing it.

    The snippet is this one:

    add_filter( 'generate_show_excerpt', function( $show ) {
        if ( is_archive() || is_home() ) {
            return true;
        }
    
        return $show;
    } );

    which I used to display the excerpt in category pages in combination with this option https://imgur.com/a/1FO4UQY in Customizer > Layout > Blog

    Now, if I deactivate the snippet, the page is responsive again but the excerpt is not set to 25 as I’d like https://imgur.com/a/Jj3pC4x

    Do you have by any chance an idea on how to make it work again?

    Thank you in advance

    #1161034
    Leo
    Staff
    Customer Support

    Hmm it’s really not possible that snippet would cause the responsive issue unfortunately – if so then it would’ve happen to all of our machines.

    That filter is the only way to set the excerpt differently and it definitely cannot cause the responsive issue.

    #1161038
    Gian

    Ok, but this option https://imgur.com/a/1FO4UQY is not supposed to make the excerpt world count to 25, without using the snippet?

    #1161047
    Gian
    #1161099
    Leo
    Staff
    Customer Support

    Here are the 3 reasons why the excerpt option is the customizer is not working:
    https://generatepress.com/forums/topic/blog-page-post-excerpt/#post-1096398

    Can you double-check?

    As for the snippets, what if you disable all other snippets and only keep that one active?

    Again if the snippet was causing the issue, it should’ve happened when I logged in and tested yesterday.

    #1161107
    Gian

    Ok, I understand, I have the more tag on blog posts.

    If I disable all other snippets and keep only the excerpt snippet, page is not responsive on my laptop.

    #1161160
    Leo
    Staff
    Customer Support

    That is so strange.

    Unfortunately I really have no idea what it could be – especially it’s not happening to us.

    I just tested on my laptop and my wife’s laptop and no issues either.

    Do you happen to have a friend who might be able to test it for you?

    #1162454
    Gian

    I’ve tested on other 2 laptops but I still have the same issue unfortunately.

    I was thinking that it was maybe something related with the snippet code but I understand that is not possible to create the same behaviour from your end.

    Don’t worry Leo, thank you anyway for your help!

    #1162503
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 10 posts - 16 through 25 (of 25 total)
  • You must be logged in to reply to this topic.