wordpress, blogging website help! |
wordpress, blogging website help! |
![]()
Post
#1
|
|
![]() kristie ![]() ![]() ![]() ![]() Group: Member Posts: 136 Joined: Jul 2004 Member No: 27,246 ![]() |
hey. does anyone know how to work wordpress and is willing to teach me step by step? someone can pm me with their sn if they are willing to =)
|
|
|
![]() |
![]()
Post
#2
|
|
![]() when we speak, we breathe ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,635 Joined: Jan 2005 Member No: 91,760 ![]() |
Well, php functions basically means that you can have different files in a seperate page, ie: This is essential (and amazing) for sites that have alot of pages and would take ages to edit seperately, but with includes, you would only have to edit two pages (header/footer) and your news.php (or any .php you had in the middle) could just contain whatever text you wanted to be in there. The only time you'd ever have to edit it, is to just change the content in it, not the coding, etc.
CODE <?php include("header.php"); ?> <?php include("news.php"); ?> <?php include("footer.php"); ?> Your header.php would be obviously, the head of your page, which might include stylesheet, and whatever html you have before your "news.php" page. Footer.php would be any html/css/etc that would be under your "news.php." news.php would, for example, be your blog that is posted by wordpress. Essentially that would mean you could leave your template in plaintext, because your header would automatically override your news.php with the css found in the header.php. |
|
|
![]() ![]() |