# Integrate to desktop site

Just open the file: `_demo_content/phpdetect.zip`

You will see 2 file. First is mobile_detect.php and second one demo.php. Open demo.php. Change demo.php code to your site address. You will see in http://yoursite.com/mobile. And copy all codes. Put your top of header.php (desktop site) (First line and outside the tags). And be sure mobile_detect.php at the same directory with your header.php(desktop site). Regards.

### How to insert a button return back to desktop site?

We have a solution for this;
You have to link your button or link text on mobile site: http://www.yoursite.com/index.php?desktop=1
Just open the file: `_demo_content/phpdetect-with-backlink.zip`
You will see 2 file. First is mobile_detect.php and second one demo.php. Open demo.php. Change demo.php code to your site address. You will see in http://yoursite.com/mobile. And copy all codes. Put your top of header.php (desktop site) (First line and outside the <?php ?> tags). And be sure mobile_detect.php at the same directory with your header.php(desktop site).

### How to use our template with Joomla ?

Hi, yes it is possible.
I will tell you basic but after purchase our template you will see integration guide more detailed.
1-) Install a new wordpress site under name of m.yoursite.com or yoursite.com/mobile folder
2-) Install metro on this Wordpress site.
3-)We will give a mobile detection code with our template. Copy this code and put in your joomla site's <head><!--mobile detection code--></head> tags
4-) this code will be redirect mobile and tablet users to the Metro and this users will see metro mobile. Desktop users will see your old desktop site.
Hope this helps to you.