Title: Pascal Birchler's Replies | WordPress.org

---

# Pascal Birchler

  [  ](https://wordpress.org/support/users/swissspidy/)

 *   [Profile](https://wordpress.org/support/users/swissspidy/)
 *   [Topics Started](https://wordpress.org/support/users/swissspidy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/swissspidy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/swissspidy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/swissspidy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/swissspidy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/swissspidy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 2,287 total)

1 [2](https://wordpress.org/support/users/swissspidy/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/swissspidy/replies/page/3/?output_format=md)…
[151](https://wordpress.org/support/users/swissspidy/replies/page/151/?output_format=md)
[152](https://wordpress.org/support/users/swissspidy/replies/page/152/?output_format=md)
[153](https://wordpress.org/support/users/swissspidy/replies/page/153/?output_format=md)
[→](https://wordpress.org/support/users/swissspidy/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] TypeError: Cannot read properties of undefined (reading ‘length’)](https://wordpress.org/support/topic/typeerror-cannot-read-properties-of-undefined-reading-length-2/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [1 day, 14 hours ago](https://wordpress.org/support/topic/typeerror-cannot-read-properties-of-undefined-reading-length-2/#post-18900340)
 * I’ll take the inactivity here as a sign that the error no longer occurs; marking
   as resolved. If you ever encounter it again, please provide as much detail as
   possible.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] TypeError: Cannot read properties of undefined (reading ‘length’)](https://wordpress.org/support/topic/typeerror-cannot-read-properties-of-undefined-reading-length-2/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [3 weeks, 3 days ago](https://wordpress.org/support/topic/typeerror-cannot-read-properties-of-undefined-reading-length-2/#post-18878695)
 * Thanks for your report!
   Could you perhaps provide some additional information
   about where this was happening and what action you were trying to perform? There’s
   usually a button to copy error messages, which would be extremely helpful for
   us.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] How to add url direct to a specific page on story](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/#post-18814524)
 * Heya,
   Now that you mention it, I actually completely forgot about this feature,
   my apologies.When you add a link to an element (for example by pressing Cmd+K/
   Ctrl+K) you can actually select a specific page to link to.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] How to add url direct to a specific page on story](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/#post-18813614)
 * Like I said, you need to check the source code and look for the ID attribute 
   of the `<amp-story-page>`. You can’t just use a page number.
 * Here’s an example:
   On [https://wp.stories.google/stories/turning-your-dream-into-reality/](https://wp.stories.google/stories/turning-your-dream-into-reality/),
   page number 10 looks like this in the source code: `<amp-story-page id="849d7482-
   9ad6-46af-b8d3-00278643199d"`.Thus, I can link to it directly using [https://wp.stories.google/stories/turning-your-dream-into-reality/#page=849d7482-9ad6-46af-b8d3-00278643199d](https://wp.stories.google/stories/turning-your-dream-into-reality/#page=849d7482-9ad6-46af-b8d3-00278643199d)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] How to display stories always from the first slide?](https://wordpress.org/support/topic/how-to-display-stories-always-from-the-first-slide/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [3 months ago](https://wordpress.org/support/topic/how-to-display-stories-always-from-the-first-slide/#post-18812280)
 * Answered at [https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] How to add url direct to a specific page on story](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [3 months ago](https://wordpress.org/support/topic/how-to-add-url-direct-to-a-specific-page-on-story/#post-18812278)
 * It’s generally possible to link to a specific page by looking at the `id` attribute
   of the `<amp-story-page>` element in the source code and using that to construct
   a link. See [https://amp.dev/documentation/components/stories/amp-story#branching](https://amp.dev/documentation/components/stories/amp-story#branching)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Performant Translations] Caching behavior question](https://wordpress.org/support/topic/caching-behavior-question/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [3 months ago](https://wordpress.org/support/topic/caching-behavior-question/#post-18806488)
 * Translated strings themselves don’t require any additional caching in WordPress.
 * Since version 6.5, WordPress uses a new file format for translation files that
   is much faster.
 * This plugin converts the old format to the new one for plugins that don’t yet
   use it, for example because they’re not hosted on WordPress.org. Simple as that
   🙂
 * Hope that helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] Issue with Polylang plugin](https://wordpress.org/support/?post_type=topic&p=18797757)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [3 months, 1 week ago](https://wordpress.org/support/?post_type=topic&p=18797757#post-18797810)
 * Hi there,
   Thanks for reaching out.I don’t know at which stage of the upload process
   Polylang’s media duplication feature kicks in, but according to some documentation
   there is a `pll_enable_duplicate_media` filter in the plugin to conditionally
   disable the feature. You could use that to improve compatibility with Web Stories.
   Example:
 *     ```wp-block-code
       <?php/** * Plugin Name: Do not duplicate posters * Description: Prevent Polylang from duplicating poster images originating from Web Stories. */add_filter(  'pll_enable_duplicate_media',  function ( $enable, $post_id ) {    // Use $post_id to determine whether it's a poster image.    // For example (untested):    if ( has_term( 'poster-generation', 'web_story_media_source', $post_id ) {      return false;    }    return $enable;  },  10,  2);
       ```
   
 * Hope that helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Preferred Languages] Compatibility with the Astra theme](https://wordpress.org/support/topic/compatibility-with-the-astra-theme/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/compatibility-with-the-astra-theme/#post-18735805)
 * I’m not aware of any incompatibilities nor why there should be some. But if you
   find any issues with the plugin, please let me know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] About LCP and other questions](https://wordpress.org/support/topic/about-lcp-and-other-questions/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 months, 1 week ago](https://wordpress.org/support/topic/about-lcp-and-other-questions/#post-18733230)
 * It sounds like you are doing a lot of optimizations for LCP already. Using a 
   CDN for images is a good choice.
 * A big part of LCP is the time to first byte (TTFB), which is essentially the 
   server load time. Using a caching solution (either with a plugin or on the network
   layer) will help improve TTFB and LCP. So I recommend looking into that.
 * As for other recommendations in PageSpeed Insights, they can be taken with a 
   grain of salt as they don’t know the specific AMP / Web Stories stack.
 * The release cadence has perhaps slowed down, but the plugin is very stable at
   this point 🙂
 * Hope this helps!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] Older stories have blank pages / elements that won’t load](https://wordpress.org/support/topic/older-stories-have-blank-pages-elements-that-wont-load/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/older-stories-have-blank-pages-elements-that-wont-load/#post-18731025)
 * No worries, hope you have fully recovered by now!
 * After taking another look, I think you’ve hit the nail on the head with your 
   previous remark:
 * > The page that’s broken on every story is page 1, which doesn’t allow animation,
   > so this “shouldn’t” be an animation-specific problem
 * This indeed shouldn’t be a problem, but strangely it is. Normally, animations
   on the first page should be automatically disabled, even if you tried adding 
   some. However, it looks like that isn’t currently working as expected.
 * We’ll make sure to fix this in our next release, so that animations on the first
   page are truly disabled.
 * In the meantime, you can work around this like so:
    1. Move the first story page to the second position
    2. Remove all animations of all the elements
    3. Move page back to the front
    4. Save story
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] How to display stories always from the first slide?](https://wordpress.org/support/topic/how-to-display-stories-always-from-the-first-slide/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/how-to-display-stories-always-from-the-first-slide/#post-18723652)
 * The default behavior is simple: users see the new version only when they refresh
   the page.
 * For your use case, what might work is the `live-story` feature as described at
   [https://amp.dev/documentation/components/amp-story#live-story](https://amp.dev/documentation/components/amp-story#live-story)
 * With this feature, the story would frequently poll the server for new updates.
   It’s meant for live content (e.g. during a sports game) but with a low poll interval
   it might work for you. The default is 15 seconds, but something like 1 hour might
   be good enough.
 * The caveat: the Web Stories WordPress plugin doesn’t support this feature out
   of the box. However, your developer may be able to add the necessary markup changes
   using a custom “sanitizer” class as in this example: [https://gist.github.com/swissspidy/a86f1eabefd24827646973ec4f497539](https://gist.github.com/swissspidy/a86f1eabefd24827646973ec4f497539)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] How to display stories always from the first slide?](https://wordpress.org/support/topic/how-to-display-stories-always-from-the-first-slide/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/how-to-display-stories-always-from-the-first-slide/#post-18722213)
 * > we’re finding that refreshing the web story takes it to the last page viewed–
   > rather than back to Page 1.
 * That is expected behavior. When you view a story, your progress is stored in 
   the browser’s Local Storage, so that you can continue where you left off.
 * > Is there any code that we can add to ensure it refreshes to the latest version
   > and goes back to Page 1 of the story?
 * Unfortunately, no. This is a feature of the Web Stories format itself and nothing
   done by this plugin. If you prefer a different behavior, I recommend opening 
   a feature request at [https://github.com/ampproject/amphtml/](https://github.com/ampproject/amphtml/).
 * > the bigger problem is that when we update the Web Story content (new copy, 
   > images etc), refreshing the Web Story doesn’t show the content updates as it
   > normally does on a WordPress refresh.
 * Just to clarify, this has nothing to do with the refreshing issue and you don’t
   see any of the new text when you reload the page? Does it work when you click
   on the Preview button in the editor? What if you open the story in a new browser
   or in incognito mode?
 * If you can share the link to a story where you expect different content after
   making & saving some changes, that would be helpful.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] Older stories have blank pages / elements that won’t load](https://wordpress.org/support/topic/older-stories-have-blank-pages-elements-that-wont-load/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/older-stories-have-blank-pages-elements-that-wont-load/#post-18720339)
 * Hi there,
 * Thanks for reaching out! Sorry to hear you’re having troubles bringing back those
   stories.
 * I noticed some of the images in this particular story are broken/missing. When
   you upload an image to WordPress, it creates various sub-sizes (thumbnails) for
   use one different screen sizes, but somehow some of them no longer exist. That
   causes the story pages to be blank
 * For example: one of the story pages references [`https://homemadehooplah.com/wp-content/uploads/2021/03/creamy-spinach-dip-2-1200.jpg`](https://homemadehooplah.com/wp-content/uploads/2021/03/creamy-spinach-dip-2-1200.jpg)
   and its smaller version [`https://homemadehooplah.com/wp-content/uploads/2021/03/creamy-spinach-dip-2-1200-400x599.jpg`](https://homemadehooplah.com/wp-content/uploads/2021/03/creamy-spinach-dip-2-1200-400x599.jpg),
   but the latter doesn’t exist anymore.
 * There are a few easy ways to address this:
    1. Edit the story, remove each image that looks good in the preview but not on 
       the actual site, and simply upload it again.
    2. Use a plugin such as [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/)
       to create those missing image sub-sizes without having to manually edit the 
       stories.
    3. Use an image CDN such as Jetpack’s Photon that deals with image sub-sizes so
       you don’t have to, and also helps with compressing images to make them smaller.
 * Option 2 is probably the easiest since you mentioned there are a few affected
   stories.
 * After that, I definitely recommend updating to the latest version of the plugin
   again 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Web Stories] Web Stories not showing in widget blocks with Lead News theme (v1.0.1)](https://wordpress.org/support/topic/web-stories-not-showing-in-widget-blocks-with-lead-news-theme-v1-0-1/)
 *  Plugin Author [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [6 months ago](https://wordpress.org/support/topic/web-stories-not-showing-in-widget-blocks-with-lead-news-theme-v1-0-1/#post-18707925)
 * Hi there, thanks for reaching out!
 * Could you perhaps share more details on what exactly you have tried and what 
   you would expect the result to be? A screenshot would already be helfpul.
 * I just tested inserting the Web Stories block in some widget areas in the Lead
   News theme and it seems to work just fine.
 * Note that the Web Stories block doesn’t offer any color customization options
   or so, but you can choose different layout options (circles, carousel, grid, 
   list).
 * > It would be great if there was a dedicated settings tab in the dashboard where
   > we could configure all the Web Stories display options (layout, colors, buttons,
   > etc.) independently of the theme. After setting it up, the system could generate
   > a specific shortcode based on those saved settings — that would make customization
   > much easier.
 * We do have something like that in the classic editor, but we highly recommend
   using the Web Stories block instead, as that offers the most features and the
   best user experience.

Viewing 15 replies - 1 through 15 (of 2,287 total)

1 [2](https://wordpress.org/support/users/swissspidy/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/swissspidy/replies/page/3/?output_format=md)…
[151](https://wordpress.org/support/users/swissspidy/replies/page/151/?output_format=md)
[152](https://wordpress.org/support/users/swissspidy/replies/page/152/?output_format=md)
[153](https://wordpress.org/support/users/swissspidy/replies/page/153/?output_format=md)
[→](https://wordpress.org/support/users/swissspidy/replies/page/2/?output_format=md)