Wordpress meta data is written on top of page instead of the loop

Posted by Fruxelot on Stack Overflow See other posts from Stack Overflow or by Fruxelot
Published on 2012-06-23T15:10:17Z Indexed on 2012/06/23 15:16 UTC
Read the original article Hit count: 164

Filed under:
|
|

i'm building a wordpress webpage based on the Skeleton Wordpress theme.

I have 2 posts showing on a page and each of these posts have custom fields values (meta data). Im using the shortcode from the skeleton theme to get a post-feed from a specific category and in that loop i have inserted this tag that displays the custom fields data

<?php the_meta(); ?>

I am getting the data - but the problem is, the data is shown on TOP of the page instead of inside the in the post.

What could've ive possibly done wrong? or is it something with skeleton i am doing wrong?

Webpage : http://visbyfangelse.se.preview.binero.se/rum-priser-preview/

as you can see two posts are shown - and the meta data is shown on the top of the page.

Code to the loop : http://pastebin.com/mRQY5GNz As you can see i want the meta displayed in the div which i assigned this class to "my_room_meta".

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about metadata