kamikaze-girl
02-13-2005, 08:01 PM
I wanna know how do I get my wordpress blog on my website. Can someone tell me how to put it on my site like my hostess here: http://www.inevitable-fear.org I'm new to wordpress :)
|
View Full Version : wordpress help kamikaze-girl 02-13-2005, 08:01 PM I wanna know how do I get my wordpress blog on my website. Can someone tell me how to put it on my site like my hostess here: http://www.inevitable-fear.org I'm new to wordpress :) Monkey Bizzle 02-13-2005, 10:57 PM a lot of people get discouraged because they try to take the default WP layout and change it to what they want. The easiest thing to do is to design your layout and then put WP into the layout. Have you already installed WP and do you already have a layout that you want to use? kamikaze-girl 02-15-2005, 12:43 AM a lot of people get discouraged because they try to take the default WP layout and change it to what they want. The easiest thing to do is to design your layout and then put WP into the layout. Have you already installed WP and do you already have a layout that you want to use? yes Monkey Bizzle 02-15-2005, 01:16 AM i'm assuming yes to the fact that you have WP installed AND that you have a layout already made? kamikaze-girl 02-15-2005, 10:15 PM Yes that is correct. Spirit892 02-16-2005, 12:19 AM Try looking at the wordpress docs on the official site, wordpress.org. Then, take the tags and put them into the layout. It's pretty easy, actually. Just takes a little trial and error. Monkey Bizzle 02-16-2005, 04:24 AM well, i am not sure what your code for your layout is, but here is like a rough draft of what you have to have for WP to work... the bold ones being ABSOLUTELY important. The red is just my comments and the 2 purple lines are very important as well. any code that is BETWEEN the purple lines will be repeated with EACH post. If you want the calendar and all that, then you will have to go to WP website and get the code for that yourself. -------------------------------------------------------------------- <?php /* Don't remove this line. */require('./wp-blog-header.php');?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>your title</title> <link rel="stylesheet" href="style.css" type="text/css" /> (that's whatever the link to your style sheet is) </head> <body> <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?> <?php the_date('',' ',' '); ?> @ <?php the_time() ?> (this is the date and time of your post obviously) <br /> <?php the_content(); ?> (this is your actual post) <br /> <?php wp_link_pages(); ?> (without this... <?php comments_popup_link(__('no comments'), __('1 comment'), __('% comments')); ?> <br /> <?php include(ABSPATH . 'wp-comments.php'); ?> ...and this, your comments won't work. Make sure you leave them in this order) <?php endforeach; else: ?> <p> <?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php endif; ?> </body> </html> |