jodygrenier Posted August 4, 2010 Report Share Posted August 4, 2010 In this video tutorial from our course Wordpress Themes From Scratch, we learn how Wordpress deals with older and newer entries. http://www.youtube.com/watch?v=tYwk7FFruGA To find more courses on Wordpress, check them out in the KillerSites University! Note that the all of our videos are in a higher quality when purchased or found in the Killersites University! Thanks, Jody killersites.com Quote Link to comment Share on other sites More sharing options...
arriveonline Posted August 5, 2011 Report Share Posted August 5, 2011 I tried following the tutorial for building a wordpress theme from scratch but i cannot see the post when i view it in localhost using mammp on a mac. In the video before the top level navigation...there are supposed to be boxes showing my post.. i have added the post in the admin backend of wordpress as instructed yet i do not see them..all i see is the header and tagline but no post...pls help...if u can... Here is everything i did step by step following the video so far... what i'm i missing? <!DOCTYPE html PUBIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <link rel="alternate" type="application/rss+xml" title= <?php bloginfo('name');?> RSS Feed" href="<?php bloginfo('rss2_url');?>"/> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"type="text/css"/> <?php wp_head(); ?> </head> <body> <div class="canvas"> <div class="header"> <h1><?php bloginfo('name');?></h1> <h2> <?php bloginfo('description'); ?></h2> </div> <div class="content"> <?php if ( have_post() ) : ?> <?php while ( have_post()) : the_post(); ?> <div class="post"> <h1> <a href="<?php the_permalink(); ?>"> <?php the_title();?> </a> </h1> <h2><?php the_author();?></h2> <p> <?php the_content('Read more...');?> </p> </div> <?php endwhile;?> <?php else: ?> <h2> Not Found</h2> <p> sorry I can't find what you're looking for. </p> <?php endif; ?> </div> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 5, 2011 Report Share Posted August 5, 2011 What file within the theme folder is this code in? I'm assuming you are currently getting a "not found" message when viewing the page? Are you sure that you have added the post correctly? You have added a post within the "Post" category of the admin, and you have published that post (because there can be draft posts that don't show up on the front end of the site until you publish them.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.