WordPress.org

Ready to get started?Download WordPress

Forums

Hupso Share Buttons for Twitter, Facebook & Google+
[resolved] IF function (in case temporary deactivate) (4 posts)

  1. afjsystem
    Member
    Posted 1 year ago #

    hi Kasal, ..

    i'd like to ask you, can i use this function (just in case i need to deactivate the plugins temporary) :

    <?php if(function_exists('[hupso]')){ do_shortcode( '[hupso]' );} ?>

    but it seems not working.. any suggestion ?

    http://wordpress.org/extend/plugins/hupso-share-buttons-for-twitter-facebook-google/

  2. kasal
    Member
    Plugin Author

    Posted 1 year ago #

    You can enable/disable Hupso plugin from PHP code like this:

    To enable:
    $HUPSO_SHOW = true;

    To disable:
    $HUPSO_SHOW = false;

    @afjsystem: I read your review. Can you send me more details why you had to clear your browser cache to get the plugin working. I would like to look into it.

  3. afjsystem
    Member
    Posted 1 year ago #

    ok i sent you the details.

    yups but sometime if i need to deactivated, i do not need to tweak the code again. so it will result the error, because can't call do_shortcode[hupso].

    If every i need to deactivate temporary, so i have to turn the $HUPSO_SHOW true and false..? that's ok for me but maybe someone else doesn't want to do that.

  4. afjsystem
    Member
    Posted 1 year ago #

    closed

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic