Skip to content

Instantly share code, notes, and snippets.

@zamoose
Created March 7, 2013 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zamoose/ac8ed5b06c8bfdf3aee7 to your computer and use it in GitHub Desktop.
Save zamoose/ac8ed5b06c8bfdf3aee7 to your computer and use it in GitHub Desktop.
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