- This topic has 15 replies, 2 voices, and was last updated 4 years, 5 months ago by Mario.
January 7, 2018 at 8:46 am #465160Mario
I have a static page that I would use in my WordPress home page.
This static page is a folder that contains:
3 .css files
2 .js files
and 1 .html file (that include html, head and body tag).
Is there a way to add this static page in my site without interfering with existing CSS and JS?
I use Generatepress Theme and GP Premium.
Thanks.GeneratePress 2.0.1GP Premium 1.5.6January 7, 2018 at 9:48 am #465205TomLead DeveloperLead DeveloperJanuary 7, 2018 at 10:02 am #465224Mario
I have a folder in my computer that contains all the files for this page.
If I click the index.html, the page works in my browser. it’s a static html page.
I would this page inside my wordpress site.January 7, 2018 at 8:07 pm #465467TomLead DeveloperLead Developer
Took a look around to find some instructions – this thread looks helpful: https://www.reddit.com/r/Wordpress/comments/2uhpa0/use_indexhtml_notphp_as_homepage_with_wordpress/January 8, 2018 at 2:17 am #465619Mario
I read it, but I’m not a developer. I don’t know how to do.
Do you have a personal solution to have this static page inside wordpress?
Thanks.January 8, 2018 at 12:01 pm #466091TomLead DeveloperLead Developer
Unfortunately it’s not an overly easy thing to do – at least not easy enough to explain in these forums. The way I would explain it is in the link I provided earlier.
Perhaps your hosting support can help set things up the way you need?January 8, 2018 at 1:07 pm #466146Mario
if you are sure that you can not help to accomplish this, no problem.
Thanks anyway.January 8, 2018 at 8:09 pm #466307TomLead DeveloperLead DeveloperJanuary 9, 2018 at 12:32 am #466393Mario
Thanks for the advice.
Thanks.January 9, 2018 at 8:54 am #466803TomLead DeveloperLead DeveloperJanuary 9, 2018 at 10:26 am #466868Mario
Yes, the page is inside wordpress because I created a custom-page.php in the Generatepress theme folder.
I followed your article in reddit.January 10, 2018 at 3:30 am #467377Mario
Hi, can you reply?
Thanks.January 10, 2018 at 9:47 am #467751TomLead DeveloperLead Developer
Sorry, missed your last reply.
In that case, security would depend on the content of your page template. If there’s nothing crazy in there, I wouldn’t worry about it.January 10, 2018 at 10:25 am #467797Mario
Hi Tom, no problem.
The content of my page template was built using a web desing tool very well known.
The code is very clean.January 10, 2018 at 8:15 pm #468087
- You must be logged in to reply to this topic.