Page 1 of 1

include other content

Posted: Fri Jan 22, 2021 10:10 am
by Marten
Good day,
I have install FlatPress and work o.k., thank you.
I have made a static page and want to include other content, a gallery page.
Have try a include code; "<?php include('http://mysite.com/fpgall/newgal/');?>"
It dont work.

Have made a iframe; "<iframe width="500" height="400" >
<?php include('http://mysite.com/fpgall/newgal/');?>
</iframe>"
It dont work.

I'm not not much of php, just try (mess) a bit.
Someone any idea?

Re: include other content

Posted: Sat Jan 23, 2021 10:57 am
by Arvid
Marten, welcome to the FlatPress support forum!

You won't need PHP for that, just use plain HTML:

Code: Select all

[html]<iframe src="http://mysite.com/fpgall/newgal/" width="500" height="400"></iframe>[/html]
All the best,
Arvid

Re: include other content

Posted: Tue Jan 26, 2021 3:29 pm
by Marten
Thank you, that works.

Re: include other content

Posted: Sat Feb 13, 2021 7:33 pm
by Arvid
Good to hear :)