That was brilliant. Thanks for pointing me in the right direction.
I didn’t know that there was such a thing as custom fields in WordPress. I just had to pull it down from the screen options menu in the dashboard and then add the price there.
Then I just added the class “post-meta” to the div and used this code in the template:
<?php the_meta(); ?>
Thanks a lot again.
Oh, sorry for a poor explanation. The div is at the end of the post and does not show up on the excerpt on homepage. My question really was that how can i fetch the div from the post and display it on the homepage. (Then I will float it beside the title.)
I think this is possible via jquery or PHP.