Integrating a Template based page into another
-
Hello,
I am having a page ‘X’ generated based on a theme ‘A’. Then I have another page ‘Y’ generated based on theme ‘B’. Now I want to display page Y inside Page X.
So I have written the code
<div id="ppp" style="position:relative"><?php include("https://bonica.co/wordpress/?page_id=42"); ?>
</div>
inside page X. But I receive the following errors.
Warning: include() [function.include]: https:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/content/70/9464570/html/wordpress/wp-content/themes/bonicanew/landingpage.php on line 57Warning: include(https://bonica.co/wordpress/?page_id=42) [function.include]: failed to open stream: no suitable wrapper could be found in /home/content/70/9464570/html/wordpress/wp-content/themes/bonicanew/landingpage.php on line 57
Warning: include() [function.include]: Failed opening 'https://bonica.co/wordpress/?page_id=42' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/70/9464570/html/wordpress/wp-content/themes/bonicanew/landingpage.php on line 57
Note: Line 57 is
<div id="ppp" style="position:relative"><?php include("https://bonica.co/wordpress/?page_id=42"); ?>
</div>
What would be the reason behind this or is there any other way to integrate this?
- The topic ‘Integrating a Template based page into another’ is closed to new replies.