• Hi folks,

    I would REALLY appreciate your help. Been trying to do this by myself for a few hours but no luck. (I’m no developer and I only know basic syntax in html and css)

    Here’s what I’m trying to achieve: I want to get a few landing page templates, from ThemeForest or whatever website, and then add them to my WordPress (or my clients’) sites.

    Here’s my problem: I can copy the landing page files into public_Html and I will have the page under sitename.com/(name of that file)

    The problem with this is the page itself won’t appear in WordPress and therefore I won’t be able to edit it, etc.

    Here’s where I need help: Can someone tell me how I could go about converting that html landing page template into a WordPress page so it will appear under Pages/WordPress Dashboard?

    I would really, really appreciate it.

    Thank you for your time if you’ve read so far.
    Have a nice day!:)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter eugenvman

    (@eugenvman)

    Don’t know if this is promotional or if it’s allowed, but I’m talking about these landing pages- https://elements.envato.com/web-templates/landing-page-templates

    The first thing that happens on a page request is the .htaccess file checks if there is a file by that name. If so, it is shown. If not, WordPress handles it. So by putting a HTML file into public_html, you can have a site with a mixture of static HTML files and dynamic WordPress pages.
    But since you want to be able to change them, you can copy the innards of the HTML file (just the parts within the <body> and </body> tags), and paste that into the editor inside a WordPress page. You need to be in HTML mode, not Visual.

    Thread Starter eugenvman

    (@eugenvman)

    Hi @joyously – Thank you so much for the fast reply

    I’ve tried to add the content of the HTML into the editor but unfortunately, it doesn’t work very well. Maybe because the file also has CSS and images linked?

    For the sake of simplicity, I’m using this landing page – https://colorlib.com/wp/template/imagine/?v=f5b15f58cab

    Any thoughts? :S

    Well, it is a template, not a finished page. You would need to put the trimmed CSS into your Additional CSS (in Customizer) or use a plugin for adding CSS (then it is there regardless of theme). And images should likely be placeholders, not what you actually use.
    You can build these things in a child theme, but then they aren’t very changeable by the user.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTML Landing Page Template to WordPress Page/Post?’ is closed to new replies.