Search found 2 matches
- Fri Nov 13, 2020 11:19 am
- Forum: 0.4.1 beta support (older versions included)
- Topic: Using PHP if else within default.php
- Replies: 7
- Views: 42107
Re: Using PHP if else within default.php
Hi wrsi, have a warm welcome to our community! Could you include a page via iframes? If not, I suggest creating a functions.php file in your theme folder (it will be then automatically included in your theme, once it's created). This way you could pull any external content. For some more help, shar...
- Thu Nov 12, 2020 12:10 am
- Forum: 0.4.1 beta support (older versions included)
- Topic: Using PHP if else within default.php
- Replies: 7
- Views: 42107
Re: Using PHP if else within default.php
The forum topic is old, but I have this problem nowadays in the current wondercms as I would include a page.php with external content, could you please help me I'm looking for a bit of help. I want to serve a php include page based on the url or page name instead of displayMainContent . For example:...