Skip to content
Permalink
Browse files

Converted entities to their equivalent characters

  • Loading branch information...
splorp committed Sep 13, 2019
1 parent 710e56d commit 150934f7f4c7e827cd53f1d4a7faec9a5c8df7cc
Showing with 28 additions and 28 deletions.
  1. +2 −2 404.php
  2. +7 −7 archive.php
  3. +2 −2 category.php
  4. +1 −1 comments.php
  5. +2 −2 functions.php
  6. +1 −1 image.php
  7. +3 −3 index.php
  8. +4 −4 search.php
  9. +3 −3 sidebar.php
  10. +1 −1 single.php
  11. +2 −2 tag.php
@@ -49,11 +49,11 @@
<?php } else { ?>

<h2>Not found.</h2>
<p>Sorry, you seem to be looking for something that simply isn&#8217;t here.</p>
<p>Sorry, you seem to be looking for something that simply isnt here.</p>

<?php } ?>

</section>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php get_footer(); ?>
@@ -10,9 +10,9 @@
<section id="content">
<?php if (have_posts()) :
if (is_category()) { ?>
<h2>Category: &#8220;<?php single_cat_title(); ?>&#8221; category</h2>
<h2>Category: <?php single_cat_title(); ?> category</h2>
<?php } elseif( is_tag() ) { ?>
<h2>Tag: &#8220;<?php single_tag_title(); ?>&#8221;</h2>
<h2>Tag: <?php single_tag_title(); ?></h2>
<?php } elseif (is_day()) { ?>
<h2>Archive: <?php the_time('F jS, Y'); ?></h2>
<?php } elseif (is_month()) { ?>
@@ -29,9 +29,9 @@

<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<p class="published" title="<?php the_time('c') ?>"><?php the_time(get_option('date_format')); ?></p>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to &#8220;<?php the_title_attribute(); ?>&#8221;"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit', '<p>', '</p>'); ?>
</article>

@@ -43,12 +43,12 @@

<?php else :
if ( is_category() ) {
printf("<h2>Sorry, but there aren&#8217;t any posts in the %s category yet.</h2>", single_cat_title('',false));
printf("<h2>Sorry, but there arent any posts in the %s category yet.</h2>", single_cat_title('',false));
} elseif ( is_date() ) {
echo("<h2>Sorry, but there aren&#8217;t any posts with this date.</h2>");
echo("<h2>Sorry, but there arent any posts with this date.</h2>");
} elseif ( is_author() ) {
$userdata = get_userdatabylogin(get_query_var('author_name'));
printf("<h2>Sorry, but there aren&#8217;t any posts by %s yet.</h2>", $userdata->display_name);
printf("<h2>Sorry, but there arent any posts by %s yet.</h2>", $userdata->display_name);
} else {
echo("<h2>Sorry, no posts found.</h2>");
}
@@ -32,9 +32,9 @@

<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<p class="published" title="<?php the_time('c') ?>"><?php the_time(get_option('date_format')); ?></p>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to &#8220;<?php the_title_attribute(); ?>&#8221;"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit','<p>','</p>'); ?>
</article>

@@ -14,7 +14,7 @@
}
if ( have_comments() ) : ?>
<h3><?php comments_number('No Comments', 'One comment', '% comments' );?> on &#8220;<?php the_title(); ?>&#8221;</h3>
<h3><?php comments_number('No Comments', 'One comment', '% comments' );?> on <?php the_title(); ?></h3>

<ol>
<?php wp_list_comments('type=comment&callback=tersus_comment'); ?>
@@ -652,7 +652,7 @@ function tersus_excerpt_more($more) {
global $post;
$t = get_post($post->ID);
$title = $t->post_title;
return ' &#8230; <a href="' . get_permalink($post->ID) . '" title="Read the rest of &#8220;' . $title . '&#8221;">Read the rest of this item</a>';
return ' <a href="' . get_permalink($post->ID) . '" title="Read the rest of ' . $title . '">Read the rest of this item</a>';
}
add_filter('excerpt_more', 'tersus_excerpt_more');
@@ -690,7 +690,7 @@ function tersus_title( $title, $sep ) {
// Add pretty search terms
if ( is_search() )
$title = 'Search Results ' . "$sep " . '&#8220;' . get_search_query() . '&#8221;' . " $sep " . get_bloginfo( 'name' );
$title = 'Search Results ' . "$sep " . '' . get_search_query() . '' . " $sep " . get_bloginfo( 'name' );
// Add a page number if necessary
if ( $paged >= 2 || $page >= 2 )
@@ -25,7 +25,7 @@
the_content();
?>

<p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site"><?php the_author_meta('display_name'); ?></a></cite></span> in <a href="<?php echo get_permalink($post->post_parent); ?>" title="View the gallery"><?php echo get_the_title($post->post_parent); ?></a>.</p>
<p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site"><?php the_author_meta('display_name'); ?></a></cite></span> in <a href="<?php echo get_permalink($post->post_parent); ?>" title="View the gallery"><?php echo get_the_title($post->post_parent); ?></a>.</p>

<?php the_taxonomies(); ?>

@@ -16,7 +16,7 @@

<?php if(!has_post_format('aside') && !has_post_format('image')) { ?>
<p class="published" title="<?php the_time('c') ?>"><?php the_time(get_option('date_format')); ?></p>
<h2 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to &#8220;<?php the_title_attribute(); ?>&#8221;"><?php the_title(); ?></a></h2>
<h2 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

<?php }
the_content();
@@ -25,7 +25,7 @@
<h6>Author</h6>
<p class="vcard author">
<cite class="fn">
<a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site">
<a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site">
<?php the_author_meta('display_name'); ?>
</a>
</cite>
@@ -51,7 +51,7 @@
<?php else : ?>

<h2>Not found.</h2>
<p>Sorry, you seem to be looking for something that simply isn&#8217;t here.</p>
<p>Sorry, you seem to be looking for something that simply isnt here.</p>

<?php endif; ?>
</section>
@@ -10,15 +10,15 @@
<section id="content">
<?php if (have_posts()) : ?>

<h2>Search: &#8220;<span><?php the_search_query(); ?></span>&#8221;</h2>
<h2>Search: <span><?php the_search_query(); ?></span></h2>

<?php while (have_posts()) : the_post(); ?>

<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<p class="published" title="<?php the_time('c') ?>"><?php the_time(get_option('date_format')); ?></p>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to &#8220;<?php the_title_attribute(); ?>&#8221;"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit', '<p>', '</p>'); ?>
</article>

@@ -31,7 +31,7 @@
<?php else : ?>

<h2>Not found.</h2>
<p>Sorry, you seem to be looking for something that simply isn&#8217;t here.</p>
<p>Sorry, you seem to be looking for something that simply isnt here.</p>

<?php endif; ?>
</section>
@@ -24,10 +24,10 @@
<?php if (is_404()) { ?>

<?php } elseif (is_category()) { ?>
<p>You are browsing the <strong>&#8220;<?php single_cat_title(''); ?>&#8221;</strong> category archive.</p>
<p>You are browsing the <strong><?php single_cat_title(''); ?></strong> category archive.</p>

<?php } elseif (is_tag()) { ?>
<p>You are browsing the <strong>&#8220;<?php single_tag_title(''); ?>&#8221;</strong> tag archive.</p>
<p>You are browsing the <strong><?php single_tag_title(''); ?></strong> tag archive.</p>

<?php } elseif (is_day()) { ?>
<p>You are browsing the <strong><?php the_time('l, F jS, Y'); ?></strong> archive.</p>
@@ -39,7 +39,7 @@
<p>You are browsing the <strong><?php the_time('Y'); ?></strong> archive.</p>

<?php } elseif (is_search()) { ?>
<p>You are browsing the search results for <strong>&#8220;<?php the_search_query(); ?>&#8221;</strong>.</p>
<p>You are browsing the search results for <strong><?php the_search_query(); ?></strong>.</p>

<?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p>You are browsing the archive.</p>
@@ -16,7 +16,7 @@
<h2 class="entry-title"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></h2>
<?php the_content(); ?>
<?php wp_link_pages(array('before' => '<p>Pages: ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<p>This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>

<?php if (has_tag()) echo '<p>Tags:</p>'; the_tags('<ul><li>','</li><li>','</li></ul>'); ?>

@@ -26,9 +26,9 @@

<article <?php post_class() ?> id="post-<?php the_ID(); ?>">
<p class="published" title="<?php the_time('c') ?>"><?php the_time(get_option('date_format')); ?></p>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to &#8220;<?php the_title_attribute(); ?>&#8221;"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<h3 class="entry-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent link to <?php the_title_attribute(); ?>"><?php if(the_title( '', '', false ) !='') the_title(); else echo 'Untitled';?></a></h3>
<?php the_excerpt(); ?>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the author&#8217;s site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<p class="meta">This item was posted by <span class="vcard author"><cite class="fn"><a class="url" href="<?php the_author_meta('user_url') ?>" title="Visit the authors site"><?php the_author_meta('display_name'); ?></a></cite></span>.</p>
<?php edit_post_link('Edit','<p>','</p>'); ?>
</article>

0 comments on commit 150934f

Please sign in to comment.
You can’t perform that action at this time.