• I am trying to load the content of a specific post (532) to another page. I am using the code below, but it is showing the whole of the content and not just what is above the <!–more–> tag.
    Some advice urgently needed please.

    <?php
    $id=532;
    $post = get_post($id);
    global $more;
    $more = 0;
    echo apply_filters(‘the_content’, $post->post_content);
    ?>

  • The topic ‘get post content ignoring more tag’ is closed to new replies.