include other content

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
Marten
Posts: 5
Joined: Fri Jan 22, 2021 10:02 am

include other content

Post by Marten » Fri Jan 22, 2021 10:10 am

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?

User avatar
Arvid
FlatPress Coder
Posts: 558
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: include other content

Post by Arvid » Sat Jan 23, 2021 10:57 am

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

Marten
Posts: 5
Joined: Fri Jan 22, 2021 10:02 am

Re: include other content

Post by Marten » Tue Jan 26, 2021 3:29 pm

Thank you, that works.


Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 42 guests