Using Split Posts With More Tag
-
Hi, I’m currently using the following code in my index.php file to abbreviate posts in blog index view.
<?php if(is_single()) {
the_content();
} else {
the_excerpt();
} ?>I would however like to make use of the “Split Posts With More Tag” option which requires this code:
<?php the_content(__('(more...)')); ?>
How can I combine the two? As my simplistic php code doesn’t work ??
<?php if(is_single()) {
the_content(__('(more...)'));
} else {
the_excerpt(__('(more...)'));
} ?>Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using Split Posts With More Tag’ is closed to new replies.