- This topic has 15 replies, 2 voices, and was last updated 8 years, 4 months ago by
Mario.
-
AuthorPosts
-
January 7, 2018 at 8:46 am #465160
Mario
Hi,
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.
January 7, 2018 at 9:48 am #465205Tom
Lead DeveloperLead DeveloperHi there,
So this static page would be outside of WordPress? Just plain HTML?
January 7, 2018 at 10:02 am #465224Mario
Hi,
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 #465467Tom
Lead DeveloperLead DeveloperTook 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
Hi,
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 #466091Tom
Lead DeveloperLead DeveloperUnfortunately 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
Hi,
if you are sure that you can not help to accomplish this, no problem.
Thanks anyway.
January 8, 2018 at 8:09 pm #466307Tom
Lead DeveloperLead DeveloperNo problem – if your hosting isn’t willing to set it up (they may not), you can try a service like codeable.io 🙂
January 9, 2018 at 12:32 am #466393Mario
Thanks for the advice.
Do know if add a plain html (with css and javascript) can cause issue to the WordPress security?
Thanks.
January 9, 2018 at 8:54 am #466803Tom
Lead DeveloperLead DeveloperIt shouldn’t, that page would be completely separate to WordPress.
January 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 #467751Tom
Lead DeveloperLead DeveloperSorry, 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 #468087Tom
Lead DeveloperLead DeveloperThen you should be good to go 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.