Hi,
i replaced the read_main function by the following function:
This way, you can have both code based on a settings page and individual Settings.
Kind regards
Holger
function read_main($atts, $content = null) {
extract(shortcode_atts(array(
'more' => 'READ MORE',
'less' => 'READ LESS'
), $atts));
mt_srand((double)microtime() * 1000000);
$rnum = mt_rand();
$new_string = '<span><a onclick="read_toggle(' . $rnum . ', \'' . get_option('rm_text') . '\', \'' . get_option('rl_text') . '\'); return false;" class="read-link" id="readlink' . $rnum . '" style="readlink" href="#">' . get_option('rm_text') . '</a></span>' . "\n";
$new_string = '<span><a onclick="read_toggle(' . $rnum . ', \'' . (($more == 'READ MORE') ? get_option('rm_text') : $more) . '\', \'' . (($less == 'READ LESS') ? get_option('rl_text') : $less) . '\'); return false;" class="read-link" id="readlink' . $rnum . '" style="readlink" href="#">' . (($more == 'READ MORE') ? get_option('rm_text') : $more) . '</a></span>' . "\n";
$new_string .= '<div class="read_div" id="read' . $rnum . '" style="display: none;">' . do_shortcode($content) . '</div>';
return $new_string;
}