- This topic has 6 replies, 2 voices, and was last updated 2 years, 12 months ago by Leo.
February 7, 2020 at 9:16 am #1158135Jay
I’m not entirely sure if this is just a general wordpress question or a GP question, or maybe a little bit of both?
Basically, I had a designer design a landing page for me and a developer turned it into code. So now I have an html file, css file, js file, and some images.
What’s the best way for me to take all of this and turn it into a wordpress page?
I wouldn’t want anything from my existing GP theme (no header, no footer, no sidebar, no css, etc.) on this page.
Thanks in advance!February 7, 2020 at 10:32 am #1158191LeoStaffCustomer Support
You could try putting the HTML into the normal WordPress editor, CSS would be added using one of these methods:
And then js usually goes in the
wp_footerhook in hooks elements:
Then you can use disable element to disable the header footer etc:
Let me know if this helps 🙂February 7, 2020 at 1:00 pm #1158301Jay
Thanks for the reply!
Hmmmm, wouldn’t this still load all of my site’s css and js?
I guess what I’m looking to do is wipe out everything that would normally load on a page so that it’s essentially starting with nothing, and then insert the html/css/js/images for this one specific page.
Does that make sense?February 7, 2020 at 1:06 pm #1158305LeoStaffCustomer Support
The default page should have very little CSS added if all the elements are disabled using the layout element recommended above.
You can also remove the content padding by using the page builder container option:
There is no js added unless you are using the sticky navigation which we can disable for that specific page:
That should give you basically a blank page. Maybe start with that and see if it works for you?February 7, 2020 at 1:08 pm #1158306LeoStaffCustomer Support
Maybe look into a custom page template as well?
https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/February 7, 2020 at 5:24 pm #1158427Jay
Good call, I think a custom template is probably my best option. Thanks!February 7, 2020 at 6:30 pm #1158452
- You must be logged in to reply to this topic.