Support » Themes and Templates » Showing your main theme on a subfolder site

  • Resolved musicmanmg

    (@musicmanmg)


    I have osticket installed in a subfolder on my site called support. My main wordpress installation is on the root of the site. So at the moment http://www.mysite.com is all themed as necessary. When I go to http://www.mysite.com/support this does not show within the theme. I assume it is because the theme is not called within that section.

    I want to know what code I need to implement to allow the support directory to be themed with my main wordpress site. I’m sure this has been covered before on these forums but what I have found has not been what I’m after exactly, more about installing WordPress in a subfolder.

    Any help/advice will be greatly appreciated.

    Thanks,

    Martin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Samuel B

    (@samboll)

    so is /support a wordpress install? or just a page or category from the root install?
    a link would really help

    musicmanmg

    (@musicmanmg)

    no probs.

    /support is where the osticket section is. WordPress is in the root of my httpdocs.

    http://www.home-computer-help.co.uk for the main site
    http://www.home-computer-help.co.uk/support for where the theme needs to be included.

    Thanks.

    Samuel B

    (@samboll)

    you should be able to call it with

    <?php
    require('./wp-blog-header.php');
    ?>

    in your index file at

    /support’

    Cheers samboll but unfortunatley that did not work. Still struggling at the mo.

    I can make it work putting the full path /var/www/vhosts etc in the code of the index.php on the osticket function but I get the impression I need to amend something in the DIR setting on the client.inc.php page of OS ticket.

    Is there a standard way this can be done or can someone help me out on this one?

    Jut wondered if anyone else has had success in doing a similar task.

    Thanks.

    Got it sussed now.

    <?php
    require('./wp-blog-header.php');
    ?>

    worked ok but I missed off

    get_header()

    and

    get_footer()

    in the relevant places.

    Once those went in everything worked sweet. Thanks to samboll for the guidance though.

    Cool.. This helped me a lot.
    one more query here, suppose I want to change the header image for the services pages only, how can I achieve that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Showing your main theme on a subfolder site’ is closed to new replies.