Forum Replies Created

Viewing 15 replies - 31 through 45 (of 5,056 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    What if the slashes were escaped? Would this block Googlebot from seeing them as URLs to crawl? So instead of the above, have this instead:

    \/wp-content\/themes\/twentytwentyfive\/*

    Still, seems like Googlebot could be a tiny bit smarter with how it discovered possible URLs to crawl, like automatically exclude speculationrules.

    Plugin Author Weston Ruter

    (@westonruter)

    @justjo Sorry, I’m just seeing this support topic. (I’ve now subscribed to this support forum, which I had neglected to do.)

    It should be compatible, yes. I don’t have any experience with DIVI, but you should at least get a cross-fade animation when navigating between pages. To have more tailored animations, you can go to the View Transitions settings on the Reading screen in the admin to provide the CSS selectors for the relevant elements to be able to have a smoother animation.

    Plugin Author Weston Ruter

    (@westonruter)

    @mmwbadmin Sorry, I’m just seeing this support topic. (I’m now subscribed to see new topics in the future.)

    Are you still experiencing this issue? I just checked your site and I’m not seeing a flash of the featured image. Otherwise, you may be experiencing this issue: Why are my view transitions blinking?

    Plugin Author Weston Ruter

    (@westonruter)

    (Sorry for the delayed response. I just subscribed to the support forum so I won’t miss new topics.)

    Plugin Author Weston Ruter

    (@westonruter)

    There is a View Transitions settings section on the Reading settings screen. While it requires being able to come up with the necessary CSS selectors, you may be able to use that to get the view transitions to work in Elementor.

    Note: I did just notice a bug which impacts when the article transitions can run.

    Plugin Author Weston Ruter

    (@westonruter)

    @tamnik Sorry for the delay. I just saw your support topic, and I’m now subscribed to new topics so I won’t miss new ones.

    1. Is there a way to eliminate or reduce the delay between click and transition in your plugin?

    2. Do you recommend any custom JS techniques or configuration tweaks (like preload strategies, script reinitialization, or cache modes)?

    It is expected for there to be a delay between clicking the link, since the transition can only start once the new page has been loaded. This is why the View Transitions is the perfect companion to the Speculative Loading plugin. As of v6.8, WordPress by default has a conservative eagerness with prefetch for speculative loading. The Speculative Loading plugin enables the moderate eagerness with prerender. This allows for trule instant page loads, and this allows for the much more fluid view transitions you’re looking for. See also my writeup comparing the different configurations.

    3. Is there a suggested way to ensure scripts and popups work properly after transition content is swapped?

    I’m not sure without seeing an example site which has the issue. However, you may be looking for the the pageshow event.

    Plugin Author Weston Ruter

    (@westonruter)

    I believe I was able to reproduce the issue which I filed: Article view transition does not apply when using a static page for posts.

    I opened a pull request to fix this. I included a build for testing.

    I’ll resolve this topic, but please do provide feedback either here or on the issue/PR. Thank you.

    Plugin Author Weston Ruter

    (@westonruter)

    @chrisesch Sorry, I just saw your support topic.

    I just tested Twenty Twenty-Four, and I can see a view transition. However, when I have a static Home frontpage and a Blog page assigned for posts, when I click on a post on the Blog page I see the default cross-fade animation. However, when I set it so that the latest posts are on the homepage, then I can see the post title and featured image animate positions.

    Can you confirm?

    Plugin Author Weston Ruter

    (@westonruter)

    @gravnetic Sorry, just seeing your support topic now.

    Can you elaborate on what you mean by priority conflicts? If needed, you could create an issue on GitHub which would allow you to add screenshots and/or a screen recording.

    Plugin Author Weston Ruter

    (@westonruter)

    @ryno267 Sorry for the delay. I hadn’t seen your topic because I neglected to subscribe to this plugin’s support forum.

    See my reply on the Modern Image Formats plugin (another Performance Lab plugin) for why we include meta generator tags:

    The thing is that we need to identify the specific sites that are using the plugin when analyzing sites in HTTP Archive. It’s not really helpful to know the install count. We want to be able to compare sites that have the plugin active versus those who don’t and how the relative performance of images on the two sets of sites. In order to do this there needs to be an indicator the plugin installed, such as a meta tag. Elementor, WooCommerce, and Site Kit also output meta generator tags, as do many other plugins.

    See also the relevant topic on the Performance Lab support forum.

    Plugin Author Weston Ruter

    (@westonruter)

    @tunetheweb Interesting. So given this:

    <script type="speculationrules">
    {
    "prerender": [
    {
    "source": "document",
    "where": {
    "and": [
    {
    "href_matches": "/*"
    },
    {
    "not": {
    "href_matches": [
    "/wp-*.php",
    "/wp-admin/*",
    "/wp-content/uploads/*",
    "/wp-content/*",
    "/wp-content/plugins/*",
    "/wp-content/themes/twentytwentyfive/*",
    "/*\\?(.+)"
    ]
    }
    },
    {
    "not": {
    "selector_matches": "a[rel~=\"nofollow\"]"
    }
    },
    {
    "not": {
    "selector_matches": ".no-prerender, .no-prerender a"
    }
    },
    {
    "not": {
    "selector_matches": ".no-prefetch, .no-prefetch a"
    }
    }
    ]
    },
    "eagerness": "moderate"
    }
    ]
    }
    </script>

    You’re saying that Search may discover what look like URLs inside of the SCRIPT tag and try to crawl them (e.g. /wp-content/themes/twentytwentyfive/*) even though they aren’t explicitly links? That’s surprising.

    @karpstrucking As opposed to using the should_load_separate_core_block_assets filter, I suggest instead using the ​Load Combined Core Block Assets plugin to do the same. This will allow you to easily turn off the workaround when the issue is fixed, and be able to test the fix in core before turning deactivating the plugin.

    Additionally, it would be helpful to have details about how your theme is constructed to facilitate reproducing the issue.

    @karpstrucking I cannot reproduce the issue you’re describing. I put together a test plugin which does the same as you showed:

    add_action(
    'wp_footer',
    static function () {
    if ( is_front_page() ) {
    wp_enqueue_style('enqueued-at-wp-footer', plugins_url( 'enqueued-at-wp-footer.css', __FILE__ ) );
    }
    }
    );

    The enqueued CSS file enqueued-at-wp-footer.css is as follows:

    body:after {
    content: "Stylesheet successfully enqueued at wp_footer!";
    background: lime;
    padding: 1em;
    position: fixed;
    bottom: 0;
    right: 0;
    }

    On the front page, I successfully see the lime green message coming from the stylesheet:

    Stylesheet successfully enqueued at wp_footer!

    I also see the stylesheet appearing in the HEAD as expected due to the hoisting in WP 6.9:

    <link rel="stylesheet" id="enqueued-at-wp-footer-css" href=".../wp-content/plugins/enqueue-styles-at-wp-footer/enqueued-at-wp-footer.css?ver=6.9" media="all">

    You can try it on Playground.

    • This reply was modified 3 months, 3 weeks ago by Weston Ruter.
    Plugin Author Weston Ruter

    (@westonruter)

    I replied to your support topic.

    Plugin Author Weston Ruter

    (@westonruter)

    I’m looking at the first example: https://locksmithunit.es/cerrajero-santa-coloma/

    I can see there are quite a few IMG tags that have the data-od-unknown-tag attribute. This indicates that there haven’t been URL Metrics collected for that URL. In looking at the HTML source, it seems there is corruption. For example, look at this malformed HTML:

    <div class="modal-dialog" style="max-width: 450px;" "="">

    It seems you have some HTML minification that is corrupting the markup, or you have some malformed markup to begin with. This seems to be preventing Optimization Detective from being able to collect URL Metrics.

Viewing 15 replies - 31 through 45 (of 5,056 total)