Wordpress or other

wht_thorn

Joined: 2006-12-14
Posts: 18
Posted: Wed, 2009-11-18 02:44

I'm gearing up to start working on making a theme for my website with Gallery3 and am wondering what I might do to include (embed?) Wordpress or something similar. I'm looking to make a section of my Gallery that will contain articles that I've written regarding how I've gotten the images that I have, etc, and want it to look seamless. I.E. One of the header buttons would pass the user to that section and two of the buttons would lead to my galleries.

Will I be able to put the code from wordpress or other into my gallery page? Embed it somehow? Or should I concentrate on trying to make my other program just look identical?

Thanks in advance.

Adam

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Wed, 2009-11-18 03:15

There is no API for embedding in other aps like WP.
In the future there will be. There will be passing of user and permissions like there was for G2.
Currently you have to edit the theme to visually integrate G3 into WP.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
wht_thorn

Joined: 2006-12-14
Posts: 18
Posted: Wed, 2009-11-18 23:14

Sorry bout the noob question but I'm just learning to do more than read php. My site has only one Author, and I don't really care (at this point) whether anyone else can log into both parts of my site or just one. It really isn't that much of a pain for me to log into both to perform editing.

Would it be possible for me to use something simple like:

<div id="wordpress">
<?php include("content.php") ?>
</div>

I figure if this type of code would work I can just make a copy of my theme and rename it to be my personal worpress theme. Then add some php code to the body section and make a wordpress theme that only cares about what's in the body.

Just looking for a "that will probably work ok" so that I don't spend the weekend working on something that doesn't have a shot.

Adam

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-19 17:33

I doubt that'll work. You'd have to try it, but I'm betting it won't.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
elfinstrider
elfinstrider's picture

Joined: 2006-03-10
Posts: 57
Posted: Tue, 2009-11-24 21:37

Pretty sure that's not going to work.