• Resolved wpkenneth

    (@wpkenneth)


    Is there an easy way that we can change the text of the button “show more” like filter on functions.php


    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Asmi Patel

    (@asmipatel)

    Hi @wpkenneth ,

    Please update the plugin to the latest release(3.1.14) and add this below code in your theme’s functions.php file

    add_filter( 'icegram_mobile_popup_settings', array( &$this, 'icegram_mobile_popup_custom_settings' ), 10, 1 );
    function icegram_mobile_popup_custom_settings( $action_bar ) {
    $action_bar['label'] = __( 'Your Text here', 'icegram' );
    return $action_bar;
    }


    Thank You!

    Plugin Contributor Asmi Patel

    (@asmipatel)

    Sorry, have made a small modification in the above code. Please copy this below code in the functions.php file instead of above one

    add_filter( 'icegram_mobile_popup_settings', 'icegram_mobile_popup_custom_settings');
    function icegram_mobile_popup_custom_settings( $action_bar ) {
    $action_bar['label'] = __( 'Your Text here', 'icegram' );
    return $action_bar;
    }


    Plugin Contributor Asmi Patel

    (@asmipatel)

    Marking this as resolved due to inactivity

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shor more button on mobile’ is closed to new replies.