Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wp.insider

    (@wpinsider-1)

    I am not really understanding what you are trying to do. Can you please explain a little more?

    Thread Starter YuchiRO

    (@yuchiro)

    Hi

    I try to verify user on homepage to show ads like

    $au = BAuth::get_instance();
    if ( !$au->is_logged_in() )
    {
    // show ads
    }
    else
    {
    // hide ads
    }

    but look like this php code not working well.

    Please help.

    My membership have FREE level and fews paid level.

    Regards

    i cannot think of a reason why this should not work. what kind error are you seeing?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Manually add by PHP code’ is closed to new replies.