Okay, here is an example: there is a PHP file which someone buys off CodeCanyon, it is an image gallery, but it is a very complex image gallery with many features. All of it’s files are stored in it’s own directory called ”/image_gallery/”. It has it’s own admin panel and everything which is accessed completely seperately from the main wordpress site by going to the address http://site.com/image_gallery/admin/
If someone wants to display the image gallery on a PHP page, they would add the php code:
<?php include("/image_gallery/php/display.php");
showGallery("animals");
?>
...so a full page might look like this:
<html>
<head>
<title>Image Gallery - Animals</title>
</head>
<body>
<?php include("/image_gallery/php/display.php");
showGallery("animals");
?>
</body>
</html>
So that’s how someone would incorporate the file in a basic php page.
NOTE : my file is not an image gallery, I’m using an image gallery as an example, but it does use this method to be incorporated in a page.
So, what I’m saying is, if I had a wordpress site, and I had a page where I would like to display the gallery, and I had to include a seperate php file and initiate a function, and wanted it to be in the main area of the page… Is it possible, and is it easy for any buyer to do it if they wanted to use this image gallery in their wordpress website.