Using [wdfb_connect]

Hi,

I want to show the facebook login button and after click on it it will open the facebook login page in poupup and after lofin it will redirect to the page which is set in facebook plugin setting.

So I want the embeded code or iframe code for this and that embeded code
or iframe code will also show the image of login user.

Like [wdfb_connect] is shortcode for login and register through facebook. I want this in an html page and in html page i can't use shortcode .

Please advise.

Regards

Lamine

  • aecnu

    Greetings lamine :slight_smile:

    So I want the embeded code or iframe code for this and that embeded code
    or iframe code will also show the image of login user.

    sir at minimum this would be considered custom and beyond the scope of this forum and would certainly require the developer to get involved to give us the source code.

    However :slight_smile:

    Like [wdfb_connect] is shortcode for login and register through facebook. I want this in an html page and in html page i can't use shortcode .

    You can run php in an html page if your server/web site is configured to do so.

    By default most web servers across the internet are configured to treat PHP files only files that end with .php. In case you need to have your HTML files parsed as PHP (e.g .html) or even if you want to take it further and make your PHP files look like ASP, you can do the following by adding the applicable line to your .htaccess file preferably at the very top of the file:

    For web servers using PHP as apache module:

    AddType application/x-httpd-php .html .htm

    For web servers running PHP as CGI:

    AddHandler application/x-httpd-php .html .htm

    In case you wish to do the ASP mimic:

    For PHP as module:

    AddType application/x-httpd-php .asp

    OR

    For PHP as CGI:

    AddHandler application/x-httpd-php .asp

    I hope this helps.

    Joe :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.