• Resolved RomanKur

    (@romankur)


    Hi all
    I’m trying to change Header but something does wrong. Could you suggest me please how to write BMO Expro in condition (if, elseif, else)

    if(is_front_page())
    {
    if(function_exists('wp_content_slider')) { wp_content_slider(); }
    }
    elseif(is_page('Portfolio'))
    {
    if(function_exists('BMo_scrollGallery')) {BMo_scrollGallery(id:3); }
    }

    Front page is working well but I have no idea how to run BMO ??

    https://www.ads-software.com/plugins/bmo-expo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter RomanKur

    (@romankur)

    It seems support is dead here… Though I find out the solution:

    if(is_front_page())
    {
    if(function_exists('wp_content_slider')) { wp_content_slider(); }
    }
    elseif(is_page('Портфолио'))
    {
    if(function_exists('BMo_scrollGallery')) do_shortcode('[BMo_scrollGallery id="3"]');
    }
    else
    ...

    Plugin Author Benedikt Mo

    (@bmodesign2)

    Hi Roman,

    thanks. From PHP ou can use all plugin shortcodes with echo do_shortcode(‘[…]’);

    Regards Benedikt

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘BMO in condition IF / ELSEIF’ is closed to new replies.