views:

154

answers:

2

I seem to have somehow messed up when wordpress calls the post class. I looked in "Main Index Template" but that just says "<div <?php post_class() ?> id="post-<?php the_ID(); ?>">" So I don't know what to do.

A: 

Do you mean the id's and class name not printing out on the front end?

Add an echo like the example below so that the id and class is printed out.

<div <?php echo post_class() ?> id="post-<?php echo the_ID(); ?>">
Dhana
A: 

You need to give more information but If something has gone wrong because of you editing the files then I would suggest you to replace the file from www.wordpress.org.

If it is s theme file then replace the theme.

Shoban