musicmanmg
Member
Posted 2 months ago #
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.
so is /support a wordpress install? or just a page or category from the root install?
a link would really help
musicmanmg
Member
Posted 2 months ago #
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.
you should be able to call it with
<?php
require('./wp-blog-header.php');
?>
in your index file at
/support'
musicmanmg
Member
Posted 2 months ago #
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.
musicmanmg
Member
Posted 1 month ago #
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.