Results 1 to 6 of 6

 

Thread: Integrating Price Tapestry into Wordpress

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    509
    Thanks
    78
    Thanked 17 Times in 16 Posts


    Hi,
    I've had Price Tapestry added to my wordpress site as a site.com/store layout but I dont know how to edit the sidebar and header menu so they look the same as the actual wordpress part. At the moment they are just blank.

    I got someone else to add the Price Tapestry for me as I have no real technical skills. Can someone who can sort this out pm me please.

    Thank you

  2. #2
    scriptmonkey's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,607
    Thanks
    112
    Thanked 253 Times in 192 Posts
    With WP, if you add the following to a file in a subfolder of your installation, then you'll get all the function and design of the header in that file. (change THEMENAME to the actual name of the theme, obviously)

    PHP Code:
    <?php
    require_once('../wp-blog-header.php') ;
    require_once(
    '../wp-content/themes/THEMENAME/header.php'); 
    ?>
    You can now call any function from WP in that page, so, if you want the sidebar, use:

    PHP Code:
    <?php get_sidebar(); ?>
    Wherever you want the sidebar.
    The trouble with the rat race is that even if you win you're still a rat.
    Time passes. Listen. Time passes. Dylan Thomas
    Ebay Alerts to your inbox

  3. #3
    scriptmonkey's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,607
    Thanks
    112
    Thanked 253 Times in 192 Posts
    Or, alternatively:

    PHP Code:
    <?php
    require_once('../wp-blog-header.php') ;
    ?>

    <?php get_header(); ?>

    <?php get_sidebar(); ?> 

    <?php get_footer(); ?>
    The trouble with the rat race is that even if you win you're still a rat.
    Time passes. Listen. Time passes. Dylan Thomas
    Ebay Alerts to your inbox

  4. #4
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    509
    Thanks
    78
    Thanked 17 Times in 16 Posts
    Hi Scriptmonkey,
    thanks for replying. Could I pay you to do this as I haven't a clue what you are on about lol.

  5. #5
    scriptmonkey's Avatar
    Oranges & Lemons

    Status
    Offline
    Join Date
    Jan 2009
    Location
    Worthing
    Posts
    1,607
    Thanks
    112
    Thanked 253 Times in 192 Posts
    Money isn't necessary, drop me an email with ftp and wp login details (create a new account with admin access then you can delete it when I'm done), tony at skruff.co.uk

    I have the rest of today free, but will be unavailable for a week or two after that.

    Tony
    The trouble with the rat race is that even if you win you're still a rat.
    Time passes. Listen. Time passes. Dylan Thomas
    Ebay Alerts to your inbox

  6. #6
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    509
    Thanks
    78
    Thanked 17 Times in 16 Posts
    Thanks Tony, an email is on its way.



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2