Forum Replies Created
-
AuthorPosts
-
Thanks a lot Billy,
U re the Man!the child line functions.php on line 69 : freshio_product_get_tag_html( $product );
Fatal error: Uncaught Error: Call to undefined function freshio_product_get_tag_html() in /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-content/themes/freshio-child/functions.php:69 Stack trace: #0 /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-includes/class-wp-hook.php(307): freshio_fnc_custom_add_tags(”) #1 /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #2 /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #3 /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-content/plugins/woocommerce/templates/content-product.php(57): do_action(‘woocommerce_aft…’) #4 /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-includes/template.php(772): require(‘/home/clients/4…’) #5 /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template in /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-content/themes/freshio-child/functions.php on line 69
Thanks seems there is some error in your code i’ve tried to correct it but i’m facing a lot of issue,
`add_action(‘woocommerce_after_shop_loop_item_title’, ‘freshio_fnc_custom_add_tags’, 1);
function freshio_fnc_custom_add_tags(){ ?>
<span class=”tag”>
<?php echo freshio_product_get_tag_html( $product );
?>
</span>
<?php
}Example : https://madconsulting.ch/negozio/
I found the part i would like to change : content-widget-product.php (adding the tag information for any product )
<div class=”product-content”> <?php do_action( ‘freshio_product_list_content_before’ ); ?> get_permalink() ); ?>”><span><?php echo wp_kses_post( $product->get_name() ); ?></span> <?php do_action( ‘freshio_product_list_title_after’ ); ?> <?php if ( ! empty( $show_rating ) ) : ?> <?php echo wc_get_rating_html( $product->get_average_rating() ); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> <?php endif; ?> <span class=”tag”> <?php echo freshio_product_get_tag_html( $product ); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </span> <span class=”price”> <?php echo freshio_product_get_price_html( $product ); // PHPCS:Ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </span>
-
This reply was modified 1 year, 4 months ago by
Billy Nguyen.
in simply terms i would like to add tag info to all the products of the list beetween the title and the price on your widget.
Sorry disregard my previous message,
your script works fine ,Thanks a lot,
MaxWarning: Use of undefined constant ‘freshio_copyright_text’ – assumed ‘‘freshio_copyright_text’’ (this will throw an Error in a future version of PHP) in /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-content/themes/freshio-child/functions.php on line 57
Warning: Use of undefined constant ‘freshio_copyright_text_custom’ – assumed ‘‘freshio_copyright_text_custom’’ (this will throw an Error in a future version of PHP) in /home/clients/4c49faf600e954852d23481dedc670cc/sites/tilog.ch/wp-content/themes/freshio-child/functions.php on line 57
After adding your code i’ve received this Warning messages and i cannot see any changes
One last question ,
in my default footer (no elementor) i’ve this write :
Coppyright © 2021 TiLog. All Rights Reserved.How can i edit this?
Thanks a lot
Thanks again for your response,
i’ll think about it , i let you know.
Thanks again
Thanks for your reply ,
no i mean i would like to see the 3 icons in the upper white row where is the button “Il mio account”.I would like to change the search button with a static link page with maybe the icon .freshio-icon-farm , is it possible?
Thanks
If there is an option more quickly to change all the words let me know pls
-
This reply was modified 1 year, 4 months ago by
-
AuthorPosts