This calls back to a Rails (or other) web service to get theme information, so that it is easy to keep the rails and WP sides in sync.
This calls back to a web service to get theme information, so that it is easy to keep the rails and WP sides in sync.
It is designed to be used when a Rails application wishes to contain WordPress content. This allows the WordPress pages to directly use the styles of the Rails application so that it will always match, even when the Rails app changes.
It is also useful when the header of the page changes, for instance, if new menu items can appear depending on the state of the application.
And finally, if you want to POST back to the Rails app (for instance, to log in), you need the CSRF to be set in the page's header, and that needs to come from the Rails session.
NOTE: This might take some tweaking depending on the theme you are using. It successfully works with the default 2011 theme and the Hybrid theme.
There is one main option in the plugin to tell it the base URL of the Rails app. The rails app is expected to respond to the following URL:
This also supplies a convenience option to add classes to the so that you can match the body styles in your rails app.
Requires: 3.2 or higher
Compatible up to: 3.5.2
Last Updated: 3 years ago
Active Installs: 20+
Got something to say? Need help?