Title: Building own Theme: Making posts working
Last modified: August 21, 2016

---

# Building own Theme: Making posts working

 *  Resolved [tariqarien](https://wordpress.org/support/users/tariqarien/)
 * (@tariqarien)
 * [12 years ago](https://wordpress.org/support/topic/building-own-theme-making-posts-working/)
 * Just a few hours ago I started building my own wordpress theme out of a plain
   HTML-file. This were going good so far, but now I’m stuck during the creation
   of my blogposts in my index.php.
 * This is the HTML I want to use for my blogpost (dutch language);
 *     ```
       <div class="blog-item">
       <div class="span1">
       <p class="blog-datum">june 2013</p>
       <h2><a href="#">This is a title</a></h2>
       </div>
       <div class="span2">
       <img src="images/blogplaatje1.jpg"/>
       <p>In this line the content of the blogpost will be visible...</p>
       <a href="#" class="blog-leesmeer">Read More...</a>
       </div>
       </div>
       ```
   
 * I’m very with the fact I made the date and title working with this code…;
 *     ```
       <div class="blog-item">
       <div class="span1">
       <p class="blog-datum"><div class="date"><?php the_time( 'M j y' ); ?></div></p>
       <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
       </div>
       ```
   
 * … but sadly enough I’m getting stuck with making featured images, my plain blogpost
   text and re “read More…”-button.
 * I’m suggesting I have to do something with these lines of code;
 *     ```
       <?php the_content(); ?>
       <?php edit_post_link(); ?>
       <?php wp_link_pages(); ?>
       ```
   
 * But I do not know where to put it to make this work. Is there anybody who can
   help me or can provide some useful links with basic info about making this work?
 * I’m posting this topic because I don’t know what keywords I have to search.
 * Many many thanks to everybody who can help me!

Viewing 1 replies (of 1 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years ago](https://wordpress.org/support/topic/building-own-theme-making-posts-working/#post-4882099)
 * please start by reviewing [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
 * you will need to build ‘the loop’ into your template(s); [https://codex.wordpress.org/The_Loop](https://codex.wordpress.org/The_Loop)

Viewing 1 replies (of 1 total)

The topic ‘Building own Theme: Making posts working’ is closed to new replies.

## Tags

 * [blogpost](https://wordpress.org/support/topic-tag/blogpost/)
 * [content](https://wordpress.org/support/topic-tag/content/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [index](https://wordpress.org/support/topic-tag/index/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [working](https://wordpress.org/support/topic-tag/working/)

 * 1 reply
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/building-own-theme-making-posts-working/#post-4882099)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
