• I’m planning to integrate an open-source event calendar into wordpress.

    QUESTION:
    This calendar, of course, runs with php. On WP “posts” I see the “html” tab but how would I link to php?

    Another possibility is to have a menu choice that would go to the calendar’s “index.php” and then to pickup the css/theme from wordpress for the calendar …but I’d still want the main WordPress theme header to show so that the user could navigate from the calendar back to any location in the wordpress blog.

    I’ve seen the page on “Integrating WordPress with Your Website” but what I want to do is integrate the calendar into wordpress …slightly different. I want WordPress -with its theme- to remain the same but I want a link to the calendar (and back).

Viewing 4 replies - 1 through 4 (of 4 total)
  • you can drop php code in a post or page with html editor with this plugin
    http://wordpress.org/extend/plugins/exec-php/

    Thread Starter espressoguy

    (@espressoguy)

    Thanks Samboll …that’s an interesting plugin.

    Are there any other comments/recommendations on how to integrate another opensource (php) software component into WordPress smoothly …ie: so that the user sees what appears to be a single application (Same header/menu at the top )?

    Thread Starter espressoguy

    (@espressoguy)

    Samboll (and any other kind helpful soul who knows about this stuff),
    The problem with that page is that it explains how to integrate WordPress into an existing site. My problem is the exact opposite. I have WordPress and I want to integrate my own php pages into the “Central region” if possible so that instead of getting blogrolls and right panel, I get a WordPress header (with the wordpress menu) on top with my own (from php) content in the middle below the header. I know it’s possible to output do this:

    <?php
    require('./wp-blog-header.php');
    get_header();
    // calendar here
    get_footer();
    ?>

    …So I’m thinking that perhaps I could put this in a file and then have a menu option to go to that file …does that sound right? Is it possible to add that menu option (to an actual php file instead of to a WP “page”) or do I have to hack it into an existing wp file?

    UPDATE:
    Looks like the way to go is to just add the code for the additional menu option into header.php …right?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Integration question’ is closed to new replies.