Dear @luxbob.
Thanks for sharing your issues.
You have to change the code a bit if you want to have the full length of the post to be shown in the index pages + archive pages. Use a ftp program to view the theme’s files.
Find the folder “template-parts” and inside this folder open the following files into your preffered editor.
- content-archive.php
- content-author.php
- content-category.php
- content-index.php
- content-search.php
- content-tag.php
Find the line: 51 (well approximately) and you will see the following code:
<?php the_excerpt(); ?>
Turn this code to
<?php the_content();?>
Also to each and every file find and remove the following code chunk:
<div class="post-read-more clearfix">
<a class="read-more-btn" href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php echo esc_html(__( 'Read More', 'spectrumstarter' )); ?>
</a>
</div>
For the second issue:
To each and every file you have opened before, and also the content-single.php
find the following code chunk approx line 27:
<div class="post-meta">
<time class="post-date">
<?php echo date_i18n(get_option( 'date_format' ) ); ?>
</time><!-- .post-date ends here-->
<span class="post-comments">
<?php printf( _nx( '%1$s Comment', '%1$s Comments', get_comments_number(), 'comments title', 'spectrumstarter' ), number_format_i18n( get_comments_number() ) ); ?>
</span><!-- .post-comments end here -->
<span class="post-author">
<?php echo esc_html(__( 'Written by ', 'spectrumstarter' )); ?><?php the_author_posts_link(); ?>
</span><!-- .post-author ends here -->
<div class="post-categories uk-float-right">
<?php echo get_the_category_list( ',', '', get_the_ID() ); ?>
<a href="#" title="<?php echo esc_attr_e( 'View posts from this category', 'spectrumstarter' ); ?>" class="post-category">
</a>
</div><!-- .post-categories ends here -->
</div>
Turn that chunk to the following:
<div class="post-meta">
<time class="post-date">
<?php echo date_i18n(get_option( 'date_format' ) ); ?>
</time><!-- .post-date ends here-->
</div>
I hope I have solved your issues.
Thread Starter
luxbob
(@luxbob)
Thanks so much for this solution. It perfectly worked.
Thanks!!!