I have a project that uses some proprietary code that will not function completely within WordPress or Joomla, but it's only for part of the site. We're going to develop most of the site content within WordPress using a theme built on Gantry, but for the sections of the site that will not work within WordPress I'm hoping that there is some way to utilize Gantry so that when updates are made within WordPress they automatically appear on those sections outside of WP as well. Does anyone have experience with this or any ideas about how to make implement it?
Here is a visual of what I'm trying to accomplish:
This image is hidden for guests. Please log in or register to see it.
Looking for help? I'm a RocketTheme Developer, eCommerce and SEO service provider, and Google Partner. PM me and let me know what you're looking for!
I am afraid there is no way to achieve that. Gantry is a framework which greatly depends on CMS in which it works so you can't expect it to function without underlying CMS
I am afraid there is no way to achieve that. Gantry is a framework which greatly depends on CMS in which it works so you can't expect it to function without underlying CMS
I am basically trying to use the WordPress theme and Gantry as a wrapper. It seems possible, based on these three posts:
hello, i came across your topic, and im wondering, cant you insert that code in your page with an iframe? i came across a plugin sometime ago called pageview (i think), and what it does is, it opens a link you select inside the page you are on, like an iframe that displays another page, im sorry for replying this late and you probably dont need it anymore, but anyway, i hope i helped
We considered iframes but decided against them because they aren't any good for SEO, it's difficult to optimize their output for different browsers (especially given the responsive nature of our template), nor are they efficient from a performance standpoint.
I'm happy to say that after a lot of hard work we've been able to pull many parts of Gantry and display them outside of WordPress. That includes headers, footers, sidebars, widgets, CSS, etc. If anyone is interested in this for their own site please send me a PM and we can work with you to find a solution.
Looking for help? I'm a RocketTheme Developer, eCommerce and SEO service provider, and Google Partner. PM me and let me know what you're looking for!
Hi,
Gantry Framework is a plugin for the WordPress platform so it cannot function outside of WordPress. What you can do though is, load the WordPress environment then you will be able to use Gantry as well. To do that you simply need to include the 'wp-load.php' file in your code:
include 'wp-load.php';
Now WordPress will be loaded in your code. You can use any of the functions that you want; for example to wrap your content with your WordPress theme you can simply call get_header() and get_footer() functions:
get_header();
// your custom content which will be displayed in your WP theme.
get_footer();
Please don't PM unless requested
Consider using the custom stylesheet for all your CSS customizations:
gantry-framework.org/documentation/wordp...custom_stylesheet.md
.
Please provide the URL to the issue.
And please mark the thread as solved if the issue is resolved.
Hi,
well, the get_header() and get_footer() calls should take care of all that. When you sandwich your content with those two functions, Gantry will take the content and outputs it as the "Mainbody" section while as the rest of your site renders as usual.
Actually I think this works even better with Gantry-powered themes, since Gantry supports menu item assignments, you can control the widget positions for your outside-of-WordPress pages. :shock:
Please don't PM unless requested
Consider using the custom stylesheet for all your CSS customizations:
gantry-framework.org/documentation/wordp...custom_stylesheet.md
.
Please provide the URL to the issue.
And please mark the thread as solved if the issue is resolved.