Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter jpedro90

    (@jpedro90)

    i’ve deactivate all the plugins and then activated them one by one and no globe icon in the slider….

    Plugin Contributor Alex Gor

    (@alexgff)

    @jpedro90
    now I ask about icons at widgets.php page, not slider

    Thread Starter jpedro90

    (@jpedro90)

    In widgets page now appear that globe icon and that problem is resolved

    Plugin Contributor Alex Gor

    (@alexgff)

    @jpedro90
    did you can’t detect which plugin interferes to icons at widgets.php ?

    Thread Starter jpedro90

    (@jpedro90)

    no, i can’t detect. I’ve tried all the ways you said

    Thread Starter jpedro90

    (@jpedro90)

    so….can’t you help me?

    Plugin Contributor Alex Gor

    (@alexgff)

    @jpedro90
    I’ll can check slider later

    Thread Starter jpedro90

    (@jpedro90)

    yes please do that. it’s just a little issue that is blocking me of finishig my website. i’ll be forever gratefull. i’ll be waiting for news. thank you very much

    Plugin Contributor Alex Gor

    (@alexgff)

    @jpedro90
    First, add to fields ‘Enter title for this slide’ and ‘Enter button text’
    text like {:en}My slide in En{:}{:pt}Meu slide Pt{:} for each slide.
    Second, add code to functions.php

    if ( class_exists( 'WPGlobus' ) ) {
    	add_filter( 'option_ample', 'wpglobus_translations' );
    	function wpglobus_translations($options){
    
    		if ( is_admin() ) {
    			return $options;
    		}	
    
    		$translating_options = array(
    			'ample_slider_title1',
    			'ample_slider_button_text1',
    			'ample_slider_title2',
    			'ample_slider_button_text2'
    		);
    
    		foreach( $options as $key=>$value ) {
    
    			if ( in_array($key, $translating_options) ) {
    				$options[$key] = WPGlobus_Core::text_filter($value, WPGlobus::Config()->language);
    			}
    
    		}
    		return $options;
    
    	}
    }

    Plugin Contributor Alex Gor

    (@alexgff)

    Thrid, add elements to $translating_options array, 2 for each slide

    Thread Starter jpedro90

    (@jpedro90)

    sorry about my knowledge, but where is the “fuctions.php” area to paste that code and the “$translating_options array”. thank you very much

    Thread Starter jpedro90

    (@jpedro90)

    i found the “functions.php”, should i paste the code after the other codes?

    Plugin Contributor Alex Gor

    (@alexgff)

    @jpedro90
    yes

    Thread Starter jpedro90

    (@jpedro90)

    it’s working! Thank you very much for your time and pancience.

Viewing 14 replies - 16 through 29 (of 29 total)
  • The topic ‘Widget issue’ is closed to new replies.