html - How to display blog post in wordpress? -


I have a WordPress theme "hatch", and I'm doing it for my photography. I usually do website with HTML / CSS (in Dreamweaver) and this is the first time Wordpress is doing.

In my homepage, you can see recent posts as thumbnails. I'm thinking of creating a new menu, called 'blog', basically just like normal topics, blogs Displaying the post. It can be a bit easier, but I did not find the code to display the posts as a normal display.

Website lizettephotography.com

Thanksgiving!

Liz

No need of code Create new category "blog" Add the category to your main menu.

Then add a new post to the blog category. Clicking the Blog menu link will show all the posts in the blog category.

You need to format the post design.

Edit:

In order to activate the post formats, in WordPress 3.1+, you will have to open your theme, the functions.php file and paste the following code :

  add_theme_support ('post-format', array ('one side', 'gallery'));   

Note: On the one hand, and the gallery are not available post formats only, the available list of post formats is as follows:

On one side "Typically styled blog Format.

Chat a chat ?? a chat transcript.

A gallery of gallery images.

link on another site Link.

Image is a single image.

Quote ??? a quote.

Status A ???? A small status update, usually 140 characters Is limited to Twitter. Similar to the date update.

Video is a single video.

For a full list of post formats, see the WordPress codecs. Once you add this code, you write your post

After writing a post, you can change the format and publish it. This will show you your post in pre-style format. Allow to do

Edit your post loop.

Assume that in your case the blog category format is asid

we are conditional Tags are going to be used: has_post_format ()

  if (has_post_format ('aside') {// blog category format} else {// general format}   

I hope this will help you.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -