WordPress.org

Ready to get started?Download WordPress

Forums

cafepress integration/including external php script (10 posts)

  1. guajero49
    Member
    Posted 9 years ago #

    I am trying to get the php script that runs my cafepress store to show up within my blog. I want there to be a a link in my header that says "store" and have it pull up cafe_store.php. Does anyone know a way of integrating cafepress with wordpress that is easy and effective? I have tried ezstatic but couldn't get it to work. Any help would be great.
    Thanx
    Gordon

  2. Michael Bishop

    Posted 9 years ago #

    How and where are your installs? Can you not simply hardcode a link into your header to the location of the script?

  3. guajero49
    Member
    Posted 9 years ago #

    i can do the hard link but i want to use the header and side bar and have the php script show up where my blog would be.

  4. hbalagh
    Member
    Posted 9 years ago #

    i just did that on my site
    check it out

    http://www.professionaltraveler.com/store/

  5. Michael Bishop

    Posted 9 years ago #

    One option would be to create a Page template that has the script in the body of the page. Another, would be to use the
    <?php
    require('./path-to-your-blog/wp-blog-header.php');
    ?>

    , in the header of the cafepress script, then add the get header, get footer, etc.

  6. hbalagh
    Member
    Posted 9 years ago #

    yes i created a page template added the php code to it and of course had to make some minor changes to the php code for it to work w/ my site

    i am so proud of my self lol

  7. hbalagh
    Member
    Posted 9 years ago #

    download the script here http://www.heathersblog.com/press.zip

  8. guajero49
    Member
    Posted 9 years ago #

    thank you heather for the script. :)

  9. nickw
    Member
    Posted 9 years ago #

    Heather, do you still have that script you're willing to part with? I'd like to incorporate a cafepress store into my wordpress site, but don't have the programming knowledge to make it happen on my own. :(

    Anyone else with thoughts on an easy integration?

    Thanks, cheers. :)

  10. Tekchip
    Member
    Posted 8 years ago #

    Any chance that script is still floating around? I really could use it. Actually a little more information on how to add header and footer etc. to the cafepress site would work just fine as well.

Topic Closed

This topic has been closed to new replies.

About this Topic