Site logo

Archived topic

Add static pages

15 replies · Started by Mario on January 7, 2018

Viewing posts 1–15 of 16

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.

Hi there,

So this static page would be outside of WordPress? Just plain HTML?

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.

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.

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?

Hi,

if you are sure that you can not help to accomplish this, no problem.

Thanks anyway.

No problem - if your hosting isn't willing to set it up (they may not), you can try a service like codeable.io :)

Thanks for the advice.

Do know if add a plain html (with css and javascript) can cause issue to the WordPress security?

Thanks.

It shouldn't, that page would be completely separate to WordPress.

Yes, the page is inside wordpress because I created a custom-page.php in the Generatepress theme folder.

I followed your article in reddit.

Hi, can you reply?

Thanks.

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.

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.

Then you should be good to go :)

This archived topic is closed to new replies.