Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pjlmtomas

    (@pjlmtomas)

    Hi Carol,

    thank you for your response.

    I can’t see the product schema either on live site or on the test site with TT4. And I can see them with Astra theme on test site (I can’t active Astra theme on live site because it will broke my CSS customization).

    I dont’ have any log with errors (and I have the error log activated).

    thank you

    Thread Starter pjlmtomas

    (@pjlmtomas)

    Sorry, I forgot the status report ->

    ` WordPress Environment
    
    WordPress address (URL): https://test.250gramosdequeso.com<br>Site address (URL): https://test.250gramosdequeso.com<br>WC Version: 8.7.0<br>REST API Version: ? 8.7.0<br>Action Scheduler Version: ? 3.7.2<br>Log Directory Writable: ?<br>WP Version: 6.5<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: es_ES<br>External object cache: – Server Environment
    
    Server Info: Apache<br>PHP Version: 8.1.23<br>PHP Post Max Size: 100 MB<br>PHP Time Limit: 18000<br>PHP Max Input Vars: 50000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k
    
    SUHOSIN Installed: –<br>MySQL Version: 10.6.17-MariaDB-log<br>Max Upload Size: 100 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Security
    
    Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (1)
    
    WooCommerce: por Automattic – 8.7.0 Settings
    
    API Enabled: –<br>Force SSL: ?<br>Currency: EUR (€)<br>Currency Position: right_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)<br>wgm_gift_card (wgm_gift_card)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)
    
    Connected to Woo.com: ?<br>Enforce Approved Product Download Directories: ?<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging
    
    Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 días<br>Level threshold: –<br>Log directory size: 2 MB WC Pages
    
    Base de la tienda: #7 - /tienda/<br>Carrito: #8 - /carrito/<br>Finalizar compra: #9 - /pagar/<br>Mi cuenta: #10 - /mi-cuenta/<br>Términos y condiciones: #4815 - /condiciones-de-compra/ Theme
    
    Name: Twenty Twenty-Four<br>Version: 1.1<br>Author URL: https://es.www.ads-software.com<br>Child Theme: ? – Si estás modificando WooCommerce en un tema padre que no has creado personalmente<br>te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
    
    WooCommerce Support: ? No declarada Templates
    
    Overrides: /var/www/vhosts/250gramosdequeso.com/test.250gramosdequeso.com/wp-content/plugins/woocommerce/templates/block-notices/error.php<br>/var/www/vhosts/250gramosdequeso.com/test.250gramosdequeso.com/wp-content/plugins/woocommerce/templates/block-notices/notice.php<br>/var/www/vhosts/250gramosdequeso.com/test.250gramosdequeso.com/wp-content/plugins/woocommerce/templates/block-notices/success.php Admin
    
    Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page
    
    Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ? Next scheduled: 2024-04-08 07:38:29 +02:00<br>Options: ?<br>Notes: 74<br>Onboarding: completed Action Scheduler
    
    Completo: 2.640<br>Oldest: 2024-03-08 08:03:30 +0100<br>Newest: 2024-04-08 07:37:26 +0200
    
    Fallida: 1.087<br>Oldest: 2023-09-13 12:14:46 +0200<br>Newest: 2024-04-08 07:49:36 +0200
    
    Pendiente: 5<br>Oldest: 2024-04-08 11:05:42 +0200<br>Newest: 2024-04-11 13:29:44 +0200 Status report information
    
    Generated at: 2024-04-08 08:42:05 +02:00<br>`
    Thread Starter pjlmtomas

    (@pjlmtomas)

    Hi Omar,

    thanks for your quick response.

    Please, check the images and the status report.

    Active plugins -> https://paste.pics/7bd6019ced67d7891f4ad23f80acbc9a

    NO schema found with TT4 theme active -> https://paste.pics/458b885a99cb5d43b0df180726bc1382

    Schema found with Astra theme active -> https://paste.pics/da3eca4682c7ab7224a9e22ed13b68a3

    I just tried to reproduce this issue in another new fresh staging site and it worked properly, so I understand that it could be a problem with my “Edit Site” options in TT4, but I can’t find the error….

    Kind regards

    Hi,
    I think this snippet can work to get an excerpt limited to 145 characters and create a yoast seo custom template variable.
    It will work in: Yoast SEO -> Search Appearance -> Content Types -> “use at your own convenience”.

    I hope it helps, and maybe is useful for this -> How to limit excerpt length?

    /*
    *
    * Yoast SEO custom variable: excerpt
    */
    // define the custom replacement callback
    function get_myexcerpt() {
    	// get the excerpt and limit to 145 characters
    	$excerpt = get_the_excerpt();
    	return substr($excerpt, 0, 145);
    }
    
    // define the action for register yoast_variable replacments
    function pjlm_register_custom_yoast_variables() {
        wpseo_register_var_replacement( '%%myexcerpt%%', 'get_myexcerpt', 'advanced', 'get the excerpt' );
    }
    
    // Add action
    add_action('wpseo_register_extra_replacements', 'pjlm_register_custom_yoast_variables');
    
Viewing 4 replies - 1 through 4 (of 4 total)