php - How to add a full working piece of website already coded, to a large scale Website design project?

admin2025-06-02  3

I've written 5 PHP files each of which are dependant of each other and contains one style.css also. This whole project works fine when executed alone and includes home.php which includes HTML code for front end design and is also the home page.

But I wanted this 5 PHP files to be included as a part in my Large-Scale website design project so added whole of that folder under C:\xampp\htdocs\wordpress\wp-content\themes\oceanwp\admin where admin is the folder that contains my mini project (5 PHP files) which worked fine when placed in C:\xampp\htdocs\admin and surfing as localhost\admin\login.php (on Chrome Browser).

I've added /*** Template Name: admin-login*/ to my home.php.

I have also added admin-login as Default Template to my Admin-Login Page on WOrdpress under Page Attributes But on placing my mini project in C:\xampp\htdocs\wordpress\wp-content\themes\oceanwp\admin I was given a 404 Not Found error when browsed as localhost\wordpress\admin\login.php

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748872520a314423.html

最新回复(0)