tags:

views:

78

answers:

2

I want to retrieve url to last post image with get_post_meta method, but I don't know how, and what paramaters are needed.

A: 

Well, I don't know either but this is the first result for googling wordpress get_post_meta: http://codex.wordpress.org/Function_Reference/get_post_meta

Usage:
<?php $meta_values = get_post_meta($post_id, $key, $single); ?>

Felix Kling
+1  A: 

Basically get_post_meta inside Wordpress allows you to obtain custom values from custom fields that you have placed in a specific post. Perhaps you have a vote box, or a mood box that users can place information inside. get_post_meta lets you obtain those stored values from inside the Wordpress system.

get_post_meta lets you utilize the custom fields functionality of Wordpress:

http://codex.wordpress.org/Custom_Fields

Here are some examples of the usage of get_post_meta inside Wordpress:

http://codex.wordpress.org/Function_Reference/post_meta_Function_Examples

Urda