Treehouse: Grow your CSS skills. Land your dream job.

creating a blog with wordpress already installed

  • # May 12, 2010 at 4:49 pm

    Howdy yall!! I’m new to wordpress. I already have my site built with pages and everything is working fine. However, I wanted to add a blog. Is this something that can be easily implemented? For example, I already built my portfolio and about me pages on "" and I want to build a blog using my current installation that’s "" Can someone direct me in the right direction? Thanks in advance!!

    # May 12, 2010 at 7:11 pm

    from what you say you only want one page using wordpress, which is the blog. this is quite hard to explain but i’ll do my best, from what i know.

    you’ll still need to create a theme (download a basic one/framework one off as you just want blog posts on a page you could do this through just the index.php and style.css provided in the theme. keep the code that’s originally in there specifically the loop (see the wordpress codex for the loop) and paste your own css into the style.css file (may be handy to keep some of the css already in their for later styling such as comments if you intend to use them) the important part is also to keep the comment at the very top of the file as your theme wont be detected when uploaded (rename all stuff as needed).

    then copy all your code which your nonwordpress layout is and where you want your content to display, paste the loop in. make sure all your css/image files point to the right url from within this index.php (easy mistake). upload your theme to wp-content/themes/ then go into your wordpress admin area and set the theme to that.

    if you want comments then you’ll have to apply the same to single.php, and comments.php your theme.

    and i pray that it’s worked, you will then have to point your links within the blog to and the blog link on the main site to or whatever the link is – the wordpress cheatsheets here may also be of help. read the wordpress codex too and may have some nice tips too

    hopefully someone could touch up my explanation in another post or have a different way but this is roughly how i’d do it, hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.