• Resolved jmwfs

    (@jmwfs)


    When I select one of the menu options (New Message, Message Box etc.) this forces the page back to the top.

    Can this jump/scroll to top of the page be removed?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    Those buttons redirect full page not jump. Are you using any more shortcode in same page? is this plugin shortcode bellow other shortcodes?

    Thread Starter jmwfs

    (@jmwfs)

    Hi. Yes I have other shortcodes referenced within my php file. The FEPM is the last item on the page. Can the redirect full page be removed?

    Plugin Author Shamim Hasan

    (@shamim51)

    Add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'fep_query_url_without_esc_filter', function( $url ){
    	return "{$url}#fep-wrapper";
    }, 99 );
    
    Thread Starter jmwfs

    (@jmwfs)

    Great thanks. Works a treat.

    I have another query. The plugin seems to flash up an overlay with the words ‘Just a moment’. Can I switch this off?

    Plugin Author Shamim Hasan

    (@shamim51)

    That is not added by this plugin. May be your theme or any other plugin added that.

    Hi Shamin Hasan,
    Thank you for your plugin, I use the version 4.8, I have added the code in my theme’s functions.php, but it still redirect full page like jumping to top.

    add_filter( 'fep_query_url_without_esc_filter', function( $url ){
    	return "{$url}#fep-wrapper";
    }, 99 );
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove jump to top’ is closed to new replies.