Get 15% off on all our plugins, themes and memberships till 4th December. Use coupon: BLACKFRIDAY2021.

BuddyDev

Search

[Resolved] Embed external web page into WordPress Page or Post

  • Participant
    Level: Enlightened
    Posts: 146
    Dandy Jefferson on #5157

    Hi, Brajesh

    All right. I understand that now. It seems like the only way to do that is to use window.open method.

    I just wonder that if I want to make sure the popup displays at the center of screen and control the width and height, could you give me some code snippet about that?

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 19833
    Brajesh Singh on #5166

    Hi Dandy,
    The link that you had posted earlier does it. I will suggest using that.

  • Participant
    Level: Enlightened
    Posts: 146
    Dandy Jefferson on #5201

    Hi, Brajesh

    Thanks for your reply. I tried to add the script above in my wp-content/themes/xxx/js/jQFunctions.js file. However, when I tried to invoke the function in single page, it won’t work.

    Could you check that for me please?

    Thanks.

  • Participant
    Level: Enlightened
    Posts: 146
    Dandy Jefferson on #5204

    Hi, Brajesh

    Sorry to bother again. I made a mistake when I added into theme’s js file. Now it works as I expected.

    Thanks again for all your helps. I will mark this topic as resolved.

    Thanks.

  • Keymaster
    (BuddyDev Team)
    Posts: 19833
    Brajesh Singh on #5212

    Hi Dandy,
    No problem. Glad it is all working now.

    Regards
    Brajesh

The topic ‘ [Resolved] Embed external web page into WordPress Page or Post’ is closed to new replies.

This topic is: resolved