Your account expired support, please renew to get your support.

HomePage Forums Themes Support Theme freshio – menu mobile

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #2057
    Marwit
    Support Expired

    Hello, I have a small problem on the site and I cannot find the translation of the buttons in the mobile menu..

    Where is the translation of the menu on the mobile function and link change and possible button change.

    Image menu: https://www.*****.fr/images/lang.JPG

    Thank you so much

    Marc

    #2058
    Marwit
    Support Expired

    Menu mobile !

    #2066

    Hi there,

    I added code custom footer menu link into file functions.php ( child-theme) for you.

    #1. To change text: You can edit text in file functions.php or use Loco Translate plugin ( I installed for you), seach text and add translate

    #2. To change link: The same, you can edit link at href=””

    #3. To change position Menu: please change priority number

    #2069
    Marwit
    Support Expired

    Hi !, Ohhh such fast help, I didn’t even expect it, really big thanks for such professional support. Regards to the whole team !!!!!

    Marc

    #2074
    Marwit
    Support Expired

    Hi,

    I pasted your code, but there’s a bug somewhere and my page is in pieces

    ;p

    Boom

    #2075

    Hi again,

    I added code custom footer menu link into file functions.php ( child-theme) for you.

    DO YOU READ MY COMMENT????/
    Please go to Cpanel or FTP and remove all your code.
    To change text, you need to go file functions.php (child-theme), find your text want to change, and edit.

    If you need to help, please send FTP account or Cpanel account for me, I will help you

    #2079
    Marwit
    Support Expired

    Hello, That’s what I did, I pasted the code you gave me in the freshio-child folder but an error occurs.. πŸ˜€

    #2080
    Marwit
    Support Expired
    <?php
    $theme           = wp_get_theme('freshio');
    $freshio_version = $theme['Version'];
    
    if (!isset($content_width)) {
    	$content_width = 980; /* pixels */
    }
    require get_theme_file_path('inc/class-tgm-plugin-activation.php');
    $freshio = (object)array(
    	'version' => $freshio_version,
    	/**
    	 * Initialize all the things.
    	 */
    	'main'    => require 'inc/class-main.php',
    );
    
    require get_theme_file_path('inc/functions.php');
    require get_theme_file_path('inc/template-hooks.php');
    require get_theme_file_path('inc/template-functions.php');
    
    require_once get_theme_file_path('inc/merlin/vendor/autoload.php');
    require_once get_theme_file_path('inc/merlin/class-merlin.php');
    require_once get_theme_file_path('inc/merlin-config.php');
    
    $freshio->options = require get_theme_file_path('inc/options/class-options.php');
    
    if (freshio_is_woocommerce_activated()) {
    	$freshio->woocommerce = require get_theme_file_path('inc/woocommerce/class-woocommerce.php');
    
    	require get_theme_file_path('inc/woocommerce/class-woocommerce-adjacent-products.php');
    
    	require get_theme_file_path('inc/woocommerce/woocommerce-functions.php');
    	require get_theme_file_path('inc/woocommerce/woocommerce-template-functions.php');
    	require get_theme_file_path('inc/woocommerce/woocommerce-template-hooks.php');
    	require get_theme_file_path('inc/woocommerce/template-hooks.php');
    	require get_theme_file_path('inc/woocommerce/class-woocommerce-size-chart.php');
    
        if (class_exists('WeDevs_Dokan')) {
            require get_theme_file_path('inc/dokan/class-dokan.php');
            require get_theme_file_path('inc/dokan/dokan-template-functions.php');
            require get_theme_file_path('inc/dokan/dokan-template-hooks.php');
        }
    }
    
    if (freshio_is_elementor_activated()) {
    	require get_theme_file_path('inc/elementor/functions-elementor.php');
    	$freshio->elementor = require get_theme_file_path('inc/elementor/class-elementor.php');
    	$freshio->megamenu  = require get_theme_file_path('inc/megamenu/megamenu.php');
    
    	if (freshio_get_theme_option('enable-footer-builder', false)) {
    		require get_theme_file_path('inc/builder/class-footer-builder.php');
    	}
    	if (defined('ELEMENTOR_PRO_VERSION')) {
    		require get_theme_file_path('inc/elementor/class-elementor-pro.php');
    	}
    }
    
    if (!is_user_logged_in()) {
    	require get_theme_file_path('inc/modules/class-login.php');
    }
    
    if (is_admin()) {
    	$freshio->admin = require get_theme_file_path('inc/admin/class-admin.php');
    }
    	 
    function freshio_fnc_custom_link($links){
    	$links = array(
    			'shop'       => array(
    				'priority' => 5,
    				'callback' => 'freshio_handheld_footer_bar_shop_link',
    			),
    			'my-account' => array(
    				'priority' => 10,
    				'callback' => 'freshio_handheld_footer_bar_account_link',
    			),
    			'search'     => array(
    				'priority' => 20,
    				'callback' => 'freshio_handheld_footer_bar_search',
    			),
    			'wishlist'   => array(
    				'priority' => 30,
    				'callback' => 'freshio_handheld_footer_bar_wishlist',
    			),
    		);
    	
    	return $links;
    }
    
    add_filter('freshio_handheld_footer_bar_links', 'freshio_fnc_custom_link', 10, 1);
    
    //Change cart link and Menu name
    function freshio_handheld_footer_bar_cart_link() {
    		?>
            <a class="footer-cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', 'freshio' ); ?>">
                <span class="count"><?php echo wp_kses_data( WC()->cart->get_cart_contents_count() ); ?></span>
            </a>
    		<?php
    	}
    //Change Account Link and Menu name
    function freshio_handheld_footer_bar_account_link() {
    		echo '<a href="https://www.site.fr/moje-konto/' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '"><span class="title">' . esc_attr__( 'Konto', 'freshio' ) . '</span></a>';
    	}
    //Change Shop link
    function freshio_handheld_footer_bar_shop_link() {
    		echo '<a href="https://www.site.fr/artykuly-spozywcze/' . esc_url( get_permalink( get_option( 'woocommerce_shop_page_id' ) ) ) . '"><span class="title">' . esc_attr__( 'Sklep', 'freshio' ) . '</span></a>';
    	}
    
    //Change wishlist link
    function freshio_handheld_footer_bar_wishlist() {
    		if ( function_exists( 'yith_wcwl_count_all_products' ) ) {
    			?>
                <a class="footer-wishlist" href="<?php echo esc_url( get_permalink( get_option( 'yith_wcwl_wishlist_page_id' ) ) ); ?>">
                    <span class="title"><?php echo esc_html__( 'Ulubione', 'freshio' ); ?></span>
                    <span class="count"><?php echo esc_html( yith_wcwl_count_all_products() ); ?></span>
                </a>
    			<?php
    		}
    	}
    #2083

    Oh no, you pasted into file functions.php ( Main theme).

    I fixed for you, please check
    Follow at: https://prnt.sc/vu1apk

    #2084
    Marwit
    Support Expired

    Hi,

    Well, I didn’t think, I think I’m tired .. Thank you 1000x again..

    πŸ˜›

    #2086

    We glad to hearing that the trouble was resolved!
Let us know if you get any issue, we will give you the best solution to resolve them.

    Thanks and have a nice day!

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Theme freshio – menu mobile’ is closed to new replies.