ElkArte Community

Elk Development => Theme development => Topic started by: emanuele on January 29, 2015, 04:03:40 pm

Title: Proof of concept
Post by: emanuele on January 29, 2015, 04:03:40 pm
Today, reading a discussion about SMF and WordPress I thought about one possibility: use WordPress themes with ElkArte.
So I started messing around with it. O:-)

See the attachment: it's ElkArte board index rendered using TwentyFifteen, the default WordPress theme, without any modification, just using a "wrapper" that includes 2015's files like it was WP and a series of functions to mimic WP.

Of course this approach has a ton of limitations and quite a bit of challenges, but it looks like it's doable!
Wouldn't be wonderful to be able to use any WordPress theme with ElkArte? ;D

I'll try to add message index and posts and then I'll push the code at github. 8)
Title: Re: Proof of concept
Post by: Joshua Dickerson on January 29, 2015, 05:30:11 pm
That is ingenious.
Title: Re: Proof of concept
Post by: meetdilip on January 29, 2015, 06:44:57 pm
:)
Title: Re: Proof of concept
Post by: Mstcool on January 29, 2015, 09:42:13 pm
Very Nice.

Quote from: emanuele – Today, reading a discussion about SMF and WordPress

Hehe, somebody got jealous that they weren't talking about ElkArte and Wordpress. ;)



Title: Re: Proof of concept
Post by: emanuele on January 30, 2015, 02:17:54 am
It's more that I love drama and what better place to find drama than a WP discussion at sm.org? :P
Title: Re: Proof of concept
Post by: Bloc on March 31, 2015, 05:36:09 pm
It would be interesting to see how you did this - the code is at Github?
Title: Re: Proof of concept
Post by: emanuele on March 31, 2015, 06:13:15 pm
Nope, not yet.
I stopped just after my last post that for lack of time and the code is still pretty at the beginning.
What I have so far is:
https://gist.github.com/emanuele45/ddc0585c059fc962fb6d
plus few modifications to index.template.php