Okay thanks for the explanation. Here’s a change you could make to the hidepost.php
script to do that:
change (starting at line 97 in version 2.3.6):
function hidepost_filter_post($content) {
global $m_id, $hidepost_hide_link, $hidepost_hide_content;
hidepost_replace_pattern();
//Protect the link
if ($hidepost_hide_link == 1) {
$m_id = -1;//Magic ^.^
$content = preg_replace('#\<a(.*?)\>(.*?)\</a\>#sie','hidepost_replace_link($content)',$content);
}
//Protect content
to
function hidepost_filter_post($content) {
global $post, $m_id, $hidepost_hide_link, $hidepost_hide_content;
hidepost_replace_pattern();
//Protect the link
if ($hidepost_hide_link == 1) {
if ($post->ID != 224 && $post->ID !=73) {
$m_id = -1;//Magic ^.^
$content = preg_replace('#\<a(.*?)\>(.*?)\</a\>#sie','hidepost_replace_link($content)',$content);
}
}
//Protect content
This line ($post->ID != 224 && $post->ID !=73)
is excluding post IDs 224 and 73 from being LINK PROTECTED.
Please note, changes to that script will be ‘lost’ when you upgrade that plugin in the future.