Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elbee Changes
Change this
-----------
<div class="itemtext">
<?php
if ( is_archive() or is_search() or is_tag() ) {
the_excerpt();
echo "< a href=\"";
the_permalink();
echo "\">Continue reading '" . the_title('', '', false) . "'</a>";
} else {
the_content('Continue reading'. " '" . the_title('', '', false) . "'");
wp_link_pages( array( 'before' => '<div class="post-pagination">Pages: ', 'after' => '</div>', 'next_or_number' => 'number'));
}
?>
</div>
To this
--------
<div class="itemtext">
<?php
the_content('Continue reading'. " '" . the_title('', '', false) . "'");
wp_link_pages( array( 'before' => '<div class="post-pagination">Pages: ', 'after' => '</div>', 'next_or_number' => 'number'));
?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.