WordPress.org

Ready to get started?Download WordPress

Forums

How to use a theme to build a full website off of (3 posts)

  1. gmoniey
    Member
    Posted 7 years ago #

    Hi,

    I want to create a website, which is centered around my blog (i.e. the home page is the blog, and there are other static/dynamic pages which will contain pictures, projects, etc).

    I like a lot of the themes, and I was hoping to use one, and extend it to my whole website. Originally I thought the "Pages" concept would suffice, but as I read on, I realized that the Pages are not actual files, but stored within the wordpress database.

    Ideally what I want to use the same "look" of the theme for my other pages, but to remove the sidebar (as "links", "categories", etc are no longer relevant).

    Is this possible? I am very new to php (although I do hav extensive Java experience), so any help is greatly appreciated.

    Thanks!

  2. moshu
    Member
    Posted 7 years ago #

    Yes, it is possible - and not only in one way.

    a) you can create special Page templates without sidebar and stuff: use those to display your special, non-WP content
    b) create real, physical php files outside of WP (but still using the WP design) and put at the top of them this, before everything:
    <?php require('./path-t0-your-blog/wp-blog-header.php'); ?>
    and in this way you'll be able to use every WP function.

    (I, personally, would go with a)

  3. gmoniey
    Member
    Posted 7 years ago #

    Hi moshu,

    I was reading a bit more about Pages, and correct me if I am wrong, but I cant embed thinks like applets, ajax stuff, etc?

    Can I? If not, it seems like be would be the best solution.

Topic Closed

This topic has been closed to new replies.

About this Topic