In the following code:<?php echo "codice alloggio: ",get_the_ID(), colormag_entry_meta(); ?>
How could I add metadata values after get_the-ID? In particular I'd like to call the value of the meta key"function_number", you can see this meta also in this code:
update_post_meta( $post_id, "function_number", $number );
In my functions.php file
update_post_meta( $post_id, "function_number", $number );
? That'sget_post_meta( $post_id, "function_number" )
. Else I'm not sure what you're asking. What is colormag_entry_meta() ? Is that from a plugin, or your theme?