adding WP post headers to ZP home page?

affa Member
I've searched around both in these forums and through google investigating various ways to integrate Wordpress and Zen Photo.

However, pretty much everything I found seems to allow someone to integrate ZP into WP... but I almost want it the other way around.

This is pretty much a perfect example of what I want: http://www.bertsimons.nl/

ZP is running the show. Wordpress sits backseat, with some posts on the home page. No other integration needed (I'll match the themes and such to some degree).

So the question is... how is this accomplished? Is he using something to pull WP post headers into ZP? Or is that a WP home page that pulls galleries?

Any ideas?

Many thanks in advance.

Comments

  • affa Member
    Yes, I did, but again, both of those seem to add ZP to WP. And all I want to do is add a little bit of WP to ZP (a few recent post headers).

    Unless I'm misunderstanding something, all of the hacks/plugins on those pages are ways to get ZP content into your blog. The site I'm building is not a blog. It should start with the ZP home page. Am I really supposed to rebuild the ZP homepage as a WP home page?

    Again, perhaps I'm just missing something obvious?
  • acrylian Administrator, Developer
    Yeah, since most people are using zp as an addition to a CMS like wordpress. BertSimons did it the way I posted links to (with a few custom modifications I believe). BertSimons shows up often on the forum, maybe he can answer that in detail.

    I don't know how to get wordpress functions into zenphoto. But if you build both thte wp and the zp theme to match in design, wp could be just an menu link within zp.
  • hi affa

    i did this ala ruzee's method.
    http://www.ruzee.com/blog/2006/06/integrating-zenphoto-into-wordpress/
    I pull in the wordpress header/sidebar and footer on my zenphoto pages.
    I use the Zenpressed plug in to get zenphoto images into wordpress posts.

    I only wrote some custom code to go back from a wordpress post to the corresponding image in zenphoto.

    actually at the moment i am working on my theme to get ridd of wordpress because I only used wordpress to get some posts sorted by date and categorie, but this can since zenphoto evolved so much in the last year also be done in zenphoto; dynamic albumpages with a special layout that have a focus on text. so when an image is gets tagged as 'news in category x' this dynamic album will show all these messages

    underneath is the structure of my index.album and image pages as I use them now:

    `

    <?php<br />
    require($_SERVER['DOCUMENT_ROOT'].'/wordpress/wp-blog-header.php');

    function addcss() {

    global $_zp_themeroot;

    echo '';

    }

    add_action('wp_head', 'addcss') ; // add the zen css to the wordpress header

    if (!defined('WEBPATH')) die(); $firstPageImages = normalizeColumns('2', '6');

    require_once ('customfunctions.php');

    zenJavascript();

    get_header();// places wordpress header

    ?>

    `
    `

    /plugins/rating/rating.js">

    ``

    <?php printAdminToolbox(); // places the zenphoto admin tab ?>`
    `





    `
    `

    <?php get_sidebar(); // places the wordpress sidebar ?>

    <?php get_footer(); // places the wordpress footer ?>

    `
  • affa Member
    I thanked you via email but here's a 'resolved' thank you.
Sign In or Register to comment.