• Hello Sir,
    You are a superstar. I discovered your Fixed Bottom Menu today(15 September 2020).

    But it doesn’t fit my scenario and that made me to suggest a new feature for you to build into the Plugin.

    I have a website which is not basically an e-commerce site. But we then incorporated a WooCommerce Store.This WooCommerce store is not our main business.

    See the website to understand what I mean– styleandpatterns.com.ng

    And this is the WooCommerce Page– styleandpatterns.com.ng/shop

    Now, if people are on all other pages, the Top Header Menu is sufficient.

    But when they navigate to the Shop Page, I want the fixed Bottom Menu to appear. Meaning that I want the fixed Bottom Menu only on my Shop Page.

    1.) Can this be possible? To specify only specific Pages to show the Bottom Menu?

    2.) Elementor Header Builder and Elementor Header & Footer Blocks(a free Header & Footer plugin) that works with Elementor Page Builder, has this option to specify which Pages to use the Menu on.

    They give you the option of Display Conditions to specify if the Menu is for the entire site, or for specific pages.

    If you choose Pages, it gives you option to specify the Pages by checkbox.

    Would you consider adding this functionality to your Fixed Bottom Menu Plugin?

    Waiting to hear from you soon.
    Regards.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Use the filter.
    For example, if the post ID of the page you want the menu to appear on is 89470, it will look like this.

    /** ==================================================
     * Filter of Fixed Bottom Menu
     *
     * fbm_hide
     * @param bool $hide  hide.
     */
    function fixed_bottom_menu_hide( $hide ) {
    	if ( 89470 <> get_the_ID() ) {
    		$hide = true;
    	}
    	return $hide;
    }
    add_filter( 'fbm_hide', 'fixed_bottom_menu_hide', 10, 1 );

    Excelente me sirvió de mucho para ocultarlo en la pagina que deseaba solo con cambiar el operador de comparación

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bottom Menu Display Conditions for Selected Pages’ is closed to new replies.