Jump to content

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.




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!






Link to comment
Share on other sites

  • 1 year later...

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"





<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(); ?>



<div class="canvas">

<div class="header">

<h1><?php bloginfo('name');?></h1>

<h2> <?php bloginfo('description'); ?></h2>


<div class="content">

<?php if ( have_post() ) : ?>

<?php while ( have_post()) : the_post(); ?>

<div class="post">


<a href="<?php the_permalink(); ?>">

<?php the_title();?>



<h2><?php the_author();?></h2>


<?php the_content('Read more...');?>



<?php endwhile;?>




<h2> Not Found</h2>


sorry I can't find what you're looking for.









Link to comment
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.)

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...