• Resolved deko

    (@deko)


    Can I run wp with no theme?

    I have an html shell with plenty of room – I just want to plug in the posts and comments, and even bring up the single inside the html page.

    There is no footer, and the “header” is simple enough that it does not need to be generated.

    Can I do this by carefully inserting template tags?

    Should I modify index.php so the first line is:

    define(‘WP_USE_THEMES’, false);

    Other suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You kind of have to have a theme to make wordpress work 🙂 A theme is basically just some HTML into which wordpress sticks the posts.

    If you don’t have a theme, wordpress uses the default theme which, I’m led to believe, is stored internally as a supplement.

    Your best bet is to modify an existing theme to make it as simple as you need it.

    Thread Starter deko

    (@deko)

    So don’t run wordpress naked…

    Fair enough. I should be able to hack the default theme and get what I’m looking for.

    It’s not really a case of “you shouldn’t” but more, actually, that it’s impossible 🙂 WordPress will just default its own HTML to show the posts, since you can’t have a webpage without HTML!

    I don’t think there’s a default stylesheet, though, so you’d get the ugly Times New Roman default that most browsers have.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress – with no theme?’ is closed to new replies.