l3l3
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] 29 scripts from wp-includes/dist cannot be found 404btw.: a fix is on the way (see github):
https://github.com/woocommerce/woocommerce-blocks/pull/7211Forum: Plugins
In reply to: [WooCommerce] 29 scripts from wp-includes/dist cannot be found 404or shorter (one-line)
$urls = array_merge( $urls, array_map( function( $src ) { return array( 'href' => ( !array_key_exists( 'host', parse_url( $src ) ) ? site_url() : '' ) . $src, 'as' => 'script', ); }, array_unique( array_filter( $resources ) ) ) );
Forum: Plugins
In reply to: [WooCommerce] 29 scripts from wp-includes/dist cannot be found 404@timholz
okay you are using php7here:
$urls = array_merge( $urls, array_map( function( $src ) { $url = parse_url( $src ); $href = ( !array_key_exists( 'host', $url ) ? site_url() : '' ) . $src; return array( 'href' => $href, 'as' => 'script', ); }, array_unique( array_filter( $resources ) ) ) );
Forum: Plugins
In reply to: [WooCommerce] 29 scripts from wp-includes/dist cannot be found 404here is a quick fix (404 gone)
WooCommerce (Version 6.9.3)file:
[…]/plugins/woocommerce/packages/woocommerce-blocks/src/AssetsController.phpline 118
change:
'href' => $src,
to:
'href' => ( null === parse_url( $src )['host'] ? site_url() : '' ) . $src,
full array_merge block
$urls = array_merge( $urls, array_map( function( $src ) { return array( 'href' => ( null === parse_url( $src )['host'] ? site_url() : '' ) . $src, 'as' => 'script', ); }, array_unique( array_filter( $resources ) ) ) );
Forum: Plugins
In reply to: [WooCommerce] 29 scripts from wp-includes/dist cannot be found 404Problems are the prefetch link tags
in my case they are ?pointing“ to to wrong locatione.g.:
<link href="/wp-includes/js/dist/vendor/lodash.min.js?ver=4.17.19" as="script" rel="prefetch">
should be –>
<link href="/wp/wp-includes/js/dist/vendor/lodash.min.js?ver=4.17.19" as="script" rel="prefetch">
WP_SITEURL should be used (for these links) instead of WP_HOME
hint:
WP_SITEURL or site_url() (see: “WordPress-Address (URL)” in General > Settings)
WP_HOME or home_url() (see: “Website-Address (URL)” in General > Settings)on some installations WP_SITEURL !== WP_HOME
Forum: Themes and Templates
In reply to: [Blocksy] product quick-view modal issue (fix included)?
Forum: Themes and Templates
In reply to: [Blocksy] mobile sticky header broken (apple ios <= 14.4)@creativethemeshq thank you!!!
Forum: Themes and Templates
In reply to: [Blocksy] mobile sticky header broken (apple ios <= 14.4)same here:
[class * ="ct-toggle-close"] { top: var(--toggle-button-top, initial); /*inset-inline-end: var(--toggle-button-inset-end, 0);*/ /*---> use this: */ right: var(--toggle-button-inset-end, 0); --icon-size: 12px; --icon-color: rgba(255, 255, 255, 0.7) }
and so on …
aren’t you using a build tool which utilizes the browserlist??
“last 4 versions” (~93% coverage) or “last 2 years”
see browserslist dot dev- This reply was modified 2 years, 11 months ago by l3l3.
Forum: Plugins
In reply to: [Blocksy Companion] sticky-header issue (if the browser size is changed)!okay, here is my quick-fix
// let view, currentView; let resize = (e) => { // currentView = ctFrontend.getCurrentScreen(); // if (view === currentView) return; ctEvents.trigger('ct:header:update'); // view = currentView; }; if ('undefined' !== typeof ctEvents && ctEvents.trigger) { window.addEventListener("resize", resize, !1); window.addEventListener("orientationchange", resize, !1); resize(); }
here is the login-form form the woocommerce-account page (without span, lable, p,…)
<form class="woocommerce-form woocommerce-form-login login" method="post"> <input type="text" class="woocommerce-Input woocommerce-Input--text input-text" name="username" id="username" autocomplete="username" value=""> <input class="woocommerce-Input woocommerce-Input--text input-text" type="password" name="password" id="password" autocomplete="current-password"> <input class="woocommerce-form__input woocommerce-form__input-checkbox" name="rememberme" type="checkbox" id="rememberme" value="forever"> <input type="hidden" id="woocommerce-login-nonce" name="woocommerce-login-nonce" value="b0918731ba"> <input type="hidden" name="_wp_http_referer" value="/my-account/"> <button type="submit" class="woocommerce-button button woocommerce-form-login__submit" name="login" value="Anmelden">Login</button> </form>
- This reply was modified 3 years ago by l3l3.
epic, thx!!
Forum: Themes and Templates
In reply to: [Blocksy] disable transitions (.ct-disable-transitions) issueokay fixed!
theme version used: 1.8.6.2 –> now: 1.8.6.5sorry my fault ??
Forum: Themes and Templates
In reply to: [Blocksy] disable transitions (.ct-disable-transitions) issuebtw: i now use the class .entry-card on my sliding element, and everything works as expected.
but it’s not a good idea to use this class (.entry-card), as future CSS-updates to this class might break everything …