Jump to content
Killersites Community
jodygrenier

How Wordpress Deals with Posts Training Video

Recommended Posts

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

Share this post


Link to post
Share on other sites

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>

Share this post


Link to post
Share on other sites

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.)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×