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

    (@shamim51)

    open fep-widgets.php

    after

    function register_fep_menu_widget() {
    function register_fep_text_widget() {

    and

    function register_fep_empty_widget() {

    Add

    if ( is_user_logged_in() )

    add after all three of those functions

    Thread Starter Cirinu

    (@cirinu)

    thanks. is this going to be implemented on the next update or it’s just a workaround?

    Plugin Author Shamim Hasan

    (@shamim51)

    What do you think? Which one will be better? Not to show any widget when not logged in or show a message eg. “Log in to see your message”.?

    Thread Starter Cirinu

    (@cirinu)

    For me, not show is the best. Because it is just a widget. So it is in a page that contain it’s main content. Possibly already have the login to view stuff or, in my case, it is a login and register page.

    If it was a page the only displayed the messages, i think the second option would be best.

    thanks and great job with the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘fep widgets’ is closed to new replies.