Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Wordpress in Silverstripe Template


Reply


5 Posts   1265 Views

Avatar
spierala

Community Member, 80 Posts

23 November 2009 at 5:51pm

hello all!

do you think it´s possible to integrate an existing wordpress installation in a silverstripe template?

mmh or more general... how can i make the wordpress functions visible to my silverstripe template? for example there is a wordpress function to get the blog title:

<?php bloginfo('name'); ?>

I know how to call functions from the Template in the Page_Controller... so it seems I just don´t know how to include the wordpress functionality.

ah and this would be my aim: http://mod-net.de/
you can see the wordpress blog. On the left side is the main navigation, which should be available also in the blog. I would like to adapt this site to silverstripe. I want to keep the blog as it is, but generate everything else from silverstripe.

Thank for your help,
Florian

Avatar
Hamish

Community Member, 712 Posts

25 November 2009 at 3:47pm

It would be far easier to port the whole site to SilverStripe.

Avatar
Double-A-Ron

Community Member, 604 Posts

25 November 2009 at 4:26pm

I'm with Hamish. Anything is possible but you're just asking for trouble as these are two disparate, and quite large, systems. This has Class clash written all over it.

Personally, If you really must keep WP as your blog, I'd run both SS and Wordpress side by side and simply link "Blog" in Silverstripe to your Wordpress installation. (Redirector page)

Ofcourse, you will have two admins, and two design templates to modify. (you could easily share CSS)

Avatar
spierala

Community Member, 80 Posts

3 December 2009 at 1:26am

jo guys,

i completly separated the wordpress blog now. cleanst method for now. soon i will check out the silverstripe blog functionality. then perhaps switch completely one day :)

florian

Avatar
spierala

Community Member, 80 Posts

3 December 2009 at 1:26am

jo guys,

i completly separated the wordpress blog now. cleanst method for now. soon i will check out the silverstripe blog functionality. then perhaps switch completely one day :)

florian