Catalogo Ishtar

All Post Meta

[insert_php]

$args = array(
‘numberposts’ => -1
);

$post_ids = get_posts (
array (
$args,
‘posts_per_page’=> -1,
‘fields’ => ‘ids’,
‘orderby’ => ‘ID’,
‘order’ => ‘ASC’
)
);

print(“

“);

foreach ($post_ids as $singlePostId) {
print(“

“);

echo “

\n”;

$metadati = get_post_meta( $singlePostId, ”, true );

echo “

\n”;

print(“

“);
}

print(“

ID: $singlePostId “.print_r($metadati).”

“);

[/insert_php]