简体   繁体   中英

Static Landing Page Templates in Wordpress

If I create custom static HTML landing page templates using the Bootstrap framework, what is the best way to integrate those into an existing website within Wordpress?

My goal is to be able to quickly integrate custom PPC landing pages into WP sites without having to deal with the poorly coded websites I often face.

Here's are some thoughts I had and the problems I'm experiencing:

  1. I could place a folder in the website's root directory that holds the files for the custom template (separate from Wordpress). The issue I'm facing is how to handle all of the form submissions / fills and how to push them to a Google spreadsheet or CRM.

  2. I could create a custom page template within the existing theme and just dump the static HTML template in there. But how could I do this in a way that it has it's own CSS / Images and doesn't effect any other page on the website?

Is one method better than the other? What would you recommend?

I appreciate it!

There really isn't an easy way. If you are looking to integrate the Wordpress navigation system, footer, and page creation system then you will have to create your templates using the Wordpress Theme Templating standard.

Start here: https://developer.wordpress.org/themes/basics/template-hierarchy/

Because of the way Wordpress enqueues its style and javascript files, among many other reasons, not following the template system will cause updating issues as well as restrict the ability for certain added plugins to function in the future.

You will have to write your static bootstrap templates as Wordpress templates.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM