Viewing 5 replies - 1 through 5 (of 5 total)
  • If you’re using the Social Login widgets in the sidebar, you can restrict to certain pages by using the Dynamic Widgets plugin.

    If you want to put the Social Login widget within a pages content, you may be able to use the shortcode….

    [oa_social_login]

    If that doesn’t work, go to a page where your Social Login form is displayed and then go to page source and copy the forms html and insert into a page that way.

    Thread Starter conselhosquesedao

    (@conselhosquesedao)

    I added a conditional situation in Page restrict plugin:

    if is restricted then oa_social_login

    And it worked!

    Ty!

    Plugin Author Claude

    (@claudeschlesser)

    Thank you very much for this information!

    @conselhosquesedao

    Can I ask where you put the code in page restrict?

    Thread Starter conselhosquesedao

    (@conselhosquesedao)

    Satriavie,

    pagerestrict.php

    function pr_page_restrict ( $pr_page_content )

    bellow: $pr_page_content = str_replace(‘login’, ‘login‘, $pr_page_content);
    endif;
    endif;

    I added:

    if ( $is_restricted == 1 ) {
    do_action(‘oa_social_login’);
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Showing Social Login everywhere’ is closed to new replies.