is there an relative easy way to pull header & footer from WordPress to our vanilla forum?
this would be very interesting to know
Well, you can always use the embedded version of Vanilla.
It is not trivial becuase every styling you do would have a knock on effect. Vanilla needed to load its own headers to work, you can just crow bar in header an footers, wishful thinking.
Also force loading wordpress produces terrible performance, the best thing to do is emulate the the style you want and replicate the header and footer, as halfcat said you can use the embed api, which uses an iframe.
grep is your friend.
What I've personally done God knows how many times now is copy/paste the produced Wordpress source into my Vanilla master view and then include all required CSS and JS files through theme hooks. Was also so lucky as to get a client who's using Sitecore - the client just sent a link to an XML feed containing all required assets (scripts, styles, headers and footers) and I could easily pull them into the theme using SimpleXML. Wordpress could definitely use a feature like that!
Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub
you should ideally name space to prevent mixup.
@kasperisager is a style whizz, so it, not a problem, but warn people don't just think that including files will magically turn out ok.
^ aint that the truth.
There was an error rendering this rich post.
Or you code use Pockets Plugin, find out the locations of CSS, and other files and just HTML drop in there. Like I have done but my website is not wordpress its custom HTML, JS