- This topic has 24 replies, 4 voices, and was last updated 5 years, 7 months ago by
Leo.
-
AuthorPosts
-
February 9, 2020 at 8:59 pm #1160145
Leo
StaffCustomer SupportNo problem!
Sorry we couldn’t be more helpful.
Let me know if you end up finding the cause/solution 🙂
February 10, 2020 at 12:56 pm #1161008Gian
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
February 10, 2020 at 1:38 pm #1161034Leo
StaffCustomer SupportHmm 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.
February 10, 2020 at 1:43 pm #1161038Gian
Ok, but this option https://imgur.com/a/1FO4UQY is not supposed to make the excerpt world count to 25, without using the snippet?
February 10, 2020 at 1:51 pm #1161047Gian
February 10, 2020 at 3:05 pm #1161099Leo
StaffCustomer SupportHere are the 3 reasons why the excerpt option is the customizer is not working:
https://generatepress.com/forums/topic/blog-page-post-excerpt/#post-1096398Can 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.
February 10, 2020 at 3:17 pm #1161107Gian
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.
February 10, 2020 at 4:41 pm #1161160Leo
StaffCustomer SupportThat 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?
February 11, 2020 at 8:52 pm #1162454Gian
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!
February 11, 2020 at 10:35 pm #1162503Leo
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.