steadi22
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Blocksy] WooCommerce issues after updateEdit and update my previous message:
Until Yesterday I had WooCommerce 5.0 version.
Then I upgraded to 5.1, and then after some hours to 5.2.After some verifies, emails didn’t arrive when WooCommerce was at 5.1 version, but now with 5.2 version emails seem to arrive.
Now I will further check but emails issue seems to be solved.Forum: Themes and Templates
In reply to: [Blocksy] Modifies on parent themeHello, I tried what you said me.
First, I activated child theme. Then I used CUSTOMIZER EXPORT/IMPORT plugin
https://www.ads-software.com/plugins/customizer-export-import/
following the steps to export customizations and import them to child theme.Many of the costumizations however, I have to do it manually (color palettes, symbols etc.).
This is my blocksy-child functions.php file: from line 10 I copied the “blocksy parent theme” functions.php file.
But in this way the website goes down and I visualize CRITICAL ERROR ON YOUR WORDPRESS SITE. How can I do?<?php if (! defined('WP_DEBUG')) { die( 'Direct access forbidden.' ); } add_action( 'wp_enqueue_scripts', function () { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }); add_action( 'wp_enqueue_scripts', function () { wp_enqueue_style('blocksy-child-style', get_stylesheet_uri()); /** * Blocksy functions and definitions * * @link https://developer.www.ads-software.com/themes/basics/theme-functions/ * * @package Blocksy */ // Remove the product description Title add_filter( 'woocommerce_product_description_heading', '__return_null' ); if ( version_compare( PHP_VERSION, '5.7.0', '<' ) ) { require get_template_directory() . '/inc/php-fallback.php'; return; } require get_template_directory() . '/inc/init.php'; /** * Change text strings * * @link https://codex.www.ads-software.com/Plugin_API/Filter_Reference/gettext */ function my_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Prev' : $translated_text = __( 'precedente', 'woocommerce' ); break; case 'Next' : $translated_text = __( 'successivo', 'woocommerce' ); break; case 'out of stock' : $translated_text = __( 'esaurito', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'my_text_strings', 20, 3 ); add_action( 'woocommerce_checkout_process', 'wpspecial_imposta_ordine_minimo_importo' ); add_action( 'woocommerce_before_cart' , 'wpspecial_imposta_ordine_minimo_importo' ); add_action( 'woocommerce_before_checkout_form', 'wpspecial_imposta_ordine_minimo_importo' ); function wpspecial_imposta_ordine_minimo_importo() { // Specifica l'importo minimo per l'acquisto $minimo_acquisto = 20; if ( WC()->cart->total < $minimo_acquisto ) { if( is_cart() ) { wc_print_notice( sprintf( 'Devi effettuare un acquisto minimo di %s per completare un ordine, attualmente il tuo ordine è di %s.' , wc_price( $minimo_acquisto ), wc_price( WC()->cart->total ) ), 'error' ); } else { wc_add_notice( sprintf( 'Devi effettuare un acquisto minimo di %s per completare un ordine, attualmente il tuo ordine è di %s.' , wc_price( $minimo_acquisto ), wc_price( WC()->cart->total ) ), 'error' ); } } } add_filter('blocksy-child:breadcrumbs:items-array', function ($items) { if (get_post_type() === 'mod_services') { $items = array_merge( array_slice($items, 0, 1), // Add services after Home item [ [ 'name' => 'Services', 'url' => home_url('/services') ] ], array_slice($items, 1) ); } return $items; });
Forum: Themes and Templates
In reply to: [Blocksy] breadcrumb “home” URL link changeHello again, searching in your support topics, i found this post:
https://www.ads-software.com/support/topic/breadcrumbs-are-not-displayed/I think maybe this filter could help me
blocksy:breadcrumbs:items-array
but i added it in functions.php without success at the moment.I would appreciate if you can take a look to the website. This is the shop page
https://www.abipastificioartigianale.it/prodotti/RAVIOLI and ORECCHIETTE are two categories;
for example, clicking on RAVIOLI you will arrive to subcategories page (CARNE / PESCE / VEGETARIANI….) but breadcrumbies are now showing only home page, and current page (RAVIOLI), but not previous page, which is the shop page.Same thing going under subcategories page and finally to product page.
Maybe there is some conflict with permalinks structure?
I can still change it, as the website is going online only today in the next few hours..Could you help me indicating exactly where I have to add the filter and which are the variables of URLS to insert in?
Many thanks for the support.
- This reply was modified 4 years ago by steadi22.
Forum: Themes and Templates
In reply to: [Blocksy] breadcrumb “home” URL link changemany thanks for your answer.
in alternative to change Home Page Link, how can I do to make appear SHOP link after it, and before categories?Maybe it’s an issue due to permalinks to respect in woocommerce / categories?
thanks
- This reply was modified 4 years ago by steadi22.
yes. I did in the way you suggested
many thanks
Forum: Themes and Templates
In reply to: [Blocksy] Cart icon in tablet/mobile modeOops, I didn’t see the mobile header tab, down in the builder…
Now It’s done. thank you very much!!Forum: Themes and Templates
In reply to: [Blocksy] Business sample theme animationThat’s right!
I re-installed child theme using Gutenberg (instead of Brizy) and now it’s working.
Many thanks.@adambadura
sorry for the delay of my answer but your reply was very interesting to give a workaround for this, especially in pont 2.
thanksYes, photos from a single album.
I tried but doesn’t work and appears this:! Failed to get data. Error:
Invalid album ID.thanks for your answer, I tried to do this test.
I have a little difficulty because Google Photos Albums I need to use for the website (and which I configured the plugin for) are belonging to a Google Account (“A”) I can’t access in every moment to do tests.But I tried your suggestion in reverse, applying it to MY Google Account (“B”), searching for a shared album that “A” shared to me.
And here what it’s seems to happen:
1) with the first link I see the list of all MY albums (account “B”), created by me and shared by me to other people;
2) with the second link I see the list of albums created by account “A” (and other various Google Accounts) and shared with me (account “B”).this is one of the strings:
“id”: “ALta0sorZMV_CvnWE7……….”,
“title”: “name of the album “,
“productUrl”: “https://photos.google.com/lr/album/ALta0sorZMV_CvnWE7kThF5CsrVw-vxkZbe2a-l………w”,
“mediaItemsCount”: “80”,
“coverPhotoBaseUrl”: “https://lh3.googleusercontent.com/lr/AGWb-e6ZpftBdIZ68te85yTYJGufU9tpVapZ-N5fH4PWxUa5rj-31G2JZoY0N4HLiVFK42Iv5pyAnaQwhcEgHQcjUljF–ulY5gMV8KuDfVoKOvzCxuulnLAUIx__SeoDmw9AAsAp4YmPPNzaI5U7lBMHmh_zY0eVUUVqYTQ0YYCd8o1huRgpgFiTD7MasEA4Gzub3XPcYtqnW_P9-ixh-K-0IjDig2JsxHDuk4Bxf0HBuFWIdX6MH6w22jpsF94OmXUuBrrDIQPUu9_t-HcboQlqn5WqIej5ZNdRHW9mFvy1FRq9J_8qW2dkndFNK8i_Snkg3B1wQs_6hnUx0y5DavF6HFvSBeALfEIx9wUJ4jKOL……c”,
“coverPhotoMediaItemId”: “ALta0sqs3iCB8KmJc57Laz3uIv…….”Hoping this will help.
Thanks and many congratulations for the plugin!!
Forum: Plugins
In reply to: [Zero Spam for WordPress] Breaks site w/ PHP version 7.3 !Sorry which PHP version did you have before, with plugin working? 7.2?
ThanksYes. But not only this one.
Also every ngg insert in every post like
https://www.scuolainfanziavarmo.it/pane-fatto-a-scuola-i-r-c/Every time it displayed “no images were found”, although in wp-content/gallery there were all galleries and photos, and in ngg settings new galleries were automatically located in the same position.
website is:
https://www.scuolainfanziavarmo.it
if you want to check.after a lot of tryings, I restored a full backup without upgrading to v.3 plugin.
Forum: Themes and Templates
In reply to: [Bento] visualization of images issue after upgrademany thanks for your kind support! now it’s all OK
Forum: Themes and Templates
In reply to: [Bento] visualization of images issue after upgradehello Andrii,
I sent you an email because your first suggestion was not resolutive… thanks