The following code allows me to display the post TITLE and content fine, but the content is not displaying as I see it on POST EDITOR.
Here's the webpage where the PHP is rendered: http://queridas.com.ar/sandbox/reflexion/entrevistas/
Here's the PHP code:
<?php $post_id = 2292; // Define the ID of the page $queriedPost = get_post($post_id); // Load contents of the page $field_contents = get_post_meta($queriedPost->ID, $field_slug, true); // Load the contents of the custom field $post_object = get_post( $post_id ); echo '<h3>' . $queriedPost->post_title . '</h3>'; echo $post_object->post_content; ?>
And here's the post itself: http://queridas.com.ar/sandbox/2017/11/27/la-maternidad-es-una-carcel/
So, how can I use this PHP code with the style that my end-users use? I can't have them edit the code and include
tags, for example. Well... I could, but then again......
Thanks so much!