-
-
Save zamoose/ac8ed5b06c8bfdf3aee7 to your computer and use it in GitHub Desktop.
Elbee Changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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