Show protected posts intro
Since WordPress, this “hack” is not possible anymore since code lines are not the same.
$output = get_the_password_form();
Replaced it with this:
$content = $pages[$page-1];
$content = explode(‘<!–more–>’, $content, 2);
$output = “”;
$output .= $content;
$output .= get_the_password_form();
I wonder if somebody can “update” the trick… 😉
- The topic ‘Show protected posts intro’ is closed to new replies.