Example #1
0
_e('more>', 'yarpp');
?>
<span><?php 
_e('The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post\'s related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site.', 'yarpp');
?>
</span></a></p>
	
	<table class="form-table" style="margin-top: 0">
		<tbody>
	
<?php 
yarpp_options_textbox('threshold', __('Match threshold:', 'yarpp'));
yarpp_options_importance2('title', __("Titles: ", 'yarpp'), 'word', "<tr valign='top'>\n\t\t\t<th scope='row'>", !$yarpp_myisam ? ' readonly="readonly" disabled="disabled"' : '');
yarpp_options_importance2('body', __("Bodies: ", 'yarpp'), 'word', "<tr valign='top'>\n\t\t\t<th scope='row'>", !$yarpp_myisam ? ' readonly="readonly" disabled="disabled"' : '');
yarpp_options_importance('tags', __("Tags: ", 'yarpp'), 'tag', "<tr valign='top'>\n\t\t\t<th scope='row'>", !$yarpp_twopointfive ? ' readonly="readonly" disabled="disabled"' : '');
yarpp_options_importance('categories', __("Categories: ", 'yarpp'), 'category', "<tr valign='top'>\n\t\t\t<th scope='row'>", !$yarpp_twopointfive ? ' readonly="readonly" disabled="disabled"' : '');
yarpp_options_checkbox('cross_relate', __("Cross-relate posts and pages?", 'yarpp') . " <a href='#' class='info'>" . __('more&gt;', 'yarpp') . "<span>" . __("When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts.", 'yarpp') . "</span></a>");
yarpp_options_checkbox('past_only', __("Show only previous posts?", 'yarpp'));
?>
			</tbody>
		</table>
	</div>
</div>

<script language="javascript">
//<!--
	function template() {
		if (jQuery('.template').eq(0).attr('checked')) {
			jQuery('.templated').show();
			jQuery('.not_templated').hide();
		} else {
Example #2
0
_e('more&gt;', 'yarpp');
?>
<span><?php 
_e('The higher the match threshold, the more restrictive, and you get less related posts overall. The default match threshold is 5. If you want to find an appropriate match threshhold, take a look at some post\'s related posts display and their scores. You can see what kinds of related posts are being picked up and with what kind of match scores, and determine an appropriate threshold for your site.', 'yarpp');
?>
</span></a></p>

	<table class="form-table" style="margin-top: 0">
		<tbody>

<?php 
yarpp_options_textbox('threshold', __('Match threshold:', 'yarpp'));
yarpp_options_importance2('title', __("Titles: ", 'yarpp'), 'word', "<tr valign='top'>\n\t\t\t<th scope='row'>", !$yarpp_myisam ? ' readonly="readonly" disabled="disabled"' : '');
yarpp_options_importance2('body', __("Bodies: ", 'yarpp'), 'word', "<tr valign='top'>\n\t\t\t<th scope='row'>", !$yarpp_myisam ? ' readonly="readonly" disabled="disabled"' : '');
yarpp_options_importance('tags', __("Tags: ", 'yarpp'), 'tag', "<tr valign='top'>\n\t\t\t<th scope='row'>", '');
yarpp_options_importance('categories', __("Categories: ", 'yarpp'), 'category', "<tr valign='top'>\n\t\t\t<th scope='row'>", '');
yarpp_options_checkbox('cross_relate', __("Cross-relate posts and pages?", 'yarpp') . " <a href='#' class='info'>" . __('more&gt;', 'yarpp') . "<span>" . __("When the \"Cross-relate posts and pages\" option is selected, the <code>related_posts()</code>, <code>related_pages()</code>, and <code>related_entries()</code> all will give the same output, returning both related pages and posts.", 'yarpp') . "</span></a>");
yarpp_options_checkbox('past_only', __("Show only previous posts?", 'yarpp'));
?>
			</tbody>
		</table>
	</div>
</div>

<script language="javascript">
//<!--
	function template() {
		if (jQuery('.template').eq(0).attr('checked')) {
			jQuery('.templated').show();
			jQuery('.not_templated').hide();
		} else {