Solution 1:
You might want to use the WordPress function get_extended()
.
What it does:
1. Returns an array containing the post content split into:
‘main’ → content before the tag
‘extended’ → content after the tag
Example:
<?php
$extended = get_extended( get_the_content() );
echo $extended['main']; // Content before <!--more-->
echo $extended['extended']; // Content after <!--more-->
?>
This is useful when you want to separate the excerpt from the remaining post content.