I want to host my HTML coded site (it’s just HTML) on WordPress without any themes, is that possible? To remove the theme but still use WordPress to host and access the HTML pages, how would that be done? Where would I paste the HTML then if I remove the theme?
I also noticed when I try to remove the themes manually, it collapses WordPress and I can’t access the WP-admin control panel. So how do I keep WordPress instated and accessible without a theme installed on it?
Please see this quick 1:50 second video: http://youtu.be/5Jd_KV3p5Kw (it shows a demo of it)
WordPress requires you use a theme. As such, there’s no good reason to try and remove the themeing functionality.
However, it sounds like you want to integrate a static HTML page in lieu of your standard dynamically generated WordPress page which uses the WYSIWYG editor and functions. Simply modifying the “
home.php
” or “index.php
” should change how the home page is displayed. Essentially, you can paste all your normal HTML in there without using WordPress’s dynamic functionality. You can also generate pages in WordPress’s backend, and customize the HTML for the individual pages by creating files in your active theme folder calledpage-{slug}.php
, where slug is the slug of the page you’d like to control. From there, you can use WordPress’s shortcodes to display various plugin data, should the plugin(s) support shortcodes (you can always program them yourself).WordPress tries to simplify the development experience by preparing a series of pre-built functions which helps you avoid repeating yourself. From what it sounds like, you want to skip past most of the WordPress magic and defeat a lot of the purposes of having WordPress to only utilize some WordPress plugin functionality.
Customize the
index.php
,page-{slug}.php
,404.php
,header.php
, andfooter.php
pages in your active theme folder and strip out any WordPress functionality. Note: I don’t see the benefit in this other than lack of knowledge in WordPress theme integrations.Use
do_shortcode
http://codex.wordpress.org/Function_Reference/do_shortcode to call plugin functions directly outside the loop without the need of rendering a page’s WYSIWYG content.While it might be more of an effort, it’s worth it in the long run to spend a few hours learning the basics of WordPress HTML -> Theme integrations. Not only is it a valuable skill (you’re practically already on-route already), but it’ll save you time later that otherwise could’ve been avoided. The knowledge will pay for itself.
I hope that helped.