echo scribe_score_class($content_analysis->scribeScore, 'site');
?>
">
				<?php 
if (empty($content_analysis)) {
    esc_html_e('-', 'scribeseo');
} elseif (isset($content_analysis->scribeScore)) {
    printf('%d', $content_analysis->scribeScore);
} else {
    esc_html_e('N/A', 'scribeseo');
}
?>
				</span>
			</div>
			<span class="scribe-wrap" style="float: left; width: 55%"><?php 
echo wp_kses(scribe_get_content_analyis_site_score_text($content_analysis->scribeScore, $content_analysis->keywords), Scribe_SEO::formatting_allowedtags());
?>
</span>
			<div class="clear"></div>
		</div>
		<p><?php 
printf(esc_html__('Keyword Analysis inspects your page to compare the use of keywords against two metric - the usage of the keyword on your site (Search Metric) and recommended copywriting styles (Copy Styles). The stronger these two metrics, the better your score. To improve the score for a keyword, go to %1$s for more details.', 'scribeseo'), '<a href="' . add_query_arg(array('type' => 'scribe-analysis-keywords', 'tab' => 'scribe-analysis-document')) . '">' . esc_html__('Content Optimizer', 'scribeseo') . '</a>');
?>
</p>

		<div>
			<a class="scribe-tip-marker scribe-show-tip" href="#">+</a>
			<a class="scribe-tip-marker scribe-hide-tip scribe-link-building-tip" href="#">-</a>
			<div class="scribe-link-building-tip">
<p>The four quadrants (A, B, C, and D) show a comparison of how well the keywords Scribe found in your content will perform, based on two metrics:</p>
<?php

$keywordInfo = $info['GetAnalysisResult']['Analysis']['PrimaryKeywords']['KeywordChange']['Description'];
?>
<form>
	<p><?php 
echo wp_kses($keywordInfo, Scribe_SEO::formatting_allowedtags());
?>
</p>
</form>
	<td class="ecordia-middle-cell" >
		<?php 
echo esc_html($section['Name']);
?>
	</td>
	<td class="ecordia-no-pad">
		<ul>
			<?php 
foreach ($section['Items']['SeoScoreSectionItem'] as $sectionItem) {
    ?>
			<li id="<?php 
    echo esc_attr($sectionItem['Id']);
    ?>
" class="<?php 
    echo $sectionItem['IsPassing'] == 'true' ? 'complete' : 'warn';
    ?>
">
				<?php 
    echo wp_kses($sectionItem['Text'], Scribe_SEO::formatting_allowedtags());
    ?>
			</li>
			<?php 
}
?>
		</ul>
	</td>
Beispiel #4
0
						</th>
						<?php 
    }
    ?>
					</tr>
				</tfoot>
				<tbody>
				<?php 
    if (empty($keywords)) {
        ?>
					<tr valign="top">
						<?php 
        if ($previous) {
            ?>
						<td colspan="6"><?php 
            wp_kses(__('You don\'t currently have any saved keyword searches. Please <a class="scribe-thickbox-close" href="#">close this pop up</a> and do some keyword research.', 'scribeseo'), Scribe_SEO::formatting_allowedtags());
            ?>
</td>
						<?php 
        } else {
            ?>
						<td colspan="6"><?php 
            esc_html_e('There are no keyword suggestions available for this keyword.', 'scribeseo');
            ?>
</td>	
						<?php 
        }
        ?>
					</tr>
				<?php 
    } else {
Beispiel #5
0
<div class="wrap">
	<?php 
screen_icon();
?>
	<h2 id="scribe-seo-news-headline">
		<?php 
echo wp_kses(__('SEO News from the best - <a href="http://searchengineland.com">Search Engine Land</a> and <a href="http://www.searchenginejournal.com">Search Engine Journal</a>', 'scribeseo'), Scribe_SEO::formatting_allowedtags());
?>
	</h2>
	
	<?php 
foreach ($feed->get_items() as $item) {
    $creators = $item->get_item_tags(SIMPLEPIE_NAMESPACE_DC_11, 'creator');
    $creator_string = is_array($creators) ? sprintf('<em>by</em> <span class="scribe-seo-news-item-creator">%s</span>', esc_html($creators[0]['data'])) : '';
    $content = $item->get_content();
    $content_formatted = wpautop(substr($content, 0, strpos($content, '<p>')));
    ?>
	<div class="scribe-seo-news-item">
		<h3><a href="<?php 
    echo esc_url($item->get_link());
    ?>
"><?php 
    echo esc_html($item->get_title());
    ?>
</a></h3>
		<p><?php 
    printf('<span class="scribe-seo-news-item-date">%s</span> %s', $item->get_date(get_option('date_format')), $creator_string);
    ?>
</p>
		<?php 
    echo $content_formatted;
            $last = array_pop($primaryKeywords);
            printf(esc_html__('The terms %s, and %s are emphasized within your content and are considered Primary Keywords.', 'scribeseo'), '<strong>' . implode('</strong>, <strong>', $primaryKeywords) . '</strong>', "<strong>{$last}</strong>");
        }
        ?>
					</td>
				<?php 
    } else {
        ?>
				<tr>
					<th scope="row"><strong><?php 
        echo esc_html($keywordDescription['Type']);
        ?>
</strong></th>
					<td>
						<?php 
        echo wp_kses($keywordDescription['Value'], Scribe_SEO::formatting_allowedtags());
        ?>
					</td>
				</tr>
				<?php 
    }
    ?>
			<?php 
}
?>
		</tbody>
	</table>
	<h3><?php 
esc_html_e('Keyword Analysis', 'scribeseo');
?>
</h3>