• Resolved ingrobin

    (@ingrobin)


    Hi,

    I’ve got a php page in drakenprint.nl/dist/index.php which posts to another php (in drakenprint.nl/dist/live_preview.php)

    Now I want to include these pages in my wordpress page with the following code :
    [includeme file=”dist/index.php”] and [includeme file=”/dist/index.php”]

    both show just a page without content… what do I do wrong?

    and is it possible that after the post to the liveprevieuw.php the page autoscales? so everything fits on the page?

    thanks in advance

    Robin

    https://wordpress.org/plugins/include-me/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi, if you want to include the external page as an iframe user [includeme src=”url”] not as a file. If included as a file it will be executed and if not written to be executed inside wordpress it probably won’t work.

    Autoscaling should be provided by the included page which must be designed as responsive.

    Thread Starter ingrobin

    (@ingrobin)

    It isn’t an external source 😉 drakenprint.nl/print-offerte is the page where I want this page to show up 😉 and I tried iframes with another plug-in already but autoscaling is just not working…

    That’s why I tried the include file solution but as I think I understand now is that this plug-in only has the option to run php pages instead of showing the php files also… Is that correct?

    Plugin Author Stefano Lissa

    (@satollo)

    It’s not who includes which scales the content, is the included page that should be “written” with proportional measures to adapt to the container.

    Thread Starter ingrobin

    (@ingrobin)

    Sorry I explained it wrong I guess for the width that’s correct but I want to make the page height much higher when live_preview is called… This isn’t something an iframe wil do as far as I tried

    Plugin Author Stefano Lissa

    (@satollo)

    An iframe does not auto adapt itself to the content, you can set the height, anyway.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Can't get it too work…’ is closed to new replies.