Risultati della ricerca per 'Wordpress theme code'

Stai vedendo 15 risultati - da 16 a 30 (di 407 totali)
  • Ciao @ivanisevic82 ,

    In questi giorni mi sto cimentando nella realizzazione del mio primo tema.

    Progettare e scrivere un tema per WP non è un lavoro semplice, in particolare per chi si è da poco avvicinato al ‘mondo’ WP.

    Ci sono molti tutorial in rete, questo è quello ufficiale:
    https://codex.wordpress.org/Theme_Development

    Personalmente non ho mai scritto un tema per WP quindi le mie possibilità di aiuto si fermano qui.

    Un saluto.

    • Quando il cliente cerca di finalizzare il pagamento attraverso carta di credito, quindi dopo aver inserito tutti i dati gi appare questo messaggio che gli impedisce di proseguire con l’acquisto bloccando l’operazione.
      Questo è il messaggio che appare:
      “ITEM_TOTAL_MISMATCH Should equal sum of (unit_amount*quantity) across all items for a given purcase_unit.”

      Questo è il report di sistema del sito`
      ### WordPress Environment ###

      WordPress address (URL): https://www.ciminadolciaria.com
      Site address (URL): https://www.ciminadolciaria.com
      WC Version: 6.6.1
      REST API Version: ✔ 6.6.1
      WC Blocks Version: ✔ 7.6.2
      Action Scheduler Version: ✔ 3.4.0
      Log Directory Writable: ✔
      WP Version: ❌ 5.9.3 – È disponibile una versione più recente di WordPress (6.0.1)
      WP Multisite: –
      WP Memory Limit: 1 GB
      WP Debug Mode: –
      WP Cron: ✔
      Language: it_IT
      External object cache: –

      ### Server Environment ###

      Server Info: Apache
      PHP Version: 7.4.30
      PHP Post Max Size: 150 MB
      PHP Time Limit: 300
      PHP Max Input Vars: 12000
      cURL Version: 7.83.1
      OpenSSL/1.1.1o

      SUHOSIN Installed: –
      MySQL Version: 5.7.38-log
      Max Upload Size: 150 MB
      Default Timezone is UTC: ✔
      fsockopen/cURL: ✔
      SoapClient: ✔
      DOMDocument: ✔
      GZip: ✔
      Multibyte String: ✔
      Remote Post: ✔
      Remote Get: ✔

      ### Database ###

      WC Database Version: 6.6.1
      WC Database Prefix: wp_
      Dimensione totale database: 58.88MB
      Dimensione dati database: 47.10MB
      Dimensione indice database: 11.78MB
      wp_woocommerce_sessions: Dati: 0.09MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_woocommerce_order_items: Dati: 0.17MB + indice: 0.08MB + motore InnoDB
      wp_woocommerce_order_itemmeta: Dati: 1.52MB + indice: 1.92MB + motore InnoDB
      wp_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_actionscheduler_actions: Dati: 1.02MB + indice: 0.16MB + motore InnoDB
      wp_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_actionscheduler_logs: Dati: 0.52MB + indice: 0.42MB + motore InnoDB
      wp_aioseo_cache: Dati: 0.16MB + indice: 0.03MB + motore InnoDB
      wp_aioseo_notifications: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_aioseo_posts: Dati: 0.09MB + indice: 0.02MB + motore InnoDB
      wp_cmplz_cookiebanners: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_cmplz_cookies: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_cmplz_dnsmpd: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_cmplz_services: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_cmplz_statistics: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_comments: Dati: 0.16MB + indice: 0.09MB + motore InnoDB
      wp_e_events: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_options: Dati: 6.22MB + indice: 0.16MB + motore InnoDB
      wp_postmeta: Dati: 9.52MB + indice: 4.03MB + motore InnoDB
      wp_posts: Dati: 2.52MB + indice: 0.33MB + motore InnoDB
      wp_revslider_css: Dati: 0.13MB + indice: 0.00MB + motore InnoDB
      wp_revslider_css_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_layer_animations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_layer_animations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_navigations: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_navigations_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_sliders: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_sliders_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_slides: Dati: 0.11MB + indice: 0.00MB + motore InnoDB
      wp_revslider_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_static_slides: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_revslider_static_slides_bkp: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_sbi_feeds: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_sbi_feed_caches: Dati: 0.14MB + indice: 0.02MB + motore InnoDB
      wp_sbi_instagram_feeds_posts: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_sbi_instagram_feed_locator: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_sbi_instagram_posts: Dati: 0.11MB + indice: 0.00MB + motore InnoDB
      wp_sbi_sources: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_termmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_terms: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_term_relationships: Dati: 0.06MB + indice: 0.02MB + motore InnoDB
      wp_term_taxonomy: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_usermeta: Dati: 1.52MB + indice: 2.02MB + motore InnoDB
      wp_users: Dati: 0.08MB + indice: 0.05MB + motore InnoDB
      wp_wcpdf_invoice_number: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wcpdf_packing_slip_number: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wc_admin_notes: Dati: 0.08MB + indice: 0.00MB + motore InnoDB
      wp_wc_admin_note_actions: Dati: 0.05MB + indice: 0.02MB + motore InnoDB
      wp_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wc_customer_lookup: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
      wp_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_order_product_lookup: Dati: 0.16MB + indice: 0.19MB + motore InnoDB
      wp_wc_order_stats: Dati: 0.06MB + indice: 0.05MB + motore InnoDB
      wp_wc_order_tax_lookup: Dati: 0.06MB + indice: 0.03MB + motore InnoDB
      wp_wc_product_attributes_lookup: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_product_download_directories: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_product_meta_lookup: Dati: 0.06MB + indice: 0.09MB + motore InnoDB
      wp_wc_rate_limits: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wfblockediplog: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wfblocks7: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_wfconfig: Dati: 0.48MB + indice: 0.00MB + motore InnoDB
      wp_wfcrawlers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wffilechanges: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wffilemods: Dati: 11.52MB + indice: 0.00MB + motore InnoDB
      wp_wfhits: Dati: 1.33MB + indice: 0.09MB + motore InnoDB
      wp_wfhoover: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wfissues: Dati: 0.06MB + indice: 0.06MB + motore InnoDB
      wp_wfknownfilelist: Dati: 5.52MB + indice: 0.00MB + motore InnoDB
      wp_wflivetraffichuman: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wflocs: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wflogins: Dati: 0.28MB + indice: 0.13MB + motore InnoDB
      wp_wfls_2fa_secrets: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wfls_settings: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wfnotifications: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wfpendingissues: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_wfreversecache: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wfsnipcache: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_wfstatus: Dati: 0.13MB + indice: 0.11MB + motore InnoDB
      wp_wftrafficrates: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpfm_backup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_yith_wcwl: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_yith_wcwl_lists: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_yoast_indexable: Dati: 1.50MB + indice: 0.27MB + motore InnoDB
      wp_yoast_indexable_hierarchy: Dati: 0.06MB + indice: 0.05MB + motore InnoDB
      wp_yoast_migrations: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_yoast_primary_term: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_yoast_seo_links: Dati: 0.17MB + indice: 0.14MB + motore InnoDB

      ### Post Type Counts ###

      attachment: 309
      custom_css: 1
      dflip: 3
      elementor_font: 1
      elementor_icons: 1
      elementor_library: 4
      mc4wp-form: 1
      nav_menu_item: 146
      oembed_cache: 1
      ovic_footer: 1
      ovic_menu: 6
      page: 23
      post: 1
      product: 140
      product_variation: 44
      revision: 373
      shop_coupon: 5
      shop_order: 323
      shop_order_refund: 1
      viwec_template: 15
      wpcf7_contact_form: 4
      wp_global_styles: 1

      ### Security ###

      Secure connection (HTTPS): ✔
      Hide errors from visitors: ✔

      ### Active Plugins (32) ###

      3D FlipBook : Dflip Lite: by DearHive – 1.7.31
      FiboSearch – AJAX Search for WooCommerce: by FiboSearch Team – 1.18.1
      Akismet Anti-Spam: by Automattic – 4.2.4
      Click to Chat: by HoliThemes – 3.9.10
      Complianz Privacy Suite (GDPR/CCPA) premium: by Really Simple Plugins – 6.2.4
      Contact Form 7: by Takayuki Miyoshi – 5.6
      Elementor Pro: by Elementor.com – 3.1.0
      Elementor: by Elementor.com – 3.6.7
      Email Template Customizer for WooCommerce: by VillaTheme – 1.1.10
      Smash Balloon Instagram Feed: by Smash Balloon – 6.0.6
      Jetpack: by Automattic – 11.1
      Loco Translate: by Tim Whitlock – 2.6.2
      Ovic Addon Toolkit: by Ovic Team – 2.5.5
      Ovic: Import Demo: by Ovic Team – 1.5.9
      Ovic: Product Bundle: by Ovic Team – 1.1.1
      PW WooCommerce Bulk Edit: by Pimwick
      LLC – 2.103

      Slider Revolution: by ThemePunch – 6.2.23
      WooCommerce Smart COD: by woosmartcod.com – 1.6.1
      WebP Express: by Bjørn Rosell – 0.25.5
      Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.1
      Variation Swatches for WooCommerce: by RadiusTheme – 2.1.1.8
      WooCommerce Satispay: by Satispay – 2.0.0
      WooCommerce PayPal Payments: by WooCommerce – 1.9.0
      WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 3.0.0
      WooCommerce: by Automattic – 6.6.1 (aggiornamento alla versione 6.7.0 disponibile)
      Wordfence Security: by Wordfence – 7.5.11
      Yoast SEO: by Team Yoast – 19.2
      WP Fastest Cache: by Emre Vona – 1.0.2
      Gestore di file WP: by mndpsingh287 – 7.1.6
      YITH WooCommerce Compare: by YITH – 2.15.0
      YITH WooCommerce Quick View: by YITH – 1.17.0
      YITH WooCommerce Wishlist: by YITH – 3.10.0

      ### Inactive Plugins (0) ###

      ### Must Use Plugins (1) ###

      WordPress automation by Installatron: by –

      ### Settings ###

      API Enabled: ✔
      Force SSL: –
      Currency: EUR (€)
      Currency Position: left
      Thousand Separator: ,
      Decimal Separator: .
      Number of Decimals: 2
      Taxonomies: Product Types: external (external)
      grouped (grouped)
      simple (simple)
      variable (variable)

      Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
      exclude-from-search (exclude-from-search)
      featured (featured)
      outofstock (outofstock)
      rated-1 (rated-1)
      rated-2 (rated-2)
      rated-3 (rated-3)
      rated-4 (rated-4)
      rated-5 (rated-5)

      Connected to WooCommerce.com: –
      Enforce Approved Product Download Directories: –

      ### WC Pages ###

      Shop base: #11278 – /shop/
      Carrello: #11279 – /cart/
      Pagamento: #11280 – /checkout/
      Il mio account: #11 – /my-account/
      Termini e condizioni: ❌ La pagina non è impostata

      ### Theme ###

      Name: Armania Child
      Version: 1.1.5.1601989261
      Author URL: https://kutethemes.com/
      Child Theme: ✔
      Parent Theme Name: Armania
      Parent Theme Version: 1.2.2
      Parent Theme Author URL: https://kutethemes.com/
      WooCommerce Support: ✔

      ### Templates ###

      Overrides: armania/woocommerce/cart/cross-sells.php
      armania/woocommerce/content-product.php
      armania/woocommerce/content-single-product.php
      armania/woocommerce/global/quantity-input.php
      armania/woocommerce/global/wrapper-end.php
      armania/woocommerce/global/wrapper-start.php
      armania/woocommerce/loop/add-to-cart.php
      armania/woocommerce/loop/loop-end.php
      armania/woocommerce/loop/loop-start.php
      armania/woocommerce/loop/pagination.php
      armania/woocommerce/loop/sale-flash.php
      armania/woocommerce/single-product/meta.php
      armania/woocommerce/single-product/related.php
      armania/woocommerce/single-product/stock.php
      armania/woocommerce/single-product/tabs/tabs.php
      armania/woocommerce/single-product/up-sells.php

      ### WooCommerce PayPal Payments ###

      Onboarded: ✔
      Shop country code: IT
      WooCommerce currency supported: ✔
      PayPal card processing available in country: ✔
      Pay Later messaging available in country: ✔
      Webhook status: –
      Vault enabled: ✔
      Logging enabled: –
      Reference Transactions: –
      Used PayPal Checkout plugin: ✔

      ### Admin ###

      Enabled Features: activity-panels
      analytics
      coupons
      customer-effort-score-tracks
      experimental-products-task
      experimental-import-products-task
      experimental-fashion-sample-products
      homescreen
      marketing
      mobile-app-banner
      navigation
      onboarding
      onboarding-tasks
      remote-inbox-notifications
      remote-free-extensions
      payment-gateway-suggestions
      shipping-label-banner
      subscriptions
      store-alerts
      transient-notices
      wc-pay-promotion
      wc-pay-welcome-page
      wc-pay-subscriptions-page

      Disabled Features: minified-js
      settings

      Daily Cron: ✔ Next scheduled: 2022-07-15 12:41:38 +00:00
      Options: ✔
      Notes: 93
      Onboarding: completed

      ### Action Scheduler ###

      Completato: 261
      Oldest: 2022-06-14 07:43:52 +0000
      Newest: 2022-07-14 12:40:40 +0000

      In attesa: 1
      Oldest: 2022-07-15 10:15:32 +0000
      Newest: 2022-07-15 10:15:32 +0000

      ### Status report information ###

      Generated at: 2022-07-14 13:31:08 +00:00
      `

    Forum: Varie ed eventuali
    In risposta a: Dashboard bloccata
    Moderator Cristiano Zanca

    (@cristianozanca)

    Salve @azzurrap ,

    Prima di fare ogni modifica al sito fare sempre un
    BACKUP

    Il consiglio è di entrare via FTP nella cartella temi della propria installazione di WordPress

    wp-content/themes

    e rinominare il nome della cartella che ha causato il problema (miotema => miotema_off).

    Si dovrebbe così attivare il tema di default e quindi potrebbe essere possibile riaccedere alla dashboard

    Aggiornaci

    • salve, ho appena installato wordpress su xampp (entrambi all’ ultima versione) e ho creato un template con [ Rimosso perchè prodotto commerciale] e mi da quest’ errore:

      Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in C:\xampp\htdocs\wp-includes\class-wp-widget-factory.php on line 61 and at least 2 expected in C:\xampp\htdocs\wp-includes\class-wp-widget.php:162 Stack trace: #0 C:\xampp\htdocs\wp-includes\class-wp-widget-factory.php(61): WP_Widget->__construct() #1 C:\xampp\htdocs\wp-includes\widgets.php(115): WP_Widget_Factory->register('VMenuWidget') #2 C:\xampp\htdocs\wp-content\themes\tuttotechit\library\widgets.php(255): register_widget('VMenuWidget') #3 C:\xampp\htdocs\wp-includes\class-wp-hook.php(307): artWidgetsInit('') #4 C:\xampp\htdocs\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #5 C:\xampp\htdocs\wp-includes\plugin.php(474): WP_Hook->do_action(Array) #6 C:\xampp\htdocs\wp-includes\widgets.php(1854): do_action('widgets_init') #7 C:\xampp\htdocs\wp-includes\class-wp-hook.php(307): wp_widgets_init('') #8 C:\xampp\htdocs\wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #9 C:\xampp\htdocs\wp-includes\plugin.php(474): WP_Hook->do_action(Array) #10 C:\xampp\htdocs\wp-settings.php(587): do_action('init') #11 C:\xampp\htdocs\wp-config.php(90): require_once('C:\\xampp\\htdocs...') #12 C:\xampp\htdocs\wp-load.php(50): require_once('C:\\xampp\\htdocs...') #13 C:\xampp\htdocs\wp-blog-header.php(13): require_once('C:\\xampp\\htdocs...') #14 C:\xampp\htdocs\index.php(17): require('C:\\xampp\\htdocs...') #15 {main} thrown in C:\xampp\htdocs\wp-includes\class-wp-widget.php on line 162

      come posso aggiustarlo? ho cercato su google e sul forum ma in vano.

    • Hello,
      I’m trying to figure out with the Home and the customer pages only of Woocommerce when clicked are loading and then blank content.

      I’ve my website fully updated, and as recommended I started disabling all plugins, switching back to the Twenty-twenty themes but nothing change. Even after relading the page without cache ( CTRL + SHIFT + R ).

      I had a look with F12 and I see the following problems:

      1) First error, related to the file path just below.
      Failed to load resource: the server responded with a status of 404 ()
      https://adamahstore.com/wp-content/plugins/woocommerce/packages/woocommerce-admin/dist/components/index.js?ver=3.2.1

      2) Second erro, related to the files linked here: https://adamahstore.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1

      TypeError: Cannot read properties of undefined (reading 'Spinner')
          at ne.render (index.js?ver=3.2.1:2:17797)
          at Te (react-dom.min.js?ver=17.0.1:119:308)
          at Ch (react-dom.min.js?ver=17.0.1:119:105)
          at Pj (react-dom.min.js?ver=17.0.1:233:139)
          at di (react-dom.min.js?ver=17.0.1:168:305)
          at Nj (react-dom.min.js?ver=17.0.1:168:236)
          at sc (react-dom.min.js?ver=17.0.1:168:96)
          at gf (react-dom.min.js?ver=17.0.1:162:109)
          at Pa (react-dom.min.js?ver=17.0.1:157:184)
          at yd (react-dom.min.js?ver=17.0.1:188:476)

      This below the system status report of WC:

      
      ### WordPress Environment ###
      
      WordPress address (URL): https://adamahstore.com
      Site address (URL): https://adamahstore.com
      WC Version: 6.3.1
      REST API Version: ✔ 6.3.1
      WC Blocks Version: ✔ 6.9.0
      Action Scheduler Version: ✔ 3.4.0
      WC Admin Version: ✔ 3.2.1
      Log Directory Writable: ✔
      WP Version: 5.9.3
      WP Multisite: –
      WP Memory Limit: 1 GB
      WP Debug Mode: –
      WP Cron: ✔
      Language: it_IT
      External object cache: –
      
      ### Server Environment ###
      
      Server Info: Apache
      PHP Version: 8.0.17
      PHP Post Max Size: 150 MB
      PHP Time Limit: 180
      PHP Max Input Vars: 12000
      cURL Version: 7.81.0
      OpenSSL/1.1.1n
      
      SUHOSIN Installed: –
      MySQL Version: 8.0.28
      Max Upload Size: 150 MB
      Default Timezone is UTC: ✔
      fsockopen/cURL: ✔
      SoapClient: ✔
      DOMDocument: ✔
      GZip: ✔
      Multibyte String: ✔
      Remote Post: ✔
      Remote Get: ✔
      
      ### Database ###
      
      WC Database Version: 6.3.1
      WC Database Prefix: wp_
      Dimensione totale database: 20.98MB
      Dimensione dati database: 17.16MB
      Dimensione indice database: 3.82MB
      wp_woocommerce_sessions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_api_keys: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_attribute_taxonomies: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_downloadable_product_permissions: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_woocommerce_order_items: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_order_itemmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_tax_rates: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_woocommerce_tax_rate_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_shipping_zones: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_woocommerce_shipping_zone_locations: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_shipping_zone_methods: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_woocommerce_payment_tokens: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woocommerce_payment_tokenmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_woocommerce_log: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_actionscheduler_actions: Dati: 0.16MB + indice: 0.16MB + motore InnoDB
      wp_actionscheduler_claims: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_actionscheduler_groups: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_actionscheduler_logs: Dati: 0.09MB + indice: 0.09MB + motore InnoDB
      wp_commentmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_comments: Dati: 0.02MB + indice: 0.09MB + motore InnoDB
      wp_e_events: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_e_submissions: Dati: 0.02MB + indice: 0.23MB + motore InnoDB
      wp_e_submissions_actions_log: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_e_submissions_values: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_gla_budget_recommendations: Dati: 0.22MB + indice: 0.14MB + motore InnoDB
      wp_gla_merchant_issues: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_gla_shipping_rates: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_gla_shipping_times: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_links: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_custom_fields: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_dynamic_segment_filters: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_feature_flags: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_forms: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_mailpoet_log: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_mailpoet_mapping_to_external_entities: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_newsletter_links: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_mailpoet_newsletter_option: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_newsletter_option_fields: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_newsletter_posts: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_newsletter_segment: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_newsletter_templates: Dati: 2.52MB + indice: 0.00MB + motore InnoDB
      wp_mailpoet_newsletters: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_scheduled_task_subscribers: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_scheduled_tasks: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_segments: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_sending_queues: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_settings: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_statistics_bounces: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_mailpoet_statistics_clicks: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_mailpoet_statistics_forms: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_statistics_newsletters: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_statistics_opens: Dati: 0.02MB + indice: 0.08MB + motore InnoDB
      wp_mailpoet_statistics_unsubscribes: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_mailpoet_statistics_woocommerce_purchases: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_mailpoet_stats_notifications: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_subscriber_custom_field: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_subscriber_ips: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_subscriber_segment: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_mailpoet_subscribers: Dati: 0.02MB + indice: 0.13MB + motore InnoDB
      wp_mailpoet_user_agents: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_mailpoet_user_flags: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_nextend2_image_storage: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_nextend2_section_storage: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_nextend2_smartslider3_generators: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_nextend2_smartslider3_sliders: Dati: 0.05MB + indice: 0.03MB + motore InnoDB
      wp_nextend2_smartslider3_sliders_xref: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_nextend2_smartslider3_slides: Dati: 0.05MB + indice: 0.11MB + motore InnoDB
      wp_options: Dati: 3.09MB + indice: 0.08MB + motore InnoDB
      wp_postmeta: Dati: 5.45MB + indice: 0.42MB + motore InnoDB
      wp_posts: Dati: 3.48MB + indice: 0.22MB + motore InnoDB
      wp_term_relationships: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_term_taxonomy: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_termmeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_terms: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_usermeta: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_users: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_wc_admin_note_actions: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_admin_notes: Dati: 0.05MB + indice: 0.00MB + motore InnoDB
      wp_wc_category_lookup: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wc_customer_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_download_log: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_order_coupon_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_order_product_lookup: Dati: 0.02MB + indice: 0.06MB + motore InnoDB
      wp_wc_order_stats: Dati: 0.02MB + indice: 0.05MB + motore InnoDB
      wp_wc_order_tax_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_product_attributes_lookup: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wc_product_meta_lookup: Dati: 0.02MB + indice: 0.09MB + motore InnoDB
      wp_wc_rate_limits: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_reserved_stock: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wc_tax_rate_classes: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wc_webhooks: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_woof_query_cache: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wpf_filters: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpf_meta_keys: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wpf_meta_values: Dati: 0.02MB + indice: 0.03MB + motore InnoDB
      wp_wpf_meta_values_bk: Dati: 0.02MB + indice: 0.02MB + motore InnoDB
      wp_wpgmza: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpgmza_circles: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpgmza_maps: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpgmza_polygon: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpgmza_polylines: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpgmza_rectangles: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      wp_wpml_mails: Dati: 0.14MB + indice: 0.00MB + motore InnoDB
      wp_wpmm_subscribers: Dati: 0.02MB + indice: 0.00MB + motore InnoDB
      
      ### Post Type Counts ###
      
      attachment: 138
      custom_css: 1
      customize_changeset: 18
      elementor_icons: 2
      elementor_library: 47
      mailpoet_page: 1
      nav_menu_item: 40
      page: 18
      post: 8
      product: 43
      product_variation: 17
      revision: 604
      shop_order: 8
      wp_global_styles: 2
      yith_wcan_preset: 1
      
      ### Security ###
      
      Secure connection (HTTPS): ✔
      Hide errors from visitors: ✔
      
      ### Active Plugins (4) ###
      
      Elementor Pro: by Elementor.com – 3.6.4
      Elementor: by Elementor.com – 3.6.2
      WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
      WooCommerce: by Automattic – 6.3.1
      
      ### Inactive Plugins (14) ###
      
      Akismet Anti-Spam: by Automattic – 4.2.2
      Dynamic Visibility for Elementor: by Dynamic.ooo – 4.1.2
      Google Language Translator: by Translate AI Multilingual Solutions – 6.0.14
      Google Listings and Ads: by WooCommerce – 1.11.1
      Ibtana - WordPress Website Builder: by VowelWeb – 1.1.5
      Insert Headers and Footers: by WPBeginner – 1.6.0
      Jetpack: by Automattic – 10.7
      MailPoet 3 (New): by MailPoet – 3.84.0
      Post Slider and Carousel with Widget: by InfornWeb – 2.1.2
      Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.19
      WOOF - WooCommerce Products Filter: by realmag777 – 1.2.6.4
      WooLentor - WooCommerce Elementor Addons + Builder: by HasThemes – 2.2.4
      WP Maintenance Mode & Coming Soon: by Themeisle – 2.4.4
      WP Responsive Recent Post Slider/Carousel: by WP OnlineSupport
      Essential Plugin – 3.0.8
      
      ### Must Use Plugins (1) ###
      
      Elementor Safe Mode: by Elementor.com – 1.0.0
      
      ### Settings ###
      
      API Enabled: –
      Force SSL: –
      Currency: EUR (€)
      Currency Position: right_space
      Thousand Separator: .
      Decimal Separator: ,
      Number of Decimals: 2
      Taxonomies: Product Types: external (external)
      grouped (grouped)
      simple (simple)
      variable (variable)
      
      Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
      exclude-from-search (exclude-from-search)
      featured (featured)
      outofstock (outofstock)
      rated-1 (rated-1)
      rated-2 (rated-2)
      rated-3 (rated-3)
      rated-4 (rated-4)
      rated-5 (rated-5)
      
      Connected to WooCommerce.com: –
      
      ### WC Pages ###
      
      Shop base: #6 - /negozio/
      Carrello: #7 - /carrello/
      Pagamento: #8 - /pagamento/
      Il mio account: #9 - /mio-account/
      Termini e condizioni: #10 - /rimborso_reso/
      
      ### Theme ###
      
      Name: Twenty Twenty
      Version: 1.9
      Author URL: https://it.wordpress.org/
      Child Theme: ❌ – Se stai modificando WooCommerce o un tema genitore che non hai costruito personalmente
      ti consigliamo di utilizzare un tema child. Vedi: Come creare un tema child
      
      WooCommerce Support: ✔
      
      ### Templates ###
      
      Overrides: –
      
      ### Action Scheduler ###
      
      Completato: 424
      Oldest: 2022-03-12 10:15:32 +0100
      Newest: 2022-04-11 19:41:02 +0200
      
      In attesa: 2
      Oldest: 2022-04-11 20:01:15 +0200
      Newest: 2022-04-12 17:10:04 +0200
      
      ### Status report information ###
      
      Generated at: 2022-04-11 20:00:40 +02:00
      

      Can anyone support me?

      Many thanks!

      La pagina su cui ho bisogno di aiuto: [devi essere connesso per vedere il link]

    Ciao @kevmit,

    la stringa [box-sizes] è (o almeno sembra essere) uno shortcode. Ciò significa che deve esserci “qualcosa” che lo registra con l’apposita funzione add_shortcode di WordPress, che può essere un plugin o una funzionalità del tema.

    Analizzando la pagina che hai indicato, vedo che al click sul pulsante “Continua” viene eseguita la funzione boxWearability(). Questa funzione è definita nel file /wp-content/themes/Avada-Child-Theme/js/wearability.js e mi sembra che qui ci sia un controllo sui valori delle due select “parte superiore” e “parte inferiore”. Probabilmente puoi agire in questo punto.

    Questo file a sua volta fa una chiamata Ajax al file /wp-content/themes/Avada-Child-Theme/ajax/wearability.php. Eventualmente verifica anche questo file.

    Facci sapere se riesci a risolvere.
    Ciao!

    Chi ha creato la discussione Alberto

    (@caseuniche)

    Ciao a tutti

    EUREKA ! trovata la soluzione !

    Mancava un elemento da considerare: il tema per effettuare le ricerche non usa la WP_Query principale creata da wordpress ma ne crea una lui facendo il parsing dei parametri di richiesta direttamente dall’array php $_GET

    La soluzione: ecco il codice (la spiegazione segue):

    
    // ** advanced search slugs
    /*
    add_filter('query_vars', function($qvars){
    	$qvars[] = 'status';
    	$qvars[] = 'type';
    	return $qvars;
    }) ;
    */
    add_rewrite_rule( 'vendita/(.*)', 'index.php?pagename=search-property', 'top' ) ;	
    
    /** 
    *   FIT QUERY VARS TO $_GET ARRAY FOR USING HOMELAND ADVANCED SEARCH
    *   For advanced search some themes (as Homeland) create WP_Query directly from php $_GET array : Homeland theme do that using a filter named 'homeland_advance_search_parameters'.
    *   After apply rewrite rules, WordPress parse request from slug using filter 'query_vars' to define allowed parameters to create main WP_Query 
    * 	
    * 	So with themes using custom WP_Query object, when it rewrites slug, it must to fit to $_GET array correct values from parameters in query string 
    *	
    */
    function  cu_update_get_array_with_url_parts($atts){
    	$trimmed_url = trim(explode('?', $_SERVER['REQUEST_URI'] )[0],'/') ;
    	$url_parts = explode('/', $trimmed_url) ;
    	if( empty($_GET['status']) && !empty($url_parts[0]) ){
    		if('vendita' == $url_parts[0]) $_GET['status'] = 'for-sale' ;
    		if('affitto' == $url_parts[0]) $_GET['status'] = 'for-rent' ;
    	}
    	if(empty($_GET['type'])) $_GET['type'] = $url_parts[1];
    }
    add_filter( 'homeland_advance_search_parameters','cu_update_get_array_with_url_parts', 8);
    

    Ed ecco la spiegazione (come da breve nota nei commenti del codice)

    + poichè il tema usa una WP_query custom l’uso del filtro 'query_vars' diventa inutile, visto che filtra i parametri permessi solo per la query standar di wordpress. Per questo motivo il codice ralativo è stato rimosso

    /*
    add_filter('query_vars', function($qvars){
    	$qvars[] = 'status';
    	$qvars[] = 'type';
    	return $qvars;
    }) ;
    */

    + visto che i parametri per la WP_query custom vengono letti dal tema direttamente da$_GET (ovvero dalla url originale prima del rewrite)
    non è necessario trascriverli nella regola rewrite, quindi sono stati eliminati
    add_rewrite_rule( 'vendita/(.*)', 'index.php?pagename=search-property', 'top' )

    + visto che i parametri per la WP_query custom vengono letti dal tema direttamente da$_GET (ovvero dalla url originale prima del rewrite)
    bisogna assicurarsi che siano in $_GET prima del parsing da parte del tema.
    Ma nella nostra url originale i parametri non ci sono !
    Fortunatamente il tema mette a disposizione un filtro (che usa proprio per il parsing di $_GET) chiamato 'homeland_advance_search_parameters'
    che possiamo utilizzare per scrivere in $_GET i parametri che ci interessano

    function  cu_update_get_array_with_url_parts($atts){
    		$trimmed_url = trim(explode('?', $_SERVER['REQUEST_URI'] )[0],'/') ;
    		$url_parts = explode('/', $trimmed_url) ;
    		if( empty($_GET['status']) && !empty($url_parts[0]) ){
    			if('vendita' == $url_parts[0]) $_GET['status'] = 'for-sale' ;
    			if('affitto' == $url_parts[0]) $_GET['status'] = 'for-rent' ;
    		}
    		if(empty($_GET['type'])) $_GET['type'] = $url_parts[1];
    	}
    	add_filter( 'homeland_advance_search_parameters','cu_update_get_array_with_url_parts', 8);

    NOTA: il filtro viene aggiunto con precedenza 8 per assicurarsi che venga eseguito prima che il tema faccia il parsing.

    Ecco tutto.

    Spero che le soluzioni trovate servano o ispirino altri per risolvere i loro problemi.
    Un ringraziamento particolare ad Anrea Porotti che si è dedicato al mio problema.

    Ciao a tutti,
    Alberto

    Moderator Cristiano Zanca

    (@cristianozanca)

    Salve @userweb ,

    il consiglio è di leggere questa guida per creare un “child theme”, ovvero la personalizzazione di un tema già esistente:

    https://developer.wordpress.org/themes/advanced-topics/child-themes/

    questa è la guida per creare un tema da zero:

    https://codex.wordpress.org/Theme_Development

    Moderator Cristiano Zanca

    (@cristianozanca)

    Salve @gresio64 ,

    Prima di fare ogni modifica al sito fare un BACKUP

    successivamente il consiglio è di:

    1) creare e attivare un child theme come illustrato nella documentazione:
    https://developer.wordpress.org/themes/advanced-topics/child-themes/

    2) aggiungere nel file functions.php del child theme in uso questo codice:

    function my_myme_types($mime_types){
        $mime_types['webp'] = 'image/webp'; //Adding webp extension
        return $mime_types;
    }
    add_filter('upload_mimes', 'my_myme_types', 1, 1);

    Aggiornaci

    Ciao @bonanomi,

    l’errore più evidente è questo:
    Uncaught TypeError: $(...).live is not a function

    Il problema si può verificare a partire da WordPress 5.5 perchè da quella versione è iniziato il processo di aggiornamento di jQuery e con WordPress 5.6 è stato fatto un ulteriore passo in avanti.

    L’aggiornamento di jQuery implica il fatto che la funzione “live” sia stata deprecata, ecco perchè si presenta l’errore.

    Questa funzione di jQuery viene utilizzata alle righe 503 e 507 di questo file del tema:
    /wp-content/themes/charityhub/javascript/gdlr-script.js

    E’ quindi responsabilità dell’autore del tema adeguare il codice all’ultima versione di WordPress. Trattandosi di tema premium hai tutto il diritto di chiedere al supporto dedicato.

    Come soluzione temporanea potresti installare questo plugin:
    https://wordpress.org/plugins/enable-jquery-migrate-helper/

    Si tratta di un prodotto dello stesso Team di WordPress pensato per riabilitare le funzioni deprecate e riportare al corretto funzionamento il codice non aggiornato.
    Tieni conto tuttavia che è pensato come soluzione temporanea, per cui se decidi di usarlo contatta comunuque il supporto del tema per richiedere l’aggiornamento.

    Ciao.

    Moderator Gloria Liuni

    (@glorialchemica)

    Ciao @pizienolamitica,
    sul forum di supporto internazionale ho trovato questa risposta. https://wordpress.org/support/topic/customize-search-widget-placeholder-text/

    Aggiungi al tuo file functions.php il seguente codice:

    function wpforo_search_form( $html ) {
    
            $html = str_replace( 'placeholder="Cerca" ', 'placeholder="Scrivi qui e premi Invio"', $html );
    
            return $html;
    }
    add_filter( 'get_search_form', 'wpforo_search_form' );

    Ricorda che se lo aggiungi al tema genitore, quando lo aggiornerai questo verrà cancellato, puoi ovviare con un Child Theme oppure usando il plugin My Custom Functions.

    Facci sapere.

    • Questa risposta è stata modificata 5 anni, 5 mesi fa da Gloria Liuni.

    Ciao Lorenzo,

    per quanto riguarda la pagina di ritorno, confermo che questa va creata nella dashboard di WordPress in modo tale da avere un indirizzo di riferimento. Esempio stupido: tuosito.it/conferma-pagamento. Naturalmente questa pagina non dovrebbe essere raggiungibile manualmemte dal sito, e anzi le darei un nome un po’ meno prevedibile per evitare di arrivarci “indovinando”.

    Poi per gestire la conferma del pagamento, quindi mostrare i dati della transazione o effetturare altre operazioni, ti servirà del codice. A questo proposito, oltre alla già citata procedura che prevede la creazione del child theme e di un template file dedicato, mi sono ricordato che ci sono plugin che consentono di inserire porzioni di codice PHP o Javascript direttamente dalla dashboard di WordPress e poi di includere le stesse porzioni in pagine o articoli attraverso uno shortcode.

    E’ una via che ti consente di non dover lavorare sul tema e sul codice in modo diretto. Di questi plugin non ho esperienza recente, per cui non saprei consigliartene uno in particolare, ma ne trovi diversi qui: https://wordpress.org/plugins/search/code+snippets/

    Resta valido il consiglio di valutare anche i plugin dedicati a Paypal, che potrebbero già prevedere le funzionalità che cerchi.

    Nota banale ma è sempre bene ripeterla: prima di procedere con qualsiasi strada, accertati di avere un backup completo e funzionante.

    Buona giornata.

    La cosa più evidente che noto è che il tema sta usando le sue traduzioni, non quelle di Woocommerce.

    Se guardi la stessa riga presa dal plugin e dal tema te ne accorgi:

    Plugin: <?php esc_html_e( ‘Your order’, ‘woocommerce‘ ); ?>
    Tema: <?php esc_html_e( ‘Your order’, ‘the7mk2’ ); ?>

    Il secondo parametro della funzione esc_html_e() è il text domain, in sintesi dove andare a cercare le traduzioni. (documentazione).

    Nella seconda riga come puoi vedere il text domain non è ‘woocommerce’ ma quello del tema, per cui WordPress cercherà la traduzione di quella stringa nei file di lingua del tema.

    Se vuoi averne la certezza, potresti provare a sostituire ‘the7mk2’ con ‘woocommerce’ (fai sempre un backup prima, per sicurezza).

    Naturalmente sarebbe una soluzione non ottimale, perchè dovrebbe essere l’autore a sistemare la cosa. In alternativa, potresti creare un child theme in cui copi questi file e fai la modifica del text domain.

    Spero di essere stato comprensibile.
    Fammi sapere come va.

    • Questa risposta è stata modificata 5 anni, 7 mesi fa da Andrea Porotti.

    Ciao @nero2001,

    è probabile che si sia qualcosa da sistemare sul database.

    Il valore che hai indicato è corretto, dice in sostanza che il tuo utente ha il ruolo di Amministratore. Poi ogni ruolo ha una serie di “capabilities”, cioè le azioni che può effettivamente compiere.

    Per verificarle cerca nella tabella wp_options la riga in cui il campo option_name contiene il valore wp_user_roles e guarda il contenuto del campo option_value.

    In un WordPress nuovo appena installato dovresti vedere questo contenuto:

    a:5:{s:13:"administrator";a:2:{s:4:"name";s:13:"Administrator";s:12:"capabilities";a:61:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;s:15:"install_plugins";b:0;s:13:"update_themes";b:1;s:14:"install_themes";b:1;s:11:"update_core";b:1;s:10:"list_users";b:1;s:12:"remove_users";b:1;s:13:"promote_users";b:1;s:18:"edit_theme_options";b:1;s:13:"delete_themes";b:1;s:6:"export";b:1;}}s:6:"editor";a:2:{s:4:"name";s:6:"Editor";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:6:"Author";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:11:"Contributor";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:10:"Subscriber";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}

    Non è comodissimo da leggere, ma se guardi bene troverai i nomi di tutti i ruoli standard e le relative capabilities.

    Ognuna di queste è indicata con il nome e un valore 1/0 che indica se è abilitata.

    Partendo dall’inizio, troverai “administrator” seguito da tutte le capabilities ad esso assegnate. Prova a cercare quelle che contengono “_plugins”, ad esempio “install_plugins” e verifica che siano seguite da un 1.

    Ad esempio:

    s:15:”install_plugins”;b:0;

    In questo caso il valore boolean (b) è 0, quindi questo amministratore non può installare nuovi plugin. Per risolvere basta inserire 1 al posto dello 0.

    Prova a dare un’occhiata alla situazione di questa stringa sul database.
    Tieni presente però che:
    queste modifiche sono rischiose, prima di fare qualsiasi cosa accertati di avere un backup
    – il contenuto che trovi in quel campo potrebbe essere più articolato, poichè dipende dai plugin installati e dai valori che questi potrebbero aver inserito.

    Spero sia stato utile.
    Ciao 🙂

    • Questa risposta è stata modificata 5 anni, 8 mesi fa da Andrea Porotti.
    • Questa risposta è stata modificata 5 anni, 7 mesi fa da Cristiano Zanca.

    Ciao @artgallery75,

    ti basta racchiudere il while in una if che controlla prima la presenza di post e inserire il messaggio nella else.

    Ad esempio:

    if ( have_posts() ) : 
        while ( have_posts() ) : the_post();
            the_content();
        endwhile;
    else :
        _e( 'Sorry, no posts matched your criteria.', 'textdomain' );
    endif;

    Fonte: https://developer.wordpress.org/themes/basics/the-loop/

Stai vedendo 15 risultati - da 16 a 30 (di 407 totali)