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 "www.example.com" and I want to build a blog using my current installation that’s "www.example.com/blog." 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 wordpress.org) 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 http://site.com/whatever.html and the blog link on the main site to http://blog.site.com or whatever the link is

    http://net.tutsplus.com/category/freebies/cheat-sheets/ – the wordpress cheatsheets here may also be of help. read the wordpress codex too and http://digwp.com 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.

*May or may not contain any actual "CSS" or "Tricks".